Skip to content
Agentmart
Submit a tool

deliberation-gate

Use after brainstorming produces design doc, after code-review produces feedback, when debugging hits dead end with failed hypotheses, or when user says…

Skill by dmsdc-ai

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/dmsdc-ai-deliberation-gate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use after brainstorming produces design doc, after code-review produces feedback, when debugging hits dead end with failed hypotheses, or when user says "deliberate this", "토론해줘", "검증해줘", "멀티-AI 리뷰", "multi-AI verify"

Use cases: documents, design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/deliberation-gate

What's inside

Skill name
deliberation-gate
Description
Use after brainstorming produces design doc, after code-review produces feedback, when debugging hits dead end with failed hypotheses, or when user says "deliberate this", "토론해줘", "검증해줘", "멀티-AI 리뷰", "multi-AI verify"
License
MIT
Instructions
206 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Deliberation Gate — Multi-AI Verification for Superpowers Workflows

Insert multi-AI deliberation gates at key decision points in superpowers workflow chains.
Uses aigentry-deliberation MCP tools to orchestrate structured debate between multiple AI systems.

**Semi-automatic**: Recommends deliberation at decision points. User approves before starting.

## Context Detection

Detect the current workflow context by checking these signals IN ORDER:

| Priority | Signal | Context |
|----------|--------|---------|
| 1 | User says "deliberate", "토론", "debate", "검증", "멀티-AI" | explicit |
| 2 | Design doc recently written in session (docs/plans/*-design.md) | brainstorming |
| 3 | git diff output, PR number, or code review feedback in conversation | code-review |
| 4 | Error traces + failed hypotheses / "root cause" in conversation | debugging |
| 5 | None of above | general |

### Scenario Preset Map

| Context | preset | rounds | roles | MCP path |
|---------|--------|--------|-------|----------|
| brainstorming | brainstorm | 2 | critic, implementer, researcher | deliberation_start → route_turn loop → synthesize |
| code-review | review | 1 | critic, implementer | deliberation_request_review (lightweight) |
| debugging | research | 2 | researcher, implementer, critic | deliberation_start → route_turn loop → synthesize |
| general | balanced | 3 | user-selected via AskUserQuestion | deliberation_start → route_turn loop → synthesize |

## Recommendation Protocol (Semi-Automatic)

When you detect a decision point, recommend deliberation to the user.

### Step 1: Detect and Announce

Announce the detected context:

> 🔔 **멀티-AI 검증 추천** — [context] 시나리오 감지
>
> 이 [설계안/코드 리뷰/디버깅 가설]을 다른 AI의 관점으로 검증하면 더 견고해질 수 있습니다.

### Step 2: Ask User

Use AskUserQuestion to get approval:

```
AskUserQuestion:
  question: "이 [artifact]을 멀티-AI 토론으로 검증할까요?"
  header: "멀티-AI 검증"
  options:
    - label: "시작 (Recommended)"
      description: "[preset] preset, [N]라운드, [roles] 역할로 deliberation 시작"
    - label: "설정 변경 후 시작"
      description: "preset, rounds, roles를 직접 선택"
    - label: "건너뛰기"
      description: "deliberation 없이 원래 워크플로우 계속"
```

### Step 3: On Decline

If user chooses "건너뛰기":
- Do NOT persist or re-ask
- Continue the original workflow immediately
- No penalty, no warning

## Deliberation Execution

When user approves, execute this sequence:

### Standard Path (brainstorming, debugging, general)

1. **Speaker discovery**: `deliberation_speaker_candidates` → get available CLI + telepty active sessions + browser speakers and capture the returned candidate token
2. **Speaker selection**: `AskUserQuestion(multiSelect: true)` → user selects which speakers to include
3. **Confirm selection**: `deliberation_confirm_speakers`
   - `selection_token`: candidate token returned by `deliberation_speaker_candidates`
   - `speakers`: exact user-selected list
4. **Start deliberation**: `deliberation_start`
   - `topic`: the artifact being validated (design summary / error description + hypotheses / user's question)
   - `selection_token`: confirmed token returned by `deliberation_confirm_speakers`
   - `speakers`: user-selected list
   - `speaker_roles`: from scenario preset map above
   - `rounds`: from scenario preset map above
   - `ordering_strategy`: "auto"
   - `role_preset`: from scenario preset map above
5. **Turn loop**: For each turn:
   - Call `deliberation_route_turn` — it auto-detects the correct transport
   - **Self-speaker** (you are the current speaker): Compose your response based on your role, submit via `deliberation_respond(speaker: "claude", content: "...")`
   - **Other CLI speaker**: `deliberation_route_turn` will guide to `deliberation_cli_auto_turn` which spawns the actual CLI
   - **Browser speaker**: `deliberation_route_turn` will auto-execute via CDP
6. **Synthesize**: After all rounds complete, call `deliberation_synthesize` with a summary of the consensus
7. **Apply synthesis**: Follow the Integration Rules below

### Lightweight Path (code-review only)

1. **Speaker discovery**: `deliberation_speaker_candidates` → get available speakers
2. **Reviewer selection**: `AskUserQuestion(multiSelect: true)` → user selects reviewers
3. **Request review**: `deliberation_request_review`
   - `context`: the diff or code under review
   - `question`: "이 코드 변경사항을 리뷰해주세요. 버그, 설계 문제, 보안 취약점을 중심으로."
   - `reviewers`: user-selected list
   - `mode`: "sync"
   - `deadline_ms`: 120000
4. **Apply results**: Follow the Integration Rules below

## Synthesis Integration Rules

### brainstorming → design doc update

After deliberation on a design:
1. Read the synthesis from `deliberation_synthesize`
2. Append a `## 멀티-AI 합의` section to the design doc with:
   - **합의 사항**: Key agreements from all participants
   - **이견**: Dissenting points (if any)
   - **권장 변경**: Concrete changes recommended by consensus
3. Apply the agreed changes to the design document
4. Continue to `writing-plans` skill with the updated design

### code-review → receiving-code-review

After multi-AI code review:

From dmsdc-ai/aigentry-devkit, MIT.

More from dmsdc-ai/aigentry-devkit

Signals

Stars
0
Forks
0
Open issues
5
Last commit (this folder)
Jul 26, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from dmsdc-ai

Cite this page

deliberation-gate skill. Agent Mart. https://agentmart.dev/skills/dmsdc-ai-deliberation-gate (last updated 2026-10-24)