RepoGrammar: Skill for Claude Code

.agents/skills/repogrammar-cli/SKILL.md

repogrammar-cli is a skill for Claude Code, Codex from SioYooo/RepoGrammar. It costs 36 tokens per session (383 once invoked), scanned A, original, MIT.

A set of instructions for changes to the RepoGrammar command-line interface, which is a text-based way to run RepoGrammar commands.

In plain words
What is it for?
Use it when editing the CLI, its README examples, its MCP mapping, or command names and options.
Why use it?
It keeps CLI commands, options, documentation, tests, and the MCP-to-CLI mapping aligned when the interface changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is SioYooo/RepoGrammar's own configuration. It tells Claude Code and Codex how to work on RepoGrammar itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything RepoGrammar configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SioYooo/RepoGrammar. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SioYooo/RepoGrammar/main/.agents/skills/repogrammar-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SioYooo/RepoGrammar

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for repogrammar-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/sioyooo/repogrammar/repogrammar-cli/github.svg)](https://agentmods.dev/skills/sioyooo/repogrammar/repogrammar-cli)
Your own site
<a href="https://agentmods.dev/skills/sioyooo/repogrammar/repogrammar-cli"><img src="https://agentmods.dev/badge/skills/sioyooo/repogrammar/repogrammar-cli/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.

agentmods 80×15 button for repogrammar-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/sioyooo/repogrammar/repogrammar-cli"><img src="https://agentmods.dev/badge/skills/sioyooo/repogrammar/repogrammar-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.00383
Opus 5.5 $0.00014 $0.00153
Sonnet 5.5 $0.00007 $0.00077
Haiku 4.5 $0.00004 $0.00038

Measured 2mo ago against content hash fd51c4d8b9f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

.agents/skills/repogrammar-cli/SKILL.md · 58 lines

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.md
  • docs/specifications/mcp-api.md
  • docs/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, or explore as a top-level v0.1 command.

Step-by-step procedure

  1. Map new query behavior to pattern-family concepts.
  2. Keep graph navigation under a future secondary namespace if needed.
  3. Keep CLI commands human-facing and multi-command while mapping MCP to the default repogrammar_context operation model.
  4. Add option parsing tests.
  5. Add not-implemented behavior when storage or indexing is not ready.
  6. 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.

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. 2mo ago First seen · 58 lines · 36 tokens per session scan A fd51c4d8b9f4

Subscribe to this mod's changes

repogrammar-cli is a skill published in the GitHub repository SioYooo/RepoGrammar (0 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 383 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

rust-axum-service

Use when building or extending a Rust service - axum on tokio (or the repository's actix-web / rocket), typed errors with IntoResponse, serde at the boundary, sqlx queries and migrations, never blocking the runtime, tracing, clippy.

makifbaysal/tasktrooper · 57 tokens

architecture-audit

Systematic architecture audit and refactoring methodology for Rust + TypeScript codebases. Use when performing refactoring, cleanup, unification, code review, dead code removal, module reorganization, or tech debt elimination. Ensures no naming confusion, semantic overloading, hidden defaults, duplicate logic, or…

org2AI/ORG2 · 70 tokens

s-gw

Use s-gw when working with credentials, private keys, API tokens, SSH identities, browser credentials, or other sensitive data in agentic coding workflows. Prefer typed handles and local approved execution over exposing raw secret values to a model.

sgateway/s-gw · 51 tokens

memtrace-api-topology

Map API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg, find, or manual file search for routes or…

syncable-dev/memtrace-public · 91 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens

webgl-neon-grid

A real-time synthwave scene — a perspective floor grid scrolling toward a banded retro sun under a neon starfield, all from one fragment shader. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "synthwave", "outrun", "retro 80s", "neon grid", "perspective grid", "vaporwave", or…

nexu-io/open-design · 115 tokens