Borrowing it
Nothing to install: this file belongs to gmickel/gno. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gmickel/gno/main/.claude/commands/rp-investigate-cli.mdgit 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-investigate-cli)<a href="https://agentmods.dev/commands/gmickel/gno/rp-investigate-cli"><img src="https://agentmods.dev/badge/commands/gmickel/gno/rp-investigate-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.1 | $0.00011 | $0.01576 |
| Opus 5 | $0.00005 | $0.00788 |
| Sonnet 5 | $0.00002 | $0.00315 |
| Haiku 4.5 | $0.00001 | $0.00158 |
Grade A, and why
rp-investigate-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 7d 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 — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deep Investigation Mode (CLI)
Investigate: $ARGUMENTS
You are now in deep investigation mode for the issue described above. Follow this protocol rigorously.
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.
- 7d ago First seen · 209 lines · 11 tokens per session scan A b5992e8279eb
rp-investigate-cli is a command published in the GitHub repository gmickel/gno (110 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 1,576 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
fix-issues
Diagnose, reproduce, then fix reproducible open GitHub issues in parallel: one clean worktree/issue; symlink build artifacts to avoid rebuilds.
triage
Classify/label newly opened GitHub issues missing labels.
release
Release all packages at specified version.
cleanup
Autonomous cleanup-loop iteration: discover ONE target → complete execution → verify → report. Runs stateless: derive from current tree; assume prior runs left it consistent.
speckit.specjudge.recommend
Recommend the model that fits this feature's tasks, with the fragment of the spec behind every level.
simplicio-install
Install the simplicio-prompt runtime contract into the current repository's agent rules files (CLAUDE.md, AGENTS.md, .cursorrules, .github/copilot-instructions.md, etc.).