Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install openclaw-github-assistant或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install openclaw-github-assistant⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/openclaw-github-assistant/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: github description: Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity. metadata: openclaw: emoji: "🐙" requires: env: - GITHUB_TOKEN - GITHUB_USERNAME config: - github.token - github.username ---
Query and manage GitHub repositories directly from your AI assistant.
| 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 |
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:
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"
}
}
openclaw gateway restart
⚠️ Protect Your Token:
repo for private repos, public_repo for public-only)⚠️ Best Practices:
安装 OpenClaw GitHub Assistant 后,可以对 AI 说这些话来触发它
Help me get started with OpenClaw GitHub Assistant
Explains what OpenClaw GitHub Assistant does, walks through the setup, and runs a quick demo based on your current project
Use OpenClaw GitHub Assistant to query and manage GitHub repositories - list repos, check CI status,...
Invokes OpenClaw GitHub Assistant with the right parameters and returns the result directly in the conversation
What can I do with OpenClaw GitHub Assistant in my developer & devops workflow?
Lists the top use cases for OpenClaw GitHub Assistant, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/openclaw-github-assistant/ 目录(个人级,所有项目可用),或 .claude/skills/openclaw-github-assistant/(项目级)。重启 AI 客户端后,用 /openclaw-github-assistant 主动调用,或让 AI 根据上下文自动发现并使用。
OpenClaw GitHub Assistant 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
OpenClaw GitHub Assistant 可免费安装使用。请查阅仓库了解许可证信息。
Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity.
OpenClaw GitHub Assistant 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using OpenClaw GitHub Assistant
Identifies repetitive steps in your workflow and sets up OpenClaw GitHub Assistant to handle them automatically