Read Github
Analyzes GitHub repository code, commit history, and issues to extract project context and identify potential integration points.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add read-github npx -- -y @trustedskills/read-github
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"read-github": {
"command": "npx",
"args": [
"-y",
"@trustedskills/read-github"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The read-github skill enables AI agents to fetch and parse data from GitHub repositories, including reading files, extracting metadata, and retrieving commit history. It supports direct access to public repositories and can be configured for private repos with proper authentication.
When to use it
- You need to analyze the contents of a GitHub repository for code review or documentation purposes.
- Your AI agent must extract specific files or data from a project hosted on GitHub.
- You want to track changes in a repository by retrieving commit history and diffs.
Key capabilities
- Fetch repository metadata (e.g., name, owner, description).
- Read individual files from a repository's file tree.
- Retrieve commit history and diffs for specific branches or files.
- Support for both public and private repositories with authentication.
Example prompts
- "Read the README.md file from the am-will/codex-skills GitHub repository."
- "Show me the latest 5 commits in the main branch of the read-github project."
- "Extract all Python files from the src directory of this GitHub repo."
Tips & gotchas
- Ensure proper authentication is set up for private repositories to avoid access errors.
- Be mindful of rate limits imposed by GitHub's API when making frequent requests.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.