New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Read and search GitHub repo docs and code through the gitmcp.io MCP service, converting GitHub URLs automatically.

skills.sh installs
1.2K
GitHub stars
1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers fetching full repository documentation, semantic search within docs, and exact-match code search via the GitHub API
  • Includes the scripts/gitmcp.py CLI with list-tools, fetch-docs, search-docs, search-code, fetch-url, and call subcommands
  • Converts github.com/owner/repo URLs to gitmcp.io/owner/repo and respects robots.txt when fetching referenced URLs
  • Designed for questions like "what does this repo do?" when a user provides a GitHub URL or an owner/repo name

Install

$ npx -y skills add am-will/codex-skills --skill read-github -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Read GitHub Docs

Access GitHub repository documentation and code via the gitmcp.io MCP service.

URL Conversion

Convert GitHub URLs to gitmcp.io:

  • github.com/owner/repo → gitmcp.io/owner/repo
  • https://github.com/karpathy/llm-council → https://gitmcp.io/karpathy/llm-council

CLI Usage

The scripts/gitmcp.py script provides CLI access to repository docs.

List Available Tools

python3 scripts/gitmcp.py list-tools owner/repo

Fetch Documentation

Retrieves the full documentation file (README, docs, etc.):

python3 scripts/gitmcp.py fetch-docs owner/repo

Search Documentation

Semantic search within repository documentation:

python3 scripts/gitmcp.py search-docs owner/repo "query"

Search Code

Search code using GitHub Search API (exact match):

python3 scripts/gitmcp.py search-code owner/repo "function_name"

Fetch Referenced URL

Fetch content from URLs mentioned in documentation:

python3 scripts/gitmcp.py fetch-url owner/repo "https://example.com/doc"

Direct Tool Call

Call any MCP tool directly:

Details

Repository
github.com/am-will/codex-skills
Categories
Technical Documentation, Research & Academic

More from am-will/codex-skills

All 14

Similar to Read Github

More Technical Documentation