Skip to content
Skill Authoring
Skill

/read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code

From plugin
codex-skills
1k22 skills

Claude Code

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

SKILL.md

read-github.SKILL.md
name: read-github
description: |
  Read and search GitHub repository documentation via gitmcp.io MCP service.

  **WHEN TO USE:**
  - User provides a GitHub URL
  - User mentions a specific repo in owner/repo format
  - User asks "what does this repo do?", "read the docs for X repo", or similar
  - User wants to search code or docs within a repo

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:

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-council` → `fetch_llm_council_documentation`
  • `facebook/react` → `fetch_react_documentation`
  • `my-org/my-repo` → `fetch_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

Read more
@am-will
Ships withcodex-skills

A collection of Codex/agent skills for planning, documentation access, frontend development, and browser automation.

Stars on GitHub

Momentum

stars in total
1.0k
Star history of am-will/codex-skills on GitHub, a chart by star-history.com

Other skills on codex-skills.

agent-browser

agent-browser

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and…

create-hook

create-hook

Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook…

frontend-design

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web…

gemini-computer-use

gemini-computer-use

Build and run Gemini 2.5 Computer Use browser-control agents with Playwright. Use when a user wants to automate web browser tasks…

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about read-github.

Which coding agents can use read-github?
read-github installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.