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 agentmods add skills/sioyooo/repogrammar/repogrammar-clinpx skills add SioYooo/RepoGrammar --skill repogrammar-cligit clone --depth 1 https://github.com/SioYooo/RepoGrammarWhat 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 | $0.00036 | $0.00383 |
| Opus 5 | $0.00018 | $0.00192 |
| Sonnet 5 | $0.00007 | $0.00077 |
| Haiku 4.5 | $0.00004 | $0.00038 |
Grade A, and why
repogrammar-cli 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 yesterday.
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.
What it actually says
Purpose
Keep the CLI aligned with RepoGrammar's implementation-pattern family identity.
Trigger conditions
Use when editing src/rust/interfaces/cli/, README command examples, MCP-to-CLI
mapping, or any CLI command name or option.
Required reading
docs/specifications/cli.mddocs/specifications/mcp-api.mddocs/decisions/ADR-0006-pattern-family-cli.md
Preconditions
- Confirm the command is pattern-family-first.
- Confirm it does not add
callers,callees,impact,affected,node, orexploreas a top-level v0.1 command.
Step-by-step procedure
- Map new query behavior to pattern-family concepts.
- Keep graph navigation under a future secondary namespace if needed.
- Keep CLI commands human-facing and multi-command while mapping MCP to the
default
repogrammar_contextoperation model. - Add option parsing tests.
- Add not-implemented behavior when storage or indexing is not ready.
- Update README, CLI specification, MCP mapping, and CHANGELOG as needed.
Required verification
Run the full Rust quality gates and repo-guard check.
Documentation updates
Update docs/specifications/cli.md and every affected command example.
Commit requirements
Commit CLI code, tests, and docs together.
Completion report
Report changed commands, changed options, and whether behavior is implemented or only a safe command contract.
Failure and rollback handling
If a command would shift the product toward generic call-graph analysis, stop and require an ADR before proceeding.
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.
- yesterday First seen · 58 lines · 36 tokens per session scan A fd51c4d8b9f4
repogrammar-cli is a skill published in the GitHub repository SioYooo/RepoGrammar (0 stars, last pushed 19d ago), licensed MIT. It adds 36 tokens to every session and 383 once invoked, about $0.0002 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-31.
Other skills, from other repositories
od-contribute
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship…
clinical-case-report
Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…
critique
Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks…
github-dashboard
GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.
dating-web
A consumer-feeling dating / matchmaking dashboard — left rail navigation, ticker bar of community signals, headline KPIs, a 30-day mutual-matches bar chart, and a match-rate trend block. Editorial typography, restrained accent. Use when the brief asks for a "dating site", "matchmaking", "community dashboard", "social…
dcf-valuation
Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?".