rp-build-cli

rp-build-cli is a command for Claude Code from gmickel/gno. It costs 10 tokens per session (2,219 once invoked), scanned A, original, MIT.

A command workflow for using RepoPrompt’s command-line tool to inspect a code repository, build relevant context, discuss a plan, and make changes.

In plain words
What is it for?
Use it to search files, inspect code structure, select relevant folders, build an implementation plan, discuss that plan, and apply or create file changes.
Why use it?
It gives the agent a structured way to understand the right files before implementing a task, reducing guesswork about the codebase.

Command for Claude Code

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 commands/gmickel/gno/rp-build-cli
Clone the repo
git clone --depth 1 https://github.com/gmickel/gno

Made for: Claude Code.

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 rp-build-cli

README.md
[![agentmods](https://agentmods.dev/badge/commands/gmickel/gno/rp-build-cli.svg)](https://agentmods.dev/commands/gmickel/gno/rp-build-cli)
Your own site
<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>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,219 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.00010 $0.02219
Opus 5 $0.00005 $0.01110
Sonnet 5 $0.00002 $0.00444
Haiku 4.5 $0.00001 $0.00222

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

Security

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.

.claude/commands/rp-build-cli.md · 246 lines

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.

Read the full file on GitHub · 246 lines

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. 4d ago First seen · 246 lines · 10 tokens per session scan A aefed80ad456

Subscribe to this mod's changes

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.