/rp1-dev:code-investigatefrom rp1-dev
Systematically investigates bugs and issues to identify root causes using evidence-based analysis, hypothesis testing, and comprehensive documentation without permanent code changes.
Ships in rp1-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This command invokes the bug-investigator sub-agent for systematic issue analysis of the provided problem statement.
Before invoking the sub-agent or registering artifacts, derive EFFECTIVE_ISSUE_ID:
ISSUE_ID is non-empty, use it unchanged.PROBLEM_STATEMENT.-, and if the slug would be empty use investigation.Use EFFECTIVE_ISSUE_ID consistently for workspace paths, report paths, and agent inputs.
First emit: Generate RUN_ID as a UUID. Derive RUN_NAME from the problem statement: a brief summary (max 60 chars) prefixed with "Investigate: ".
On session start, emit the status change:
rp1 agent-tools emit \
--workflow code-investigate \
--type status_change \
--run-id {RUN_ID} \
--name "Investigate: {brief summary}" \
--step investigating \
--data '{"status": "running"}'
stateDiagram-v2
[*] --> investigating
investigating --> [*] : done
Invoke the bug-investigator agent with the freeform problem statement and derived issue id:
{% dispatch_agent "rp1-dev:bug-investigator" %} PROBLEM_STATEMENT={PROBLEM_STATEMENT}, ISSUE_ID={EFFECTIVE_ISSUE_ID}, KB_ROOT={kbRoot}, WORK_ROOT={workRoot} {% enddispatch_agent %}
The agent will:
Emit btw_update events for key findings during the investigation:
rp1 agent-tools emit \
--workflow code-investigate \
--type btw_update \
--run-id {RUN_ID} \
--data '{"message": "{finding summary}"}'
After the agent writes the investigation report, register it as an artifact:
rp1 agent-tools emit \
--workflow code-investigate \
--type artifact_registered \
--run-id {RUN_ID} \
--step investigating \
--data '{"path": "issues/{EFFECTIVE_ISSUE_ID}/investigation_report.md", "storageRoot": "work_dir", "format": "markdown"}'
On completion, mark the step as completed with --close-run:
rp1 agent-tools emit \
--workflow code-investigate \
--type status_change \
--run-id {RUN_ID} \
--step investigating \
--close-run \
--data '{"status": "completed"}'
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (rp1-run/rp1) — no native marketplace selected
npx claudepluginhub p/rp1-run-rp1-dev-plugins-dev24 skills in this plugin
/address-pr-feedbackUnified PR feedback workflow - collect, triage, and fix review comments in a single command./arcade-collabStructured guidance for agents to read, classify, and act on user feedback (annotations and direct file edits) from the Arcade./blueprintGuided parent-owned project charter and PRD interviews with durable artifact-only resume./blueprint-archiveArchives a completed PRD to the archives directory with associated features and closure summary./blueprint-auditAudits a PRD against implementation status and guides lifecycle decisions./bootstrapBootstrap a greenfield project with parent-owned interviews and bounded plan, revision, and apply actions.2 plugins in one repository ship this exact skill · first indexed Aug 16, 2026
Other plugins' skills for the same job