OpenClaw GitHub Assistant
Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity.
conorkenn
@conorkenn
What This Skill Does
Queries and manages GitHub repositories directly from an AI assistant. Supports listing repos, checking CI status, creating issues, searching repos, and viewing recent activity.
Replaces manually navigating the GitHub web interface or writing custom API scripts for common repository management tasks.
When to Use It
- List all your Python repositories with a single command
- Check the CI/CD pipeline status on your main project
- Create a new issue in a repository from a conversation
- Search your repositories by name or description
- View recent commits across your repositories
Install
$ openclaw skills install @conorkenn/openclaw-github-assistantGitHub Integration Skill
Query and manage GitHub repositories directly from your AI assistant.
Capabilities
| Capability | Description |
|---|---|
list_repos | List your repositories with filters |
get_repo | Get detailed info about a specific repo |
check_ci_status | Check CI/CD pipeline status |
create_issue | Create a new issue in a repo |
create_repo | Create a new repository |
search_repos | Search your repositories |
get_recent_activity | Get recent commits |
Usage
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]
Setup
1. Generate GitHub Personal Access Token
- Go to https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Name:
openclaw-github-skill - Scopes:
repo(required),read:user(optional) - Copy the token
2. Configure Credentials
Option A: Environment Variables (Recommended)
Set environment variables before starting OpenClaw:
export GITHUB_TOKEN="ghp_your_token_here"
export GITHUB_USERNAME="your_github_username"
Option B: OpenClaw Config
Add to ~/.openclaw/openclaw.json:
{
"github": {
"token": "ghp_your_token_here",
"username": "your_username"
}
}
3. Restart OpenClaw
openclaw gateway restart
Security Notes
⚠️ Protect Your Token:
- Never commit your token to git or share it publicly
- Use the minimal required scopes (
repofor private repos,public_repofor public-only) - Rotate your token if you suspect it was compromised
- Consider using a secrets manager for production use
⚠️ Best Practices:
- Don't store tokens in shell profiles (~/.zshrc) on shared machines
- For local development, environment variables are acceptable
- For production, use your platform's secret/credential store
Rate Limits
- Unauthenticated requests: 60/hour
- Authenticated requests: 5,000/hour
Requirements
- OpenClaw gateway running
- GitHub Personal Access Token with appropriate scopes
Related skills
GitHub
@byungkyuGitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users. Use this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows. For other third party apps, use the api-gateway skill (
Github Cli
@tag-assistantComprehensive GitHub CLI (gh) reference. Covers repos, issues, PRs, Actions, releases, gists, search, projects v2, API, secrets/variables, labels, codespaces...
Github
@steipeteInteract with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Linear
@byungkyuLinear API integration with managed OAuth. Query and manage issues, projects, teams, cycles, and labels using GraphQL. Use this skill when users want to create, update, or query Linear issues, search for tasks, manage projects, or track work. For other third party apps, use the api-gateway skill (ht
Polymarket
@mvanhornQuery and trade on Polymarket prediction markets — check odds, trending markets, search events, view order books, place trades, and manage positions. Now ava...
GitHub
@hith3shWork with GitHub repositories, issues, pull requests, commits, branches, releases, and workflows via the GitHub REST and GraphQL APIs. Use this skill when us...