Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/ashkaan/contextium/debatenpx skills add Ashkaan/contextium --skill debategit clone --depth 1 https://github.com/Ashkaan/contextiumWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00056 | $0.02883 |
| Opus 5 | $0.00028 | $0.01442 |
| Sonnet 5 | $0.00011 | $0.00577 |
| Haiku 4.5 | $0.00006 | $0.00288 |
Grade A, and why
debate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debate — Multi-Agent Adversarial Reasoning
Spawn 2-3 AI agents with competing perspectives on a question, collect their arguments, and synthesize the strongest conclusion.
Step graph (mirrors frontmatter steps:): step-1-parse-input → step-2-build-prompts → step-3-dispatch-agents → step-4-synthesize → step-5-optional-round-2
Critical
- Synthesis (step-4) is where the value is — don't just summarize. Read every agent's output, identify genuine tensions, name what they agree on. The orchestrator's authorship of the synthesis IS the skill; if all you do is concatenate, you wasted the cost.
- Gaps MUST be named when an agent fails.
.gapfiles written bydispatch-agents.shmean an agent never returned; the Gaps section MUST surface "Agent X failed (timeout/rate-limit). Synthesis reflects N of M — the {role} position may be underrepresented." Do not silently emit a 2-agent synthesis labeled 3-agent. - Stop when a round adds nothing. Per
@rule:adversarial-recursion-cap, the loop ends on the work: a round that surfaces no argument already on the table is the last one. There is no round number to hit and no question to fire — rounds here are requested by the user in the first place.
step-1-parse-input
Extract the question from $ARGUMENTS. Parse optional flags:
--format:dialectic(default),redteam,council--agents:2(default) or3— how many seats the debate has. WHO fills them is decided at dispatch by which model CLIs you have installed, not here.
Auto-detect format if not specified:
- Binary choice / "X or Y" / "X vs Y" → dialectic
- Evaluating a plan/proposal/design → redteam
- Open-ended, multi-dimensional → council
If the question is unclear or too vague, ask ONE clarifying question first.
Context Scaffold
Before building prompts, assemble a context block. If the user gave a bare question, check whether it references a known project/file/decision and pull key facts. Structure:
CONTEXT FOR DEBATE:
- Decision: [one sentence framing the choice]
- Constraints: [timeline, budget, dependencies, blockers]
- Stakes: [what's at risk if the wrong choice is made]
- Current leaning: [user's position, if any — agents should challenge this]
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/build-agent-prompts.sh 5.5 KB runs code
- scripts/build-agent-prompts.test.sh 4.3 KB runs code
- scripts/dispatch-agents.sh 6.2 KB runs code
- scripts/fixtures/clean.output 395 B
- scripts/fixtures/codex-noise.output 582 B
- scripts/fixtures/codex-v0147-clean-stdout.output 2.8 KB
- scripts/fixtures/malformed.output 242 B
- scripts/fixtures/round2.output 462 B
- scripts/parse-agent-output.sh 2.6 KB runs code
- scripts/parse-agent-output.test.sh 5.2 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 223 lines · 56 tokens per session scan A a673890fe9f2
debate is a skill published in the GitHub repository Ashkaan/contextium (32 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 2,883 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agentic-code-orchestrator
Unified codebase manipulation, AI deployment, data analysis, and academic delivery engine. Absorbs 6 coding protocols + data-analysis + academic-delivery + spec-driven-dev.
skill-compiler
Automatic solved-to-skill compiler — detects novel task completions and autonomously drafts new SKILL.md files. Stolen from Hermes Agent's learning loop (NousResearch, 2026-05-11).
daemon-loop
Autonomous recurring agent tasks — converts workflows into persistent background daemons that run on intervals. Stolen from Boris Cherny's Claude Code /loop pattern (2026-03-31).
git-worktree-swarm
Automates the complex setup of parallel git worktrees for agentic swarms with dependency-aware wave execution.
synthetic-parallel-reasoning
Automates Protocol 75 v4.0, forcing 4 parallel external API calls (Domain Expert, Adversarial Skeptic, Cross-Domain Pattern Matcher, Zero-Point First Principles) with an Adversarial Convergence Gate. The 'Einstein Protocol' application.
using-subagents
指导如何可靠使用 subagents、多个 Agents、并行 Agent 审查、集群搜索和项目分片处理。当用户要求使用 Agents/SubAgents、并行 Agent、对抗审查、多角色审查、集群搜索、项目分片处理,或明确说出“进入agents approve迭代模式”时使用。.