agni-kai
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Aang crossing into the spirit world to recover what was lost. Use for recall, /recall, "recall my work on X", "what have I been working on", "where did I leave off", before starting or resuming work, and before telling the user that something was never recorded. Rebuilds recent
$ npx -y skills add tmcfarlane/team-avatar --skill spirit-world --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spirit-worldContext preview
The summary Claude sees to decide when to auto-load this skill.
Aang crossing into the spirit world to recover what was lost. Use for recall, /recall, "recall my work on X", "what have I been working on", "where did I leave off", before starting or resuming work, and before telling the user that something was never recorded. Rebuilds recent
name: spirit-world description: Aang crossing into the spirit world to recover what was lost. Use for recall, /recall, "recall my work on X", "what have I been working on", "where did I leave off", before starting or resuming work, and before telling the user that something was never recorded. Rebuilds recent working context from your own Claude Code and Codex chat history, live git and PR state, and the shared record (user reports, prior fixes, reverts, incidents), then hands back a tight current-state brief.
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](../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.
**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.
1. **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. 2. **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". 3. **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:
Each 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. 4. **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 targ
Team Avatar: a universal agent orchestrator for Claude Code, Codex, and Cursor. Nine Avatar characters, 58 engineering skills. pstack with Avatar characters on top.
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Aang 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…
Aang's operating mode for Team Avatar, principal-level engineering where each task goes to the character who owns that…
Aang choosing which bender takes which fight. Configures which model each Team Avatar character runs on, the default reasoning…
Sokka's battle map, the decision trail he keeps so anyone can see how the campaign was won. Use for show-me-your-work,…
Appa's morning departure for picking up paused or handed-off work. The team breaks camp, reads the map they left, and flies on…