← Catalog

@srobroek/pi-debate

Stress-test a decision from both sides or grill a plan in frontier rounds.

Package

Install

Install with PiG

pig install npm:@srobroek/pi-debate

Install with Pi

pi install npm:@srobroek/pi-debate
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "prompts": [
    "./commands"
  ],
  "subagents": {
    "agents": [
      "./agents"
    ]
  },
  "extensions": [
    "./_kit/prereqs.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.2.0 (README.md). PiG does not review it.

debate

Stress-test a decision before committing to it. Two skills:

SkillWhen
debateTwo-sided analysis of an architectural decision, technology choice or feature proposal, with a conditional verdict
grillingInterview the user in numbered frontier rounds until every branch of a plan has an answer. debate routes deeper interviews here.

This plugin vendors grilling in modified form from mattpocock/skills under the MIT license. Its skill directory carries the license text and a NOTICE listing the changes.

Asking questions

The skills ask their question rounds through your preferred question tool, or as a numbered markdown round in chat when no question tool is available.

parley is one such tool for OpenCode: it shows the whole round in one TUI panel. Install it beside this plugin to get the panel:

opencode plugin add 'github:srobroek/harness-plugins::path:plugins/parley/opencode'

Install

opencode plugin add 'github:srobroek/harness-plugins::path:plugins/debate/opencode'

Claude Code installs the same skills from this repository's marketplace:

claude plugin marketplace add srobroek/harness-plugins
claude plugin install debate@harness-plugins

A skill you already have with the same name wins over the plugin's copy.

pi

pi install npm:@srobroek/pi-debate

The pi package needs pi-subagents, which runs the council. Install it beside the package.

For a consequential or contested decision, the debate skill hands the finished two-sided analysis to a pi-subagents council for independent critique. The default roster is council-advocate, council-skeptic and council-pragmatist. An architecture decision adds council-architect, and a security decision adds council-security. The council runs at most three passes. The skill treats the council memo as evidence and still writes the conditional verdict.

Two commands run a council with a fixed roster and up to three passes:

CommandRoster
/council-arch <question>council-architect, council-advocate, council-skeptic, council-pragmatist
/council-security <question>council-security, council-advocate, council-skeptic, council-pragmatist

The five council-* advisors can only read, and the parent's agent list does not show them. They pin no model. Set one per advisor in ~/.pi/agent/settings.json, replacing provider/model-id with the provider and model you use:

{
  "subagents": {
    "agentOverrides": {
      "council-advocate": { "model": "provider/model-id" },
      "council-skeptic": { "model": "provider/model-id" },
      "council-pragmatist": { "model": "provider/model-id" },
      "council-security": { "model": "provider/model-id" },
      "council-architect": { "model": "provider/model-id" }
    }
  }
}

Works with

This package works with these pi packages. Install them next to it.

PackageRequiredForInstall
pi-subagentsyescouncil advisors and the council protocolpi install npm:pi-subagents