/rp1-base:socratic-duel-runfrom rp1-base
Orchestrates a Socratic debate between two AI sub-agents on a given Markdown document, handling setup, spawning, and reporting results.
Ships in rp1-base. 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.
§ROLE: Subagent-only Socratic Duel launcher.
§OBJ
rp1-base:socratic-duel-participant agents with distinct participant names.§BOUNDARY
--close-run outcome emits.§CTX
RUN_ID, projectRoot, workRoot, codeRoot, resolved arguments.CURRENT_HOST: claude-code, codex, gh-copilot, opencode, amp, else unknown; default codex.TARGET_PATH: required absolute readable .md or .markdown source path.TOPIC: optional. If blank, read the source document and use the first Markdown heading as EFFECTIVE_TOPIC, falling back to source filename stem.MODEL_ID: pass through unchanged; if unknown, keep unknown-model.stateDiagram-v2
[*] --> preparing
preparing --> invalidated : invalid_input
preparing --> waiting_for_participant : agents_launched
waiting_for_participant --> debating : participants_active
waiting_for_participant --> closing : terminal_seen
waiting_for_participant --> invalidated : orchestration_failure
debating --> debating : participant_turn
debating --> closing : terminal_seen
debating --> invalidated : orchestration_failure
closing --> completed : accepted_or_dissent_or_timeout
closing --> invalidated : validation_failed
completed --> [*]
invalidated --> [*]
§EMIT
Launcher state entry:
rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow socratic-duel-run \
--type status_change \
--run-id {RUN_ID} \
--step {CURRENT_STATE} \
--data '{"status":"running","target":"{TARGET_PATH}","topic":"{EFFECTIVE_TOPIC}"}'
Launch progress:
rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow socratic-duel-run \
--type status_change \
--run-id {RUN_ID} \
--step preparing \
--unit orchestrator:launch \
--data '{"status":"running","event":"launching_participants","target":"{TARGET_PATH}","topic":"{EFFECTIVE_TOPIC}"}'
Waiting progress:
rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow socratic-duel-run \
--type status_change \
--run-id {RUN_ID} \
--step waiting_for_participant \
--unit orchestrator:waiting \
--data '{"status":"waiting","event":"waiting_for_participant_closure","target":"{TARGET_PATH}","topic":"{EFFECTIVE_TOPIC}"}'
Orchestration failure only:
rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow socratic-duel-run \
--type status_change \
--run-id {RUN_ID} \
--step invalidated \
--close-run \
--unit orchestrator:waiting \
--data '{"status":"failed","outcome":"INVALIDATED","message":"{failure_reason}","target":"{TARGET_PATH}","topic":"{EFFECTIVE_TOPIC}"}'
§PROC
preparing
preparing.TARGET_PATH: absolute, readable, .md or .markdown.invalidated with --close-run; stop.EFFECTIVE_TOPIC from TOPIC, first source heading, or filename stem.orchestrator:launch.launch participants
RUN_ID, TARGET_PATH, EFFECTIVE_TOPIC, MODEL_ID, workRoot, and codeRoot.Socratic Duel Participant ASocratic Duel Participant B{% dispatch_agent "rp1-base:socratic-duel-participant", background %} RUN_ID={RUN_ID} TARGET_PATH={TARGET_PATH} TOPIC={EFFECTIVE_TOPIC} PARTICIPANT_NAME=Socratic Duel Participant A MODEL_ID={MODEL_ID} WORK_ROOT={workRoot} CODE_ROOT={codeRoot} WORKFLOW=socratic-duel-run {% enddispatch_agent %}
{% dispatch_agent "rp1-base:socratic-duel-participant", background %} RUN_ID={RUN_ID} TARGET_PATH={TARGET_PATH} TOPIC={EFFECTIVE_TOPIC} PARTICIPANT_NAME=Socratic Duel Participant B MODEL_ID={MODEL_ID} WORK_ROOT={workRoot} CODE_ROOT={codeRoot} WORKFLOW=socratic-duel-run {% enddispatch_agent %}
waiting_for_participant
orchestrator:waiting.completed or invalidated run stateINVALIDATED with --close-run.report
terminal:true or the run is visibly terminal.debate_path, outcome, duel_id, and participant names.INVALIDATED, include the participant-provided reason.§OUT
## Socratic Duel Run Complete
**Outcome**: {terminal_outcome}
**Debate Artifact**: `{debate_path}`
**Duel ID**: `{duel_id}`
**Participants**: Socratic Duel Participant A, Socratic Duel Participant B
**Closure**: Participant-owned
§DONT
{TARGET_PATH}.{debate_path}.rp1 agent-tools socratic-duel claim-lock, refresh-lock, or release-lock.ACCEPTED_CONSENSUS, DISSENT, MAX_TURNS, TIMEOUT, or INVALIDATED.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-base-plugins-base-221 skills in this plugin
/analyse-securityPerforms tracked, evidence-bounded security posture assessment for a project, sub-directory, module, concept, or feature topic with standards mapping and registered report output./artifact-templatesAgent-only canonical output templates for rp1 artifacts. Load when producing structured markdown to ensure format consistency and routing metadata./code-commentsExtract comment locations from code files for analysis. Use when cleaning comments, auditing documentation, or analyzing comment patterns across languages./deep-researchAutonomous deep research on codebases and technical topics with structured report output via map-reduce explorer architecture./fix-mermaidValidates and repairs mermaid diagrams in markdown files. Scans for mermaid blocks, validates syntax, and auto-repairs common errors./generate-user-docsSynchronizes user-facing documentation with the current knowledge base through validate -> stale gate -> scan -> approval -> process orchestration.Other plugins' skills for the same job