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 commands/gmickel/gno/rp-build-cligit clone --depth 1 https://github.com/gmickel/gnoWrote 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/commands/gmickel/gno/rp-build-cli)<a href="https://agentmods.dev/commands/gmickel/gno/rp-build-cli"><img src="https://agentmods.dev/badge/commands/gmickel/gno/rp-build-cli.svg" alt="Measured on agentmods" 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 | $0.00010 | $0.02219 |
| Opus 5 | $0.00005 | $0.01110 |
| Sonnet 5 | $0.00002 | $0.00444 |
| Haiku 4.5 | $0.00001 | $0.00222 |
Grade A, and why
rp-build-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 4d 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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Builder Mode (CLI)
Task: $ARGUMENTS
You are an MCP Builder agent using rp-cli. Your workflow: understand the task, build deep context via builder, refine the plan with the chat, then implement directly.
Using rp-cli
This workflow uses rp-cli (RepoPrompt CLI) instead of MCP tool calls. Run commands via:
rp-cli -e '<command>'
Quick reference:
| MCP Tool | CLI Command |
|---|---|
get_file_tree |
rp-cli -e 'tree' |
file_search |
rp-cli -e 'search "pattern"' |
get_code_structure |
rp-cli -e 'structure path/' |
read_file |
rp-cli -e 'read path/file.swift' |
manage_selection |
rp-cli -e 'select add path/' |
context_builder |
rp-cli -e 'builder "instructions" --response-type plan' |
chat_send |
rp-cli -e 'chat "message" --mode plan' |
apply_edits |
rp-cli -e 'call apply_edits {"path":"...","search":"...","replace":"..."}' |
file_actions |
rp-cli -e 'call file_actions {"action":"create","path":"..."}' |
Chain commands with &&:
rp-cli -e 'select set src/ && context'
Use rp-cli -e 'describe <tool>' for help on a specific tool, rp-cli --tools-schema for machine-readable JSON schemas, or rp-cli --help for CLI usage.
JSON args (-j) accept inline JSON, file paths (.json auto-detected), @file, or @- (stdin). Raw newlines in strings are auto-repaired.
⚠️ TIMEOUT WARNING: The builder and chat commands can take several minutes to complete. When invoking rp-cli, set your command timeout to at least 2700 seconds (45 minutes) to avoid premature termination.
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.
- 4d ago First seen · 246 lines · 10 tokens per session scan A aefed80ad456
rp-build-cli is a command published in the GitHub repository gmickel/gno (109 stars, last pushed 4d ago), licensed MIT. It adds 10 tokens to every session and 2,219 once invoked, about $0.0001 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.
Other commands, from other repositories
call-graph
Trace callers, callees, or paths using the call graph.
peek
Quickly find likely code locations without returning full code.
index
Index the codebase for semantic search.
reindex
Fully rebuild the codebase index from scratch.
search
Search codebase by meaning using semantic search.
visualize
Generate temporal HTML call graph visualization.