github-navigator

A guide for using GitHub's command-line tool, gh, to inspect and manage repositories. GitHub is a service for hosting code and coordinating work through issues, pull requests, releases, and automated checks.

In plain words
What is it for?
Inspecting repositories, files, issues, pull requests, releases, Actions runs, workflows, and repository structure through gh.
Why use it?
It provides a consistent way to find the right GitHub command and avoid using a less suitable method for repository tasks.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/arvindand/agent-skills/github-navigator
Any agent
npx skills add arvindand/agent-skills --skill github-navigator
Clone the repo
git clone --depth 1 https://github.com/arvindand/agent-skills

Made for: Claude Code, Codex.

Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00107 $0.01103
Opus 5 $0.00053 $0.00551
Sonnet 5 $0.00021 $0.00221
Haiku 4.5 $0.00011 $0.00110

Measured 2d ago against content hash 105e2dc10204, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-navigator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/github-navigator/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.com URL
  • the user names a repo path like facebook/react or owner/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 gh over WebFetch for GitHub content and operations.
  • Use gh api for raw file content, directory listings, and API-only endpoints.
  • Use gh subcommands (issue, pr, release, run, workflow, repo) when a dedicated command exists.
  • Use gh <domain> --help before 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

  1. Identify the command domain from the request.
  2. Check the relevant help output if the exact syntax is not already obvious.
  3. Substitute the user's repo, path, issue number, PR number, or other arguments.
  4. Run the command.
  5. If it fails, adjust once based on the error message.
  6. If it fails again, stop and report the error instead of trying blind variations.

Read the full file on GitHub · 112 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 112 lines · 107 tokens per session scan A 105e2dc10204

Subscribe to this mod's changes

github-navigator is a skill published in the GitHub repository arvindand/agent-skills (16 stars, last pushed 5d ago), licensed MIT. It adds 107 tokens to every session and 1,103 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

clickup-cli

ClickUp CLI for managing tasks, sprints, comments, statuses, and Docs. Use when the user needs to interact with ClickUp — creating/editing tasks, checking sprint status, adding comments, linking PRs, managing Docs and pages, or searching tasks. Prefer this CLI over raw API calls.

ulises-jeremias/agent-toolkit · 65 tokens

bug

WHAT - Draft and review bugs using the Bug Template; classifies whether an issue should be escalated to incident based on production/user impact.

ulises-jeremias/agent-toolkit · 30 tokens

google-tasks

Read and manage Google Tasks task lists and individual tasks via the Tasks v1 REST API. Use when the user mentions Google Tasks, todo / pending / overdue tasks, weekly task recap, grouping todos by list, adding or completing a task, or moving / deleting tasks.

AceDataCloud/Skills · 58 tokens

microsoft-todo

Read and manage Microsoft To Do task lists and tasks via Microsoft Graph v1.0. Use when the user mentions Microsoft To Do, their Outlook tasks, todo / pending items, due dates or reminders, adding or completing a task, or organising task lists.

AceDataCloud/Skills · 57 tokens

apm-issue-autopilot

Use this skill to drive any open microsoft/apm issue (bug, feature, docs, refactor, perf) from raw intake to a mergeable PR with triage as the central, paramount gate. Run the apm-triage-panel rubric per issue first, then present ONE consolidated triage review for the whole batch and escalate to the maintainer BY…

microsoft/apm · 238 tokens

apm-triage-panel

Use this skill to triage one microsoft/apm issue selected by the daily sweep, the status/needs-triage fast path, or manual dispatch. Emit one synthesized comment with a decision, label set, exact milestone, and suggested next action.

microsoft/apm · 59 tokens