/team-avatar:agni-kaifrom Team Avatar
Runs a structured bakeoff between multiple AI-generated implementations of the same task. Spawns parallel candidates, judges them against a pre-written rubric, picks a winner, and grafts the best parts of losers into it.
Ships in Team Avatar. 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.
None: SKILL.md is the whole skill.
An Agni Kai has rules. Both duelists face the same ground, under the same sun, and a witness declares who won. Zuko learned the hard way that the fight you walk into unprepared is decided before it starts. A bakeoff is the same. Every candidate gets the same task, a judge scores them against a rubric written before the fight, and the winner absorbs the best moves of the ones it beat.
On Codex, read avatar-mode/references/codex.md for tool equivalents.
Open a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before you launch anything. Only the top-level session dispatches. When you run as a dispatched character, produce the candidates yourself, one after another, judge them yourself against the rubric, and say that the duel had no independent judge.
Every candidate gets the same prompt, so the prompt is the contract.
steady-flame.panel line of the avatar-setup sheet (${CLAUDE_CONFIG_DIR:-~/.claude}/team-avatar-models.md on Claude Code, ${CODEX_HOME:-~/.codex}/team-avatar-models.md on Codex). If the sheet or the line is missing, run one each on the defaults in Models. An inherit entry means the parent model, so omit model for it.
team-avatar:sokka for a design, team-avatar:appa or team-avatar:katara for code, team-avatar:iroh for prose), with model set from its panel entry./tmp/agni-kai-<slug>/candidate-<n>/, so no two candidates share a file.Spawn all N candidates in one message with run_in_background: true. Each brief carries the task, the path to the shared grounding, its own output path, and instructions to produce the artifact plus a short rationale naming the alternatives it considered and what it rejected.
If a candidate produces no output, proceed with N minus 1 and note the dropout.
After every Phase B candidate completes, choose one model from the panel line (or the defaults in Models when the line is missing). Prefer a different model family from the parent's. Dispatch one read-only judge as team-avatar:toph on that model. Toph sees the rubric and the candidates by path label, scores each criterion, and recommends a base with a rationale. She runs while you read in Phase D. Never spawn her while candidates are still writing.
Read every candidate end to end before you pick. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.
Pick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or the smaller API (Laziness Protocol, Air in four-elements).
Walk each losing candidate once more for what is worth porting into the base. That is usually one or two things per candidate, not most of it. Fold each graft in by hand so the result stays coherent under one mental model (Redesign from First Principles, Water in four-elements). Do not paste mechanically.
If the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was underspecified. Reframe and run the duel again rather than averaging the divergence.
Verify the synthesized artifact like any other output (Prove It Works, Earth in four-elements). If verification finds a problem the duel missed, either Phase A was wrong (reframe and rerun) or a candidate caught it and you missed the graft (go back to Phase E). Do not paper over it.
One synthesized artifact, with a short synthesis note beside it. The note names the base and why, the judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.
Runners and the judge both draw from the panel line. Its default, used when the sheet or the line is missing, is opus, fable, sonnet, haiku.
A panel entry may carry an effort after its model, as in opus @high. Levels on Claude Code are low, medium, high, xhigh, and max. Which ones apply depends on the model. An entry without @ takes the sheet's default effort line, and session when the sheet has no such line. session sets no effort, so the dispatch is the usual one. Strip the suffix before reading the model. On Claude Code, pass the level as the Agent tool's effort parameter. On Codex, pass it as spawn_agent's reasoning_effort. Raise a seat one step for the hardest or subtlest work, and lower it for routine generation, but keep each seat's model so the panel stays diverse.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tmcfarlane/team-avatar --plugin team-avatar58 skills in this plugin
/avatar-helpAang showing a new friend around the team. Explains Team Avatar to a user, the roster and who owns what, how to invoke a skill on Claude Code and Codex, which skill fits a situation, and how to word a good prompt. Use for /avatar-help, "how do I use team avatar", "which skill should I use", "what can the team do", or a question about setup, routing, or a run that went wrong./avatar-modeAang's operating mode for Team Avatar, principal-level engineering where each task goes to the character who owns that discipline. Use for "avatar mode", "team avatar", "/avatar-mode", "$avatar-mode", or any nontrivial engineering task (more than one file, a design choice, a bug with an unknown cause, a performance issue) that should be routed to the right specialist and proven before it is called done./avatar-setupAang choosing which bender takes which fight. Configures which model each Team Avatar character runs on, the default reasoning effort, and whether the SessionStart hook routes work into avatar-mode. Use for /avatar-setup, "setup team avatar", "configure team avatar models", changing a character's model, or turning the session hook on or off./battle-mapSokka's battle map, the decision trail he keeps so anyone can see how the campaign was won. Use for show-me-your-work, /show-me-your-work, "show me your work", "keep a decision log", "audit trail", long or unattended runs, multi-phase work, or anything a human reviews after stepping away. Keeps one TSV row per decision (what, why, evidence, result), local by default and committed when a reviewer needs it to trust the result./break-campAppa's morning departure for picking up paused or handed-off work. The team breaks camp, reads the map they left, and flies on from where they stopped. Use for session-pickup, "pick up where we left off", "resume", "continue the previous session", "take over this agent's work", or a handed-over transcript, cloud-agent URL, or pushed branch. Reads the checkpoint or prior trail, rebuilds state, and resumes without redoing finished work./breath-of-fireZuko's breath of fire for performance work. Use for slowness, high latency, memory growth, CPU spin, bundle size, cloud cost, "make this faster", or the old perf-issue playbook. Captures a baseline trace, finds the real limit, fixes the cheapest thing that meets the target, and reports a number it can explain.Other plugins' skills for the same job