github-helper
/install github-helper
GitHub Helper
Overview
管理本地 GitHub 仓库目录,维护可检索知识库,并为仓库检索、克隆、Issue/PR 跟踪提供统一流程。
Local Repository Directory
Default path: /Users/liuchen/Documents/github
This path is referenced in the knowledge base file: @/Users/liuchen/Documents/github/CLAUDE.md
Core Workflows
1. Initialize or Update Knowledge Base
When first using this skill or when user requests an update:
- Check if the github directory exists.
- If not found, ask user for the correct path.
- Scan the directory using
scripts/scan_repos.py. - Update CLAUDE.md using
scripts/update_kb.py.
Example:
# Scan repositories
python3 scripts/scan_repos.py /Users/liuchen/Documents/github
# Update knowledge base (pass repos as JSON)
python3 scripts/update_kb.py /Users/liuchen/Documents/github '[{"name":"repo1","path":"/path","summary":"desc"}]'
2. Search for Repository
When user mentions a repository name:
- Check local first: Read
@/Users/liuchen/Documents/github/CLAUDE.md. - If found locally: Use local path to analyze and answer.
- If not found: Search GitHub using
ghor GitHub MCP tools. - Offer to download: Ask user whether to clone.
3. Download Repository
When user requests to download/clone:
- Clone to the github directory:
cd /Users/liuchen/Documents/github git clone \x3Crepo-url> - After successful clone, update knowledge base:
- Run
scripts/scan_repos.pyto get repo info. - Run
scripts/update_kb.pyto update CLAUDE.md.
- Run
4. GitHub Search Integration
Use gh CLI first, then fall back to GitHub MCP:
Search repositories
gh search repos \x3Cquery> --limit 10
Search issues
gh issue list --repo \x3Cowner/repo> --state all --limit 20
Search PRs
gh pr list --repo \x3Cowner/repo> --state all --limit 20
Answering Repository Questions
- Check whether repository exists in local knowledge base.
- If local, prioritize local code inspection.
- If information is insufficient, query GitHub issues/PRs/releases.
Directory Validation
If /Users/liuchen/Documents/github does not exist:
- Ask user for the correct repository root path.
- Update this SKILL.md path if needed.
- Initialize knowledge base at the new location.
Scripts
scan_repos.py: Scan local repositories and extract summaries.update_kb.py: UpdateCLAUDE.mdwith repository metadata.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install github-helper - 安装完成后,直接呼叫该 Skill 的名称或使用
/github-helper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
github-helper 是什么?
Local GitHub repository helper for search, clone, sync, and issue/PR inspection workflows. Use when users mention github/repo/repository, ask to download or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 530 次。
如何安装 github-helper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-helper」即可一键安装,无需额外配置。
github-helper 是免费的吗?
是的,github-helper 完全免费(开源免费),可自由下载、安装和使用。
github-helper 支持哪些平台?
github-helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 github-helper?
由 dandandujie(@dandandujie)开发并维护,当前版本 v1.0.0。