Install
openclaw skills install read-githubRead 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.
openclaw skills install read-githubAccess 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: