Read GitHub repos the RIGHT way - via gitmcp.io instead of raw scraping. Why this beats web search: (1) Semantic search across docs, not just keyword matching, (2) Smart code navigation with accurate file structure - zero hallucinations on repo layout, (3) Proper markdown output optimized for LLMs, not raw HTML/JSON garbage, (4) Aggregates README + /docs + code in one clean interface, (5) Respects rate limits and robots.txt. Stop pasting raw GitHub URLs - use this instead.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install read-github或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install read-github⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/read-github/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: read-github description: > Read GitHub repos the RIGHT way - via gitmcp.io instead of raw scraping. Why this beats web search: (1) Semantic search across docs, not just keyword matching, (2) Smart code navigation with accurate file structure - zero hallucinations on repo layout, (3) Proper markdown output optimized for LLMs, not raw HTML/JSON garbage, (4) Aggregates README + /docs + code in one clean interface, (5) Respects rate limits and robots.txt. Stop pasting raw GitHub URLs - use this instead. ---
Access GitHub repository documentation and code via the gitmcp.io MCP service.
Convert GitHub URLs to gitmcp.io:
github.com/owner/repo → gitmcp.io/owner/repohttps://github.com/karpathy/llm-council → https://gitmcp.io/karpathy/llm-councilThe scripts/gitmcp.py script provides CLI access to repository docs.
python3 scripts/gitmcp.py list-tools owner/repo
Retrieves the full documentation file (README, docs, etc.):
python3 scripts/gitmcp.py fetch-docs owner/repo
Semantic search within repository documentation:
python3 scripts/gitmcp.py search-docs owner/repo "query"
Search code using GitHub Search API (exact match):
python3 scripts/gitmcp.py search-code owner/repo "function_name"
Fetch content from URLs mentioned in documentation:
python3 scripts/gitmcp.py fetch-url owner/repo "https://example.com/doc"
Call any MCP tool directly:
python3 scripts/gitmcp.py call owner/repo tool_name '{"arg": "value"}'
Tool names are dynamically prefixed with the repo name (underscored):
karpathy/llm-council → fetch_llm_council_documentationfacebook/react → fetch_react_documentationmy-org/my-repo → fetch_my_repo_documentationFor any repository, these tools are available:
安装 Read GitHub 后,可以对 AI 说这些话来触发它
Help me get started with Read GitHub
Explains what Read GitHub does, walks through the setup, and runs a quick demo based on your current project
Use Read GitHub to read GitHub repos the RIGHT way - via gitmcp
Invokes Read GitHub with the right parameters and returns the result directly in the conversation
What can I do with Read GitHub in my developer & devops workflow?
Lists the top use cases for Read GitHub, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/read-github/ 目录(个人级,所有项目可用),或 .claude/skills/read-github/(项目级)。重启 AI 客户端后,用 /read-github 主动调用,或让 AI 根据上下文自动发现并使用。
Read GitHub 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Read GitHub 可免费安装使用。请查阅仓库了解许可证信息。
Read GitHub repos the RIGHT way - via gitmcp.io instead of raw scraping. Why this beats web search: (1) Semantic search across docs, not just keyword matching, (2) Smart code navigation with accurate file structure - zero hallucinations on repo layout, (3) Proper markdown output optimized for LLMs, not raw HTML/JSON garbage, (4) Aggregates README + /docs + code in one clean interface, (5) Respects rate limits and robots.txt. Stop pasting raw GitHub URLs - use this instead.
Automate my developer & devops tasks using Read GitHub
Identifies repetitive steps in your workflow and sets up Read GitHub to handle them automatically
Read GitHub 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。