Query and manage GitHub repositories directly from your AI assistant.
CapabilityDescriptionlist_reposList your repositories with filtersget_repoGet detailed info about a specific repocheck_ci_statusCheck CI/CD pipeline statuscreate_issueCreate a new issue in a repocreate_repoCreate a new repositorysearch_reposSearch your repositoriesget_recent_activityGet recent commits
text
You: List my Python repos
Bot: [lists your Python repositories]
You: Check CI status on my main project
Bot: [shows CI/CD status]
You: Create an issue about the bug
Bot: [creates the issue]
openclaw-github-skillrepo (required), read:user (optional)Option A: Environment Variables (Recommended)
Set environment variables before starting OpenClaw:
bash
export GITHUB_TOKEN="ghp_your_token_here"
export GITHUB_USERNAME="your_github_username"
Option B: OpenClaw Config
Add to ~/.openclaw/openclaw.json:
json
{
"github": {
"token": "ghp_your_token_here",
"username": "your_username"
}
}
bash
openclaw gateway restart
⚠️ Protect Your Token:
repo for private repos, public_repo for public-only)⚠️ Best Practices: