Skip to content
Agent Orchestration
Skill

/battle-map

Sokka'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

BOOST
From plugin
team-avatar
11079 skills10 agents9 commands3 hooks
Install
$ npx -y skills add tmcfarlane/team-avatar --skill battle-map --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/battle-map

Context preview

The summary Claude sees to decide when to auto-load this skill.

Sokka'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

SKILL.md

battle-map.SKILL.md
name: battle-map
description: Sokka'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.

Sokka's battle map

Sokka marks every move on the map as it happens. Where the team went, why, and what they found there. When someone walks into the tent hours later, the map tells them the whole campaign without a word from him. Keep one map, and keep it honest.

On Codex, read [avatar-mode/references/codex.md](../avatar-mode/references/codex.md) for tool equivalents.

The format

One TSV file, one row per decision. Cells stay on one line. Evidence is a pointer, not prose.

Copy [references/decision-log-template.tsv](references/decision-log-template.tsv) (the header row) to start a clean log. The columns:

  • **ts.** ISO 8601 timestamp.
  • **phase.** The phase or workstream.
  • **decision.** What was chosen or done, in one line.
  • **why.** The reason in plain words. If a principle drove it, say it plainly, not as a jargon tag.
  • **evidence.** A link or path that proves it. A commit SHA, a PR number, a `file:line`, or an artifact, trace, or screenshot path. Never a paragraph.
  • **result.** The outcome or the predicate state, such as `tests green`, `reverted`, `pixel-diff 0`, `INCONCLUSIVE`, or `open`.

An example, plain-spoken so a reviewer reads it at a glance.

ts	phase	decision	why	evidence	result
2026-05-24T09:02:00Z	frame	counted the work first, about 100 components and roughly 75 hours	wanted to know the size before starting a long run	commit 3a9f1c2	found 5 things to sort out before starting
2026-05-24T09:40:00Z	harness	took screenshots of the old version before changing anything	so we can compare old against new and catch any visual change	scripts/snapshot.sh, baseline/	saved 120 reference screenshots
2026-05-24T11:15:00Z	widget	moved the widget styles over without changing how it looks	keep the change small and the result identical	commit 7c21e0a, pixel-diff 0	looks identical, tests pass
2026-05-24T12:30:00Z	widget	threw out a helper's work because its screenshots were blank	checked the real files instead of trusting its summary	worktree reset	reverted, tightened the instructions for next time

Log a row

Write each row the way you would tell a teammate what you did. Plain words, concrete actions, no AI speak or abstract jargon. The rules in `tea-time` apply to log text too.

Use the helper:

bash scripts/log.sh <logfile> <phase> <decision> <why> <evidence> <result>

The path is relative to this skill's folder. The script stamps `ts`, writes the header on first use, strips stray tabs and newlines, and prefixes any cell that starts with `=`, `+`, `-`, `@`, or `"` with a single quote, so a spreadsheet never runs a cell as a formula. It writes each row in one system call when `perl` is available, so parallel writers do not interleave rows. A bare `printf` that appends a row works too. Mind the same bytes when cells come from generated or user-supplied text.

Log decision points and checkpoints, not every action:

  • A fork chosen.
  • A unit completed, with its verification result.
  • A pivot or revert, with its trigger.
  • A blocker surfaced.
  • A gate fixed.

For loop runs, log one row per iteration. Skip the trivial and the self-evident.

Runs and start rows

A run is one agent conversation, including its later turns and any summary of it. A pickup, a replacement agent, or a new chat starts a new run.

When a run adds to a log that already has rows, its first row has phase `start`. So does its first row after another run's `start` row. A run that comes back to a log in a later turn first reads the log's last rows to see whether another run wrote since. A `start` row names the `ts` range of the earlier rows this run did not write. Its evidence names this run, such as its agent id. Use phase `start` for nothing else.

Where it lives

By default the log is a working artifact and stays out of git. Keep it at `decisions.tsv` in the work dir, or at `.audit/<task-slug>.tsv` when several efforts run at once.

Commit it only when the work is ambitious enough that a reviewer needs the trail to trust the result.

Rules

  • Append only. A wrong call gets a new row that supersedes it. Never edit or delete history.
  • Prefer evidence that committed scripts produce over hand-made one-offs (Encode Lessons in Structure, Fire in `four-elements`).

Audit the log against the transcript

At the end of the run, before you hand back, check that the log told the truth. Read this run's own transcript and nothing else.

  • **Claude Code.** The per-project transcripts directory, `~/.claude/projects/<encoded-cwd>/`, where `<encoded-cwd>` is the working directory with `/` replaced by `-`. Do not glob across `~/.claude/projects/`. That reads unrelated private chats.
  • **Codex.** This session's rollout file under `${CODEX_HOME:-~/.codex}/sessions/`. Open only this session's file.

Walk this run's rows against what actually happened. Each stretch of this run's rows begins at one of its `start` rows, or at the first row if this run created the log. It ends at the next `start` row of another run.

  • Check that every row maps to a real decision or action.
  • Check that each row's evidence resolves and shows what the row claims.
  • A fork, pivot, or abandoned approach that shaped the work but is not logged is a gap. Add it.

Correct the log, not the story. The audit never edits or removes a row, even an invented one. When a row records neither a real decision nor a real action, or its claim or evidence is wrong, add a row that supersedes it with what actually happened and a pointer that resolves. This audit does not check rows out

Read more
Ships withteam-avatar

Team Avatar: a universal agent orchestrator for Claude Code, Codex, and Cursor. Nine Avatar characters, 58 engineering skills. pstack with Avatar characters on top.

Get the whole plugin

Other skills on team-avatar.