with one click
rp-investigate
Read-only investigation workflow using rp-mini context-builder.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Read-only investigation workflow using rp-mini context-builder.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Build workflow using rp-mini context-builder before implementation.
Export rp-mini curated context for external models or proconsult.
Deep planning workflow using rp-mini context-builder.
Scoped refactoring workflow using rp-mini context-builder.
Code review workflow using rp-mini git context and context-builder.
Codex native subagent instructions for rp-mini autonomous context curation before implementation, planning, investigation, refactoring, or review.
| name | rp-investigate |
| description | Read-only investigation workflow using rp-mini context-builder. |
Use this for root-cause analysis, code archaeology, or "how/why is this happening?" questions. This workflow is read-only.
Check workspace binding first. On mismatch, pass root=<absolute path> on every rp-mini tool call.
If a shell is available and no MCP client is loaded, use node packages/server/dist/cli.js tool <workspace> <tool> --json-args '...' or its wrappers.
Triage fast path: Bounded question (single subsystem, named symbol, roughly <=5 files) -> answer inline with file_search, read_file, and get_code_structure; do not spawn the builder. Broad, cross-cutting, or durable-context-pack requests -> full builder flow. Both paths keep line-cited evidence.
context-builder subagent with:
questionrewrite unless the user requested augment or preserve<questions> plus a saved profile name, read the cited files, check git history or searches, and answer only conclusive questions with <answer key="..." source="orchestrator" >...</answer>. Escalate with AskUserQuestion only for blocking AND high-stakes questions: irreversible/destructive actions, product policy, money/auth/data-loss. Append <answers> with prompt op=append, resume with manage_selection op=load_profile, and remember advisory questions never interrupt.workspace_context op=export receipt: token totals, content hash, and saved handoff profile. If the caller asked for a durable artifact, write the export to a file with the host Write tool or shell CLI.Do not change source files in this workflow.