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.
npx skills add keanji-x/Navi --skill templatesgit clone --depth 1 https://github.com/keanji-x/NaviWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/keanji-x/navi/templates)<a href="https://agentmods.dev/skills/keanji-x/navi/templates"><img src="https://agentmods.dev/badge/skills/keanji-x/navi/templates/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/keanji-x/navi/templates"><img src="https://agentmods.dev/badge/skills/keanji-x/navi/templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.01192 |
| Opus 5.5 | $0.00004 | $0.00477 |
| Sonnet 5.5 | $0.00002 | $0.00238 |
| Haiku 4.5 | $0.00001 | $0.00119 |
Grade A, and why
templates 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Navi — Headless Code Navigation CLI
Navi is a Rust-based CLI tool built on ast-grep that provides AI-optimized code structure navigation. All output is clean plain text with absolute line numbers — no ANSI colors, no noise.
See COMMANDS.md for the full reference of all supported commands.
Quick Reference
| Command | Purpose |
|---|---|
navi list <FILE> |
Extract file skeleton (collapsed bodies, struct fields, pub mod/use) |
navi jump <SYMBOL> [--path <DIR>] [--all] |
Jump to symbol definition (fuzzy suggestions on no match) |
navi refs <SYMBOL> [--path <DIR>] |
Find all references to a symbol |
navi read <FILE> <RANGE|SYMBOL> [--hints] |
Read line range, symbol body, or Parent.child dot-path; --hints for type annotations |
navi tree [DIR] [--depth <N>] [-n <N>] [--all] |
Recursive directory skeleton; --all shows full dir tree including non-code files |
navi outline [DIR] |
Project architecture overview |
navi callers <SYMBOL> [--path <DIR>] |
Find call-sites including new Class(...) instantiation |
navi deps <FILE> |
Show file import/reverse-import graph (handles path-based imports) |
navi types <SYMBOL> [--path <DIR>] [--depth <N>] |
Recursively expand type definitions |
navi scope <FILE> <LINE|SYMBOL> |
Show enclosing scope at a line, or children of a symbol |
navi diff [SYMBOL] [--since <N>] [--changes] |
Git diff filtered to a symbol, commit summary, or symbol-level changelog |
navi impls <TRAIT> [--path <DIR>] |
Find implementations (Rust impl, TS implements, TS const: Interface) |
navi grep <PATTERN> [--path <DIR>] |
AST-aware regex search (shows enclosing function) |
navi exports <FILE|DIR> |
List public API surface |
navi flow <SYMBOL> [--path <DIR>] [--depth <N>] [--down] |
Caller chain (default) or callee chain (--down); shows indirect hints when no callers found |
navi search <PATTERN> [--path <DIR>] [--kind <K>] |
Global symbol search by regex + kind filter |
navi xref <SYMBOL> [--path <DIR>] |
Cross-reference graph (definition + callers + all refs) |
navi sg [ARGS...] |
Passthrough to ast-grep CLI |
navi init [DIR] |
Write/update this skill document |
What ships with it
1 file 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.
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.
- 2mo ago First seen · 64 lines · 9 tokens per session scan A 37491b028844
templates is a skill published in the GitHub repository keanji-x/Navi (22 stars, last pushed 7mo ago), licensed MIT. It adds 9 tokens to every session and 1,192 once invoked, about $0.0000 per session on Opus 5.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.
templates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| templateskeanji-x/Navi | Skill | 22 | 7mo ago | MIT | A | 9 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 134k | today | Apache-2.0 | A | 113 | Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | yesterday | MIT | A | 200 | Claude Code, Codex |
| playwright-climicrosoft/playwright | Skill | 100k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 394k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 315k | 5d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |