Agent skill
gitingest
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gitingest
SKILL.md
Fetch GitHub Repository Context
Arguments
$ARGUMENTS
Instructions
1. Parse Input
- Full URL: use directly
- user/repo: construct
https://github.com/{user/repo} - Single name: infer canonical repo (e.g., "rails" → "rails/rails"); if ambiguous, ask
2. Parse Filters
Natural language filters map to options:
- "only Python files" →
-i "*.py" - "exclude tests" →
-e "test/*" -e "*_test.py" - "branch develop" →
-b develop
3. Build Command
mkdir -p docs/reference/
gitingest [OPTIONS] -o docs/reference/<user>-<repo>.txt <url>
Options:
| Flag | Purpose |
|---|---|
-o PATH |
Output file (required) |
-i PATTERN |
Include pattern (repeatable) |
-e PATTERN |
Exclude pattern (repeatable) |
-b NAME |
Branch |
-s BYTES |
Max file size |
--include-gitignored |
Include .gitignore'd files |
--include-submodules |
Include submodules |
-t TOKEN |
GitHub PAT for private repos |
4. Execute & Confirm
- Run the command
- Read generated file to understand repo
- Report: repo name, purpose, file location, filters applied
Examples
/gitingest rails → rails/rails to docs/reference/rails-rails.txt
/gitingest jdx/mise only rust → -i "*.rs" filter
/gitingest user/repo exclude tests → -e "test/*" -e "*_test.py"
/gitingest https://github.com/x/y branch main
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?