Skip to content

Add Team Avatar skills plugin for Claude Code and Codex - #54

Closed
tmcfarlane wants to merge 1 commit into
mainfrom
feat/team-avatar-skills
Closed

tmcfarlane wants to merge 1 commit into
mainfrom
feat/team-avatar-skills

Conversation

@tmcfarlane

Copy link
Copy Markdown
Owner

Requested by Trent

Before: Team Avatar was a Cursor-only config pack. Its agents leaned on 21 borrowed third-party skills, and nothing loaded in Claude Code or Codex.

After: This repo is also a plugin marketplace for Claude Code and Codex. Installing team-avatar gives 15 original principal-level engineering skills and 8 character agents. Each discipline belongs to the character whose personality fits it, and avatar-mode (Aang) routes every task to the right one.

Character Discipline Skills
Aang Orchestration and the final call avatar-mode, four-elements
Sokka Planning and architecture master-plan, war-room
Toph Investigation and blunt review seismic-sense, earth-rumble
Katara Debugging and tests healing-water, push-and-pull
Zuko Performance and incidents breath-of-fire, redemption-arc
Iroh Writing and teaching tea-time, white-lotus
Appa Faithful execution and shipping steady-flight, yip-yip
Momo Throwaway spikes scouting-flight

The approach follows pstack's poteto mode: read before you claim, name the data shape first, ship the smallest change the evidence justifies, and prove it on the real artifact. four-elements groups those principles by element (Air subtracts, Water adapts, Earth holds, Fire drives).

How. The plugin lives in plugins/team-avatar with a .claude-plugin and a .codex-plugin manifest over one shared skills/ tree. The repo root gains .claude-plugin/marketplace.json and .agents/plugins/marketplace.json. Codex reads skills/avatar-mode/references/codex.md for its tool and subagent equivalents. scripts/validate-team-avatar.mjs checks frontmatter, cross-skill references, links, manifest versions, and the no-long-dash rule, and a new workflow runs it on PRs. The Cursor installer, agents, and old skills are untouched.

Verification

Codex 0.159.0 loads all 15 skills from the local marketplace, and $avatar-mode routes a perf report to Zuko and breath-of-fire:

Codex evidence

Claude Code 2.1.296 validates the plugin and marketplace and lists the plugin as installed and enabled. The validator passes, and catches 4 defects injected into a scratch copy:

Claude Code evidence

Not yet verified: a live Claude Code session invoking the skills. The claude CLI sign-in on the dev machine had expired, so claude -p could not run. Raw transcripts are in docs/evidence/team-avatar/.

Follow-ups (not in this PR)

  • Retire the 21 borrowed skills and point the Cursor installer at the new skill tree.
  • Decide whether to rename the repository to match Team Avatar.

🤖 Generated with Claude Code

Team Avatar becomes a universal set of principal-level engineering
skills, with each discipline owned by a character from the show.
avatar-mode routes the work; the plugin installs from this repo as a
Claude Code marketplace and a Codex marketplace.

Adds 15 skills, 8 character agents, both marketplace manifests, a
zero-dependency validator wired into CI, and captured evidence of the
plugin loading. The Cursor install is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tmcfarlane
tmcfarlane requested a review from bastien70 as a code owner October 18, 2026 13:56
Copilot AI balanced review requested due to automatic review settings October 18, 2026 13:56
@tmcfarlane tmcfarlane self-assigned this Oct 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The validator misses malformed frontmatter and broken routing references, and rejects valid CRLF frontmatter.

3 open issues
What changed in this PR

Extends the existing Cursor config pack with a shared Team Avatar plugin for Claude Code and Codex, leaving the Cursor installation unchanged.

Changes:

  • Adds 15 engineering skills, eight character agents, and runtime guidance.
  • Adds plugin manifests, marketplaces, and installation instructions.
  • Adds validation, CI integration, and recorded verification evidence.
File Description
scripts/​validate-team-avatar.mjs Validates plugin content and metadata.
README.md Introduces plugin installation.
plugins/​team-avatar/​skills/​yip-yip/​SKILL.md Defines PR shipping workflow.
plugins/​team-avatar/​skills/​white-lotus/​SKILL.md Defines teaching workflow.
plugins/​team-avatar/​skills/​war-room/​SKILL.md Defines architecture decision workflow.
plugins/​team-avatar/​skills/​tea-time/​SKILL.md Defines technical writing guidance.
plugins/​team-avatar/​skills/​steady-flight/​SKILL.md Defines plan execution workflow.
plugins/​team-avatar/​skills/​seismic-sense/​SKILL.md Defines read-only investigation.
plugins/​team-avatar/​skills/​scouting-flight/​SKILL.md Defines prototype workflow.
plugins/​team-avatar/​skills/​redemption-arc/​SKILL.md Defines incident response workflow.
plugins/​team-avatar/​skills/​push-and-pull/​SKILL.md Defines testing discipline.
plugins/​team-avatar/​skills/​master-plan/​SKILL.md Defines planning workflow.
plugins/​team-avatar/​skills/​healing-water/​SKILL.md Defines debugging workflow.
plugins/​team-avatar/​skills/​four-elements/​SKILL.md Establishes shared engineering principles.
plugins/​team-avatar/​skills/​earth-rumble/​SKILL.md Defines code review workflow.
plugins/​team-avatar/​skills/​breath-of-fire/​SKILL.md Defines performance investigation.
plugins/​team-avatar/​skills/​avatar-mode/​SKILL.md Routes tasks and coordinates specialists.
plugins/​team-avatar/​skills/​avatar-mode/​references/​codex.md Maps workflows to Codex tools.
plugins/​team-avatar/​README.md Documents roster, installation, and development.
plugins/​team-avatar/​agents/​zuko.md Adds performance and incident specialist.
plugins/​team-avatar/​agents/​toph.md Adds investigation and review specialist.
plugins/​team-avatar/​agents/​sokka.md Adds planning specialist.
plugins/​team-avatar/​agents/​momo.md Adds prototyping specialist.
plugins/​team-avatar/​agents/​katara.md Adds debugging and testing specialist.
plugins/​team-avatar/​agents/​iroh.md Adds writing and teaching specialist.
plugins/​team-avatar/​agents/​appa.md Adds execution and shipping specialist.
plugins/​team-avatar/​agents/​aang.md Adds orchestration agent.
plugins/​team-avatar/​.codex-plugin/​plugin.json Declares Codex plugin metadata.
plugins/​team-avatar/​.claude-plugin/​plugin.json Declares Claude Code plugin metadata.
docs/​evidence/​team-avatar/​validator-negative.txt Records rejected validation defects.
docs/​evidence/​team-avatar/​codex-skills.txt Records discovered skills.
docs/​evidence/​team-avatar/​codex-routing.txt Records performance-task routing.
docs/​evidence/​team-avatar/​codex-install.txt Records Codex installation.
docs/​evidence/​team-avatar/​claude-code.txt Records validation and installation.
.github/​workflows/​validate-team-avatar.yml Runs plugin validation in CI.
.claude-plugin/​marketplace.json Registers Claude Code marketplace entry.
.agents/​plugins/​marketplace.json Registers Codex marketplace entry.

Review effort: Balanced


function frontmatter(file) {
const text = readFileSync(file, "utf8");
const m = text.match(/^---\n([\s\S]*?)\n---\n/);
Comment on lines +34 to +36
for (const line of m[1].split("\n")) {
const kv = line.match(/^([a-z_-]+):\s*(.*)$/);
if (kv) fields[kv[1]] = kv[2].trim();
Comment on lines +84 to +85
// Only names after a routing verb count, so code spans like `git log -S` are not mistaken for skills.
const ROUTE = /(?:Load|Run|run|Use|use|with|to|via|follows|Hand to|hand to|see|See|in) `([a-z0-9]+(?:-[a-z0-9]+)+)`/g;
@tmcfarlane

Copy link
Copy Markdown
Owner Author

Superseded by #57, the Team Avatar v1.0.0 release, which carries every commit from this PR. The branch is kept.

@tmcfarlane tmcfarlane closed this Oct 20, 2026
@tmcfarlane
tmcfarlane deleted the feat/team-avatar-skills branch October 20, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants