socratic-duel
БесплатноБез исполняемых скриптовНе проверенRun a bounded, evidence-driven two-agent debate into a separate rp1 debate artifact with backend locks only.
от rp1-run★ 38 звёзд на GitHubОб этом скилле
Socratic Duel
§ROLE: Debate participant and debate artifact steward for /rp1-base:socratic-duel.
§OBJ
- Treat
{TARGET_PATH}as read-only Markdown source material. - Create or append the durable debate record only at the coordinator-returned
debate_pathunder{workRoot}/debates/. - Preserve accepted prior turns exactly and append at most 6 accepted turns.
- Keep every claim, counterpoint, unresolved item, and terminal summary focused on
{TOPIC}or the inferred effective topic. - Coordinate exactly two participants through backend locks only.
- End with an explicit terminal outcome:
ACCEPTED_CONSENSUS,DISSENT,MAX_TURNS,TIMEOUT, orINVALIDATED. - Close the rp1 run on every terminal outcome.
- Resist unsupported agreement, deference, and repeated arguments.
§BOUNDARY
- Backend owns participant registration, active lock status, lock claim, lock refresh, lock expiry, lock release, source/topic identity, and debate artifact path allocation.
- Agent owns source reading, topic inference, artifact template loading, artifact creation, participant table rendering, turn numbering, alternation checks, candidate convergence state, turn structure checks, evidence discipline, terminal outcome selection, terminal summaries, and Markdown artifact updates.
- Agent owns template selection by reading the artifact template directly (with fallback to
/rp1-base:artifact-templatesindex); do not implement or expect TypeScript template rendering. - Backend
statusis not debate truth. Treat the debate artifact as the debate record. - The source document is not the artifact. Do not add or require
rp1:socratic-duelboundary markers during normal recording. - This base skill MUST NOT call rp1-dev commands or subagents.
- This standalone skill intentionally duplicates the participant agent's critical turn contract so direct and launcher modes are self-contained; keep
§TURN_RULESand§OUTCOMESin sync withplugins/base/agents/socratic-duel-participant.md.
§CTX
- Use generated Workflow Bootstrap values:
RUN_ID,projectRoot,workRoot,codeRoot, resolved arguments. - Determine
CURRENT_HOST:claude-code,codex,gh-copilot,opencode,amp, elseunknown; defaultcodex. TARGET_PATH: required absolute readable.mdor.markdownsource path. Do not require write access.TOPIC: optional. If blank, read the source document and use the first Markdown heading as the effective topic, falling back to the source filename stem.PARTICIPANT_NAME: required unique participant identity; do not replace it withCURRENT_HOST.MODEL_ID: if unknown, keepunknown-model; do not invent model metadata.debate_path,source_path,topic, andtopic_slugcome fromjoinand are authoritative after registration.- Open research is allowed when useful, but every external claim needs a citation.
- Waiting is always bounded and non-interactive; do not prompt the user during peer or lock waits.
STATE-MACHINE
stateDiagram-v2
[*] --> preparing
preparing --> waiting_for_participant : peer_missing
preparing --> debating : ready
waiting_for_participant --> debating : peer_ready
waiting_for_participant --> closing : wait_timeout
debating --> debating : yielded
debating --> waiting_for_participant : peer_wait
debating --> closing : terminal
closing --> completed : accepted_or_dissent_or_timeout
closing --> invalidated : validation_failed
completed --> [*]
invalidated --> [*]
References
| File | Purpose | When to Load |
|---|---|---|
references/protocol.md |
Full emit sequences, turn-by-turn procedure, turn structure (TURN_MARKDOWN, TURN_RULES), prohibitions (DONT) | Always -- read after this file before first action |
§EMIT (summary)
On every primary state entry, emit status_change with --step {CURRENT_STATE}.
Key events: participant_registered, participant_waiting, lock_acquired, lock_released as unit events.
Emit artifact_registered once after first Write creates {debate_path}.
Emit turn_composing/artifact_updated per turn with --unit turn:{N}.
Emit btw_update for candidate convergence (duel stays active).
Terminal: --close-run with status:"completed" for ACCEPTED_CONSENSUS/DISSENT/MAX_TURNS/TIMEOUT, status:"failed" for INVALIDATED.
See references/protocol.md EMIT section for all emit block specifications.
§PROC (summary)
- preparing -- Validate source path, join duel via backend, emit participant_registered, load artifact template. Transition to waiting_for_participant (< 2 participants) or debating.
- waiting_for_participant -- Bounded poll for peer. On timeout: claim-lock with
--for-timeout, re-check status; if still < 2 participants, transition to closing with TIMEOUT; if peer appeared, transition to debating. - debating -- Claim lock, read source + artifact, create artifact from template if missing (emit artifact_registered once). Dr
Установить socratic-duel в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(echo *)Bash(rp1 *)Вложенные файлы
FAQ
Что делает скилл socratic-duel?
Run a bounded, evidence-driven two-agent debate into a separate rp1 debate artifact with backend locks only.
Как установить скилл socratic-duel?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл socratic-duel запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic