github-navigator
Skill17 starsChanged 11 days agoMITView on GitHub
GitHub operations via gh CLI. CRITICAL: Use instead of WebFetch for any `github.com` URL or GitHub repo path like `owner/repo`. Use when the user asks to inspect repositories, files, issues, pull requests, releases, Actions runs, or repository structure. Use when the user says 'show README', 'list issues', 'check PR', 'clone repo', or 'analyze this repo'. Use even when the user just pastes a github.com URL without an explicit verb.
In this repository5 other files it gives its agents.
- context7Skill
- maven-toolsSkill
- release-reviewSkill
- skill-craftingSkill
- ui-ux-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 9 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use gh for GitHub work. Prefer command discovery over memorizing flags.
- Very specific: line 28
Always prefer gh over WebFetch for GitHub content and operations.
- Very specific: line 29
Use gh api for raw file content, directory listings, and API-only endpoints.
- Very specific: line 30
Use gh subcommands (issue, pr, release, run, workflow, repo) when a dedicated command exists.
- Very specific: line 31
Use gh <domain> --help before guessing flags or subcommands.
- Very specific: line 46
Use dedicated subcommands first.
- Distinctive: line 51
Check the relevant help output if the exact syntax is not already obvious.
- Distinctive: line 54
If it fails, adjust once based on the error message.
- Distinctive: line 55
If it fails again, stop and report the error instead of trying blind variations.
- Distinctive: line 59
When the user wants to understand a codebase deeply, clone it locally for inspection instead of making many remote API calls.
- Distinctive: line 77
Keep the clone for follow-up questions unless cleanup is requested.
- Distinctive: line 79
Use a full clone only if the user explicitly needs commit history or deeper git analysis.
- Distinctive: line 83
Always confirm before executing state-changing or destructive commands, including:
- Very specific: line 93
Check gh auth status when the task touches private repos or write operations.
- Very specific: line 94
Use gh auth login if the client is not authenticated.
- Very specific: line 95
If permissions are insufficient, use gh auth refresh -s repo -s workflow -s read:org as appropriate.
- Distinctive: line 96
If a command fails, read the error, check help, retry once, then stop.
- Very specific: line 97
If gh is not installed, point the user to REFERENCES.md for installation guidance.
- Distinctive: line 101
Use REFERENCES.md when you need:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Navigator
Use gh for GitHub work. Prefer command discovery over memorizing flags.
This is an execution skill. Use gh instead of generic web fetching for GitHub tasks, inspect gh --help when syntax is uncertain, then execute with tight guardrails. Keep the main flow lean and load REFERENCES.md only when you need concrete examples, installation steps, or GraphQL details.
When to Use
Activate when:
- the user gives a
github.comURL - the user names a repo path like
facebook/reactorowner/repo - the user asks about repository files, issues, PRs, releases, workflows, or metadata
- the user wants to understand the architecture or structure of a GitHub-hosted codebase
Core Rules
- Always prefer
ghoverWebFetchfor GitHub content and operations. - Use
gh apifor raw file content, directory listings, and API-only endpoints. - Use
ghsubcommands (issue,pr,release,run,workflow,repo) when a dedicated command exists. - Use
gh <domain> --helpbefore guessing flags or subcommands. - Limit each command pattern to 2 attempts; if it still fails, stop and report the error.
Command Routing
| User Intent | Primary Command Path |
| fetch file or list directory | gh api repos/OWNER/REPO/contents/... |
| inspect issues | gh issue ... |
| inspect pull requests | gh pr ... |
| inspect releases | gh release ... |
| inspect Actions runs or workflows | gh run ... or gh workflow ... |
| inspect repo metadata or clone/fork | gh repo ... |
| endpoints without a dedicated subcommand | gh api ... |
Use dedicated subcommands first. Fall back to gh api only when needed.
Execution Pattern
- Identify the command domain from the request.
- Check the relevant help output if the exact syntax is not already obvious.
- Substitute the user's repo, path, issue number, PR number, or other arguments.
- Run the command.
- If it fails, adjust once based on the error message.
- If it fails again, stop and report the error instead of trying blind variations.
Deep Analysis Mode
When the user wants to understand a codebase deeply, clone it locally for inspection instead of making many remote API calls.
Default flow:
Clone with depth 1 to
/tmp/github-navigator/OWNER-REPO/git clone --depth 1 https://github.com/OWNER/REPO.git /tmp/github-navigator/OWNER-REPO- Inspect the repository for:
- tech stack signals (
package.json,go.mod,Cargo.toml,pom.xml,requirements.txt, etc.) - high-level directory structure
- entry points and primary modules
- README, docs, examples, and contribution files
- architectural patterns worth calling out
- tech stack signals (
- Summarize the findings in plain language.
- Keep the clone for follow-up questions unless cleanup is requested.
Use a full clone only if the user explicitly needs commit history or deeper git analysis.
Safety
Always confirm before executing state-changing or destructive commands, including:
- creating, closing, or reopening issues
- creating, merging, or closing pull requests
- deleting, archiving, or transferring repositories
- setting secrets or triggering workflows
- any use of
--force,--yes, or similar bypass flags
Authentication and Recovery
- Check
gh auth statuswhen the task touches private repos or write operations. - Use
gh auth loginif the client is not authenticated. - If permissions are insufficient, use
gh auth refresh -s repo -s workflow -s read:orgas appropriate. - If a command fails, read the error, check help, retry once, then stop.
- If
ghis not installed, point the user to REFERENCES.md for installation guidance.
Reference Handoff
Use REFERENCES.md when you need:
- concrete example commands for common tasks
- install and auth setup details
- troubleshooting reminders
- GraphQL examples or other lower-frequency patterns
License: MIT See also: REFERENCES.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

