/team-avatar:spirit-worldfrom Team Avatar
Rebuilds recent working context from Claude Code and Codex chat history, live git and PR state, and shared records (user reports, fixes, reverts, incidents). Use before starting or resuming work to recover what was discussed or decided.
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.
When something is lost in the physical world, Aang meditates, crosses over, and finds it where memory still lives. The spirits remember what the living forgot. Your past chats are that place. Cross over before you start or resume work, bring back only what the current task needs, and return quickly. A spirit-world trip that wanders loses the body it left behind.
On Codex, read avatar-mode/references/codex.md for tool equivalents.
Keep it tight and on-topic. Read only what the in-scope threads need, then stop.
Your context lives in two records. Your own chat history holds what you did and decided. The shared record holds everything that happened around the same code under other names. That includes the symptoms users keep reporting, the fixes that shipped and got reverted, and the errors still firing in production. The shared record is what past-lives searches, across source control, the issue tracker, team chat, long-form docs, and error tracking. A feature with a long bug tail keeps most of its story there, so never rebuild it from transcripts alone.
Check the real layout with ls before you read. The layouts below were confirmed on a real machine.
Claude Code. Transcripts live at ~/.claude/projects/<encoded-cwd>/ (or under $CLAUDE_CONFIG_DIR/projects/ when it is set). <encoded-cwd> is the workspace path with every character that is not a letter or digit turned into -, so /Users/you/proj becomes -Users-you-proj and /Users/you/My App becomes -Users-you-My-App. Each directory holds three shapes.
<uuid>.jsonl, one chat. Every line is one record.<uuid>/subagents/<child>.jsonl, the subagent chats that session dispatched.<uuid>/tool-results/, large tool outputs saved beside the chat.Codex. Sessions are not split by project. They live at ~/.codex/sessions/YYYY/MM/DD/rollout-<timestamp>-<uuid>.jsonl (or under $CODEX_HOME/sessions/), with older ones moved flat into ~/.codex/archived_sessions/. The first line of each rollout is a session_meta record whose payload.cwd names the workspace. Filter on it before you read anything else.
for f in $(ls -t ~/.codex/sessions/*/*/*/rollout-*.jsonl); do
head -n 1 "$f" | grep -q "\"cwd\":\"$PWD\"" && echo "$f"
done
In a rollout, a typed prompt is a response_item record whose payload.role is user. Skip the injected ones that open with # AGENTS.md instructions, <environment_context>, or <codex_internal_context. A rollout whose session_meta carries parent_thread_id or a source.subagent field is a subagent chat.
Classify, then route. Resuming one specific prior chat is break-camp, not this. Turning habits into a durable skill is invention-workshop. A human-readable summary of your work for someone else is war-journal. This skill loads working context across recent chats before you act. If the user already gave you a full state capsule (paths, branch, the change), use it and skip the mining.
Lock the scope before you search. Pin the window ("recent" is a real range, default the last 7 days), the topic if named, and the workspace (default the active one). Never read another project's transcripts without being asked. On Codex that means the cwd filter above, every time. State the scope back. Never quietly turn "all" into "recent N".
Fan out across your chat history. Dispatch parallel team-avatar:momo agents, each taking a slice of the corpus, with Momo's model from the momo line of the avatar-setup sheet and run_in_background: true. Tell each one to:
ls -t), never by UUID nameEach returns the same schema, one block per chat. The block holds the topic, the user's goal, decisions, open threads, struggles and corrections, and artifacts (PRs, tickets, branches), each citing the chat UUID. For one or two chats, skip the fan-out and search directly. The raw transcripts stay in the subagents. The main thread gets only their findings. Pick each dispatch's effort for the job, as the dispatch rules in avatar-mode describe. When you run as a subagent yourself, do the slices one after another.
Sweep the shared record whenever the topic names a feature, file, subsystem, area, or bug. This is the default, not a judgment call, and "my work on X" does not exempt it. Hand it to the source investigators in past-lives, but steer their question from "why was this built this way" to "what is the current state, what has been tried and did not hold, and what are users still reporting". Reuse its per-source playbooks and run the investigators in parallel with the chat mining. Inherit its posture. One investigator per source, null results are findings, and an unavailable MCP is skipped and named.
Also sweep every location the project's standing rules name for queued or recorded items (a memory directory, a decisions log, a .planning/ tree, a pointer in CLAUDE.md or AGENTS.md) before you report anything as never recorded. A search that skips a place the project's rules name is not exhausted.
Skip this step only for pure activity recall with no named target ("what did I do this week"). There your own history and live state are the entire answer.
Keep human rulings exact. For claims about what a person decided, apply Claims about human decisions. Keep the attributable original wording and its source when exact scope matters, separate agent interpretations, and treat copied summaries as one evidence chain.
Verify against live state. Take the PRs, branches, and tickets the mining and the sweep surfaced and check each with git and gh. When the answer hinges on what an agent actually did (the tools it ran, the files it read, the errors it hit), read the full transcript, not a trimmed copy.
Write the brief to the contract below. Group by thread. Stay on the named topic.
Lead with the capsule, then thread status, then problems, then the next move. Deeper detail goes below or gets cut.
[merged #N], [open PR #N], [in flight <branch>], [verified, uncommitted], [reverted #N], or [planned, not started]. A thread with no tag is not done, so tag it.An adjacent feature or ticket stays out unless it blocks this one. When the capsule and thread lines outgrow a screen, cut detail before you cut threads. Write the brief by tea-time. Cite chat findings by UUID and shared-record findings by their source (PR number, ticket ID, chat permalink, error-tracker issue). Strip private context before any public output.
Reply. The brief, to the contract above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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