Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

socratic-duel-run

БесплатноБез исполняемых скриптовНе проверен

Run Socratic Duel through two participant subagents while the launcher only coordinates and reports.

rp1-runот rp1-run★ 38 звёзд на GitHub

Об этом скилле

Socratic Duel Run

§ROLE: Subagent-only Socratic Duel launcher.

§OBJ

  • Resolve source path and effective topic once.
  • Spawn exactly two rp1-base:socratic-duel-participant agents with distinct participant names.
  • Emit only orchestration progress under deterministic units.
  • Wait for participant-owned terminal closure.
  • Report final debate artifact path and terminal outcome.

§BOUNDARY

  • Launcher MUST NOT write the debate artifact.
  • Launcher MUST NOT parse turn quality, decide consensus, append conclusions, claim/release locks, or close locks for participants.
  • Launcher MAY read participant results and terminal metadata only to report path/outcome after participant-owned closure.
  • Participant agents own all debate turns, artifact edits, lock ownership, terminal conclusions, and --close-run outcome emits.
  • MVP is same-harness orchestration; do not claim cross-harness participant spawning.

§CTX

  • Use generated Workflow Bootstrap values: RUN_ID, projectRoot, workRoot, codeRoot, resolved arguments.
  • Determine 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.

STATE-MACHINE

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

  1. preparing

    • Emit preparing.
    • Validate TARGET_PATH: absolute, readable, .md or .markdown.
    • If invalid, emit invalidated with --close-run; stop.
    • Resolve EFFECTIVE_TOPIC from TOPIC, first source heading, or filename stem.
    • Emit orchestrator:launch.
  2. launch participants

    • Spawn both participants with the same RUN_ID, TARGET_PATH, EFFECTIVE_TOPIC, MODEL_ID, workRoot, and codeRoot.
    • Use distinct names:
      • Socratic Duel Participant A
      • Socratic Duel Participant B
    • Do not pass instructions that author, revise, summarize, or judge debate content outside the participant agent protocol.

{% 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 %}

  1. waiting_for_participant
    • Emit orchestrator:waiting.
    • Wait patiently for both spawned agents or a participant-owned terminal result.
    • Use long polling windows; check expected side effects before declaring the agents stalled:
      • participant result JSON
Полный SKILL.md на GitHub

Установить socratic-duel-run в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash(echo *)
Bash(rp1 *)
Task

FAQ

Что делает скилл socratic-duel-run?

Run Socratic Duel through two participant subagents while the launcher only coordinates and reports.

Как установить скилл socratic-duel-run?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл socratic-duel-run запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить socratic-duel-run с