/team-avatar:past-livesfrom Team Avatar
Investigates the rationale behind code decisions by querying multiple evidence sources (git, issue tracker, docs, chat, observability, error tracking, analytics) in parallel and returning cited, confidence-tiered answers. Use for 'why does X work this way', design rationale, regression history, or threshold origins.
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.
Read when SKILL.md points to them.
When Aang needs to know why the world is shaped the way it is, he asks the Avatars who shaped it. Roku remembers the choices that led to the war. Kyoshi remembers the threats that made her strict. Each past life holds one part of the story, and none of them holds it all. Code is the same. It shows what it does, never why it exists. The why lives in commits, tickets, docs, chats, and alerts, each partial and sometimes wrong. Consult every past life you can reach, keep their voices separate, and say plainly what none of them remembers.
On Codex, read avatar-mode/references/codex.md for tool equivalents.
seismic-sense answers what the code does and how it works. past-lives answers which forces led to its shape.
| Role | Character | Model from the avatar-setup sheet |
|---|---|---|
| Source control investigator | team-avatar:toph | the toph line |
| Every MCP-backed investigator | team-avatar:sokka | the sokka line |
| Synthesizer | team-avatar:iroh | the iroh line |
The sheet lives at ${CLAUDE_CONFIG_DIR:-~/.claude}/team-avatar-models.md on Claude Code and ${CODEX_HOME:-~/.codex}/team-avatar-models.md on Codex. A missing sheet or line means the default (toph: sonnet, sokka: opus, iroh: opus). A value of inherit means you omit model. A value with @<level> sets the Agent tool's effort parameter on Claude Code and spawn_agent's reasoning_effort on Codex. If the Agent tool rejects a model, use the default and say so. Pick each dispatch's effort for the job, as the dispatch rules in avatar-mode describe.
Toph's tool list has no MCP access, so she takes only git and gh. Never send her an MCP-backed source. Sokka and Iroh keep full tool access so their MCP lookups and citation spot-checks work. Investigators still write nothing.
When you run as a subagent yourself, you cannot dispatch. Run each investigator's brief yourself, one source at a time, then synthesize. Say so in the answer.
Work as a careful, cautious, and precise investigator. Be honest about what you know and what you infer. Read references/epistemics.md for the full confidence framework and phrasing guide. The synthesizer must follow it.
The target is usually a chunk of code, a pattern, a feature, or a named design decision. The question is usually a design rationale, a tradeoff, a motivating edge case, an external constraint, dead code, or a broad history sweep.
If the target is vague ("why do we do it this way?" with no clear referent), make your best guess from the conversation (open files, recent edits, what was just discussed). State your reading in one sentence so the user can redirect, then proceed.
Before you dispatch anyone, build the seed context yourself. Collect file paths and line ranges, key symbols (functions, classes, constants), the last few commits touching the target, PR numbers from merge commits (the (#1234) pattern in the subject), and any linked ticket IDs.
git blame -L <start>,<end> <file> # last-touch commits
git log --follow -p -- <file> # full history with patches, through renames
git log --oneline -20 -- <file> # recent commits with PR numbers visible
git log -1 --format=%B <commit> # a commit body, for PR numbers
gh pr view <number> --json title,body,author,createdAt,mergedAt,labels,closingIssuesReferences,comments,reviews
Pull the PR body and discussion for every substantive commit. This anchor goes to every investigator and to the synthesizer.
Default to the full parallel investigation. The goal is a complete coverage map, not a minimal one. Document the null. Do not skip the search.
List the MCPs available in this session. Every MCP appears as a tool named mcp__<server>__<name> in the tool list. Failing that, read the project's .mcp.json, or run claude mcp list on Claude Code and codex mcp list on Codex.
Map each available MCP to one evidence category.
Source control is always available through git and gh. For the other six, classify by the MCP's name, server instructions, tool names, and resource descriptors. If an MCP fits more than one category, pick the one that matches its primary evidence. Record ambiguous cases in the coverage map.
Dispatch one investigator per category that has a matching MCP, all in one message so they run concurrently, each owning exactly one tool or MCP. Never ask one investigator to cover several MCPs. Use run_in_background: true.
Each investigator's brief is references/investigator-prompt.md filled in, plus:
Each category is best at one shape of "why". Use this to know what to expect, to name the gap when a category returns empty, and only in the rare provably irrelevant case to justify a skip.
gh for PRs, code comments, tests). Always dispatch. It is the only guaranteed source. Best at implementation-time rationale captured during review.Only with an explicit, written reason, which goes in the final Sources Consulted. Two reasons are valid.
For a single-commit target whose PR description already holds the complete answer, you may answer inline, but only after you confirm that every available category search would be redundant. Say so explicitly. This should be rare.
Dispatch one synthesizer. Its brief is references/synthesizer-prompt.md filled in, with:
Present the synthesizer's output to the user. You may lightly edit for clarity or add context from the conversation. Never rewrite the confidence language.
The structure is the one in references/synthesizer-prompt.md. Its sections are The Question, The Code in Question, What We Found, What We Can Reasonably Infer, Competing Hypotheses, What We Don't Know, Sources Consulted, and Confidence Summary. Adapt as needed, but keep the confidence tiers separate. Keep Sources Consulted as one line per investigator, including each one that returned nothing or was skipped, with the reason.
When the user asks why as a step toward changing this code, add a constraint set after Sources Consulted. Convert the lineage findings into Preserve, Change, Avoid, and Risk lines for planning the change.
references/epistemics.md (opens in a new tab)references/investigator-prompt.md (opens in a new tab)references/source-playbook.md (opens in a new tab)references/sources/code-archaeology.md (opens in a new tab)references/sources/databricks.md (opens in a new tab)references/sources/datadog.md (opens in a new tab)references/sources/incident-postmortem.md (opens in a new tab)references/sources/linear.md (opens in a new tab)references/sources/notion.md (opens in a new tab)references/sources/sentry.md (opens in a new tab)references/sources/slack.md (opens in a new tab)references/synthesizer-prompt.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tmcfarlane/team-avatar --plugin team-avatar58 skills in this plugin
/agni-kaiZuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge declares the winner. Use for arena, /arena, "arena this", "throw it in the arena", "bakeoff", or when one attempt at a nontrivial design or artifact would lock in the wrong shape. Spawns N parallel candidates at the same task, picks a base with a cross-judge, and grafts the strongest parts of the losers into it./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.Other plugins' skills for the same job