read-github

am-will/codex-skills · updated Apr 8, 2026

$npx skills add https://github.com/am-will/codex-skills --skill read-github
0 commentsdiscussion
summary

Read and search GitHub repository documentation through the gitmcp.io MCP service.

  • Converts GitHub URLs to gitmcp.io endpoints and provides CLI access via scripts/gitmcp.py for fetching docs, searching documentation semantically, and searching code via GitHub API
  • Four core tools available per repository: fetch full documentation, semantic search within docs, exact-match code search, and fetch external URLs referenced in documentation
  • Tool names are dynamically generated and prefixed
skill.md

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/repogitmcp.io/owner/repo
  • https://github.com/karpathy/llm-councilhttps://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:

python3 scripts/gitmcp.py call owner/repo tool_name '{"arg": "value"}'

Tool Names

Tool names are dynamically prefixed with the repo name (underscored):

  • karpathy/llm-councilfetch_llm_council_documentation
  • facebook/reactfetch_react_documentation
  • my-org/my-repofetch_my_repo_documentation

Available MCP Tools

For any repository, these tools are available:

  1. fetch_{repo}_documentation - Fetch entire documentation. Call first for general questions.
  2. search_{repo}_documentation - Semantic search within docs. Use for specific queries.
  3. search_{repo}_code - Search code via GitHub API (exact match). Returns matching files.
  4. fetch_generic_url_content - Fetch any URL referenced in docs, respecting robots.txt.

Workflow

  1. When given a GitHub repo, first fetch documentation to understand the project
  2. Use search-docs for specific questions about usage or features
  3. Use search-code to find implementations or specific functions
  4. Use fetch-url to retrieve external references mentioned in docs

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.463 reviews
  • Pratham Ware· Dec 28, 2024

    I recommend read-github for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Layla Rao· Dec 28, 2024

    Registry listing for read-github matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Layla Nasser· Dec 16, 2024

    I recommend read-github for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Aanya Verma· Dec 12, 2024

    Keeps context tight: read-github is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Lucas Diallo· Dec 12, 2024

    Useful defaults in read-github — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Zara Yang· Dec 8, 2024

    Solid pick for teams standardizing on skills: read-github is focused, and the summary matches what you get after install.

  • Aditi Verma· Nov 27, 2024

    read-github has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Hiroshi Desai· Nov 19, 2024

    read-github fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Layla Kim· Nov 15, 2024

    read-github reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Isabella Huang· Nov 3, 2024

    We added read-github from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 63

1 / 7