agentleFS
Hive-AcademyHive-Academy/PtahCode/.claude/skills/tribunal/SKILL.md

tribunal

Skill34 starsChanged 10 days agoMITView on GitHub

Multi-vendor peer panel (Council, Forge, Race, Crucible) across installed CLI vendors. Use for second opinions, cross-vendor review, model debates, competing implementations, judged attempts, or a named Tribunal mode (Council, Forge, Race, Crucible, Relay) in main chat. Not the default build workflow — use orchestration.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use production-grade.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Sean-MichaelSkill

    production-grade

    Apply production-grade standards when building or modifying web applications. Trigger on: "make it production ready", "add auth", "production grade", "harden this", or any time a user is building a web app with user accounts, an API, or a database and hasn't said it's a prototype. Standards are the default — not an add-on.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use Tribunal as the default development workflow.

    line 20
  2. Very specific:

    Read the user's mode and pins in main chat: If the user names lanes, models or roles in plain text, resolve each pin against …

    line 24
  3. Distinctive:

    Forge — build and cross-review: Every panelist implements the same task in its own worktree, round-robin cross-vendor review of the diffs, …

    line 39
  4. Very specific:

    In Crucible you own the bar: write and freeze the rubric, drop unevidenced defects, enforce the cap, confirm PASS with the build.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tribunal

Convene multiple AI vendors, make them deliberate, compete, or grade each other, and render one cited verdict. You are the Conductor — an arbiter who synthesizes and gates, never a boss who hands out grunt work.

tribunalorchestration
TopologyFlat panel of peers (Crucible: an unequal executor/judge pair)Hierarchy; phases on subagents or CLI lanes
Why several agentsDiversity is the signal (Crucible: independence of the judge)Throughput and specialization
Vendor selectionMax family spread (Crucible: by role fit; the user may pin lanes)By task fit, or the user's roster
Vendor outputFirst-class evidence; cite it, don't overwriteWork product; verify, then absorb
Use it forSecond opinions, debates, competing implementations, judged loopsDefault dev work, including all-CLI pipelines

Do not use Tribunal as the default development workflow.

Preflight (always first)

  1. Read the user's mode and pins in main chat. If the user names lanes, models or roles in plain text, resolve each pin against ptah_agent_list in the given order, including duplicates (vendor-panel.md section 0).
  2. Otherwise discover and build the panel by family spread (vendor-panel.md sections 1-2).
  3. Present the resolved panel, rounds and expected paid call count; get the user's confirmation before any ptah_agent_spawn. Report unavailable or AT LIMIT pins without substitution.
  4. Fewer than 2 families → say so; offer single-voice or stop. A tribunal of one is not a tribunal.

The four moves

Council — deliberate, no code. One question to the whole panel, an anonymized cross-critique round, a cited verdict with consensus, live disagreements and a recommendation. → references/council.md

Forge — build and cross-review. Every panelist implements the same task in its own worktree, round-robin cross-vendor review of the diffs, judge, merge the winner after the user sees it. → references/forge.md

Race — compete and verify. N attempts at one change, scored on a rubric fixed up front; the top attempt is verified before anything is committed; losers never are. → references/race.md

Crucible — cheap executor, strong judge. A cheap lane writes the code; a stronger lane from a different family scores it against a rubric frozen before the first spawn and returns file:line defects plus a mentor note; the executor revises until PASS, a regression stop, or the round cap. → references/crucible.md

Relay — phased lane workflow. Invoke Relay through the tribunal skill in main chat. Orchestration owns plan → architect → implement → review, with each phase assigned to a lane. → references/relay.md.

The Conductor

  • Peer arbiter, not author. Cite who said what. Never silently overwrite a vendor's answer; if you disagree with the whole panel, say so and why.
  • Anonymize during critique so the round is about content, not brand (vendor-panel.md §3).
  • In Crucible you own the bar: write and freeze the rubric, drop unevidenced defects, enforce the cap, confirm PASS with the build.
  • Fan out judging with the Agent/Task tool for large panels (≥4) or multi-criterion rubrics.

Lane mechanics — spawning, polling, resume, concurrency, messaging, cost — are the agent-lanes skill. Tribunal adds only: Council may widen past the default concurrency with the user's consent (no worktrees); Forge and Race stay at the default; Crucible runs rounds sequentially.

The panel forms only where CLI vendors are installed. With none, Tribunal degrades to a single-voice answer and says so.

References

ReferenceLoad when
vendor-panel.mdEvery move
council.md · forge.md · race.md · crucible.mdRunning that move
relay.mdRunning Relay from main chat

Requires

  • agent-lanes — every move. If it is not installed, tell the user to enable the agent-lanes skill; do not improvise lane rules.
  • orchestration — Relay runs, and the task-folder rules Crucible writes into. If it is not installed, say which skill to enable before running either.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.