Compile and execute an Autodialectics anti-slop pipeline for a task. Covers health checks, runtime init, contract compilation, and full pipeline execution.
Use this skill to drive the Autodialectics anti-slop pipeline against a task.
autodialectics-mcp must be on PATH (pip install autodialectics).
health — verify the MCP server is reachable.init_runtime — ensure the database and default champion policy exist.compile_task — compile the task JSON into an immutable contract. Inspect it before proceeding.run_task — execute the full pipeline (evidence → dialectic → execution → verification → evaluation → gate).
detach: true for long-running tasks. Poll with inspect_run afterward.If the MCP server is not available:
autodialectics init
autodialectics compile <task.json>
autodialectics run <task.json>
Tasks are JSON files. Only title is required; everything else has sensible defaults:
{
"title": "Short description",
"description": "What needs to be done and why",
"domain": "code|research|writing|experiment|analysis|generic",
"objectives": ["What the task must achieve"],
"constraints": ["Boundaries the solution must respect"],
"deliverables": ["Concrete outputs expected"],
"acceptance_criteria": ["How to judge success"],
"forbidden_shortcuts": ["Approaches that are explicitly banned"],
"workspace_root": "path/to/workspace",
"verification_commands": ["pytest -q"],
"max_repair_attempts": 3,
"assets": [{"kind": "file", "location": "path/to/file", "label": "name"}]
}
run_task executes these stages in order, producing one artifact each:
contract.md — locks the task into an immutable contractevidence.json — gathers evidence relevant to the taskdialectic.json — thesis/antithesis/synthesis resolutionexecution.json — domain-specific execution (code, research, writing, etc.)verification.json — independent verification of execution resultsevaluation.json — slop scoring and gate decision (accept/reject/revise/rollback)summary.md — human-readable run summarypolicy_id to run_task to test a specific policy instead of the current champion.If the user passes a task path after /autodialectics:run, treat it as the target task file and execute the compile → run workflow.