/cave-teams:cave-tournamentfrom cave-teams
N agents attempt the same task in parallel and a judge selects the winner (also scatter-gather / map-reduce). Use for 'best of N', contests, judge panels, generate-and-select, picking the strongest output. `tournament()` / `synthesis_gate()`.
Ships in cave-teams. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
N competitors craft in parallel, then a judge selects (the tree-search pattern) — tournament(competitors, judge). The general scatter→merge form is synthesis_gate(workers, reducer) (map-reduce): run workers in parallel, then a reducer sees every output.
from cave_teams import tournament, synthesis_gate
best = tournament([minimalist, bold, nerdy], judge)
merged = synthesis_gate([clarity, punch, honesty], synthesizer) # map-reduce
The judge/reducer reads the competitors' outputs (output:<name> keys). In the crafter sim, the judge is the user's purchase — the sound external gate.
{"op": "tournament", "competitors": [<spec>, ...], "judge": <spec>}
// or: {"op": "map_reduce", "workers": [<spec>, ...], "reducer": <spec>}
If the spec is malformed, cave() returns {"status": "construction_error", "hint": "read the cave-tournament skill"} — the error names this skill.
cave-parallel · cave-evolve · cave-sim
Part of the cave-teams plugin — the language + full DSL is the cave-teams skill; drive any pattern from data with the cave skill.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
21 skills in this plugin
/caveDrive the whole cave-teams library from one function, as DATA — build/run any team from a spec in any sequence, save a team to your proven library, reuse a proven team anywhere, and discover teams across projects. Use when you want to serialize a team, run a team from JSON/dict, save+reuse a proven team across repos ("golden"), or have a higher system / global app drive cave-teams. NOT how you normally program (use the cave-teams DSL for that). Triggers: "cave()", "metacontrol", "run from a spec", "team as data", "golden team", "reuse a proven team", "scan for .cave", "global cave"./cave-blackboardN agents read and write a shared state over rounds, with a mutator that folds each contribution in and an optional adjudicator (stigmergy arena). Use for agents collaborating on a shared board, a market, a workspace they all see. `blackboard()`./npx claudepluginhub sancovp/cave-teams --plugin cave-teams