agent-teams-command
Command multi-agent work with bounded roles, ownership, integration gates, and verification loops. Use when the user needs Claude Code Agent Teams, parallel agents, delegation strategy, or multi-agent orchestration.
git clone --depth 1 https://github.com/Mark393295827/third-brain-v5-skills /tmp/agent-teams-command && cp -r /tmp/agent-teams-command/skills/agent-teams-command ~/.claude/skills/agent-teams-commandSKILL.md
# Ender's Game: Agent Teams Command System > "Ender knew, even as he gave the order, that this was the way victory would come — not through strength, but through understanding." — Orson Scott Card > This is not a "feature" — this is a **command system**. You are not "using" Agent Teams. You are **commanding a fleet**. Based on Karpathy's Agentic Engineering framework, transforming Claude Code Agent Teams into a complete operational architecture. ## Command Philosophy: Ender's Three Principles | Principle | Meaning | Agent Teams | |-----------|---------|-------------| | **Trust Your Commander** | Ender commands through squad leaders, not every soldier | Let Team Lead coordinate; you don't micromanage each agent | | **Understanding Over Strength** | Study the enemy's thinking | Know each agent's capability; choose Opus vs Sonnet deliberately | | **Asymmetric Tactics** | Solve problems in unexpected ways | Let agents QA each other; parallel multi-directional exploration | ## Usage Template **Prompt** ```text Use agent-teams-command for this project. Split work into roles, define ownership, coordinate progress, and verify the integrated result. ``` **Use Case** - Coordinating multi-agent work when a task is too large for one linear agent pass. **Expected Result** - The agent produces a team plan with roles, responsibilities, communication cadence, integration points, and verification gates. **Output Example** - A team map with agent roles, owned files or modules, deliverables, integration plan, and verification checklist. **Verification Case** - Each delegated task has a bounded scope, clear owner, expected output, and integration check. **Verified Effect** - Parallel agent work becomes coordinated delivery instead of overlapping, unreviewed outputs. ## Success Metrics - Team plan names each role, owner, write scope, IPC channel, integration point, and stop condition. - Every delegated workstream has at least one verification gate before integration. - Final report states integrated status, unresolved risks, and which agents can be closed. --- ## Karpathy Agentic Engineering Mapping ``` You (Commander) = Process Scheduler Team Lead = CPU Core Teammates = Parallel Processes Task List = Shared Memory / IPC Context Window = RAM (per agent, isolated) Tools = System Calls QA Loop = Error Correction / Interrupt Handler Team Log = Durable Disk / Write-back ``` --- ## Agent Team Operating Model Use agent teams only when parallel processes reduce wall-clock time or increase quality. Each process needs a bounded territory, explicit IPC, and an integration gate. | OS concern | Team command rule | |---|---| | Process creation | Spawn only for independent or reviewable work. | | Memory isolation | Give each teammate only the context needed for its scope. | | IPC | Use task lists, handoff notes, and review reports. | | Locks | Assign file/module ownership before work begins. | | Interrupts | Stop or redirect agents when scope, safety, or quality drifts. | | Join | Integrate only after each output has evidence. | | Cleanup | Close agents and write lessons to wiki/logs. | Avoid parallelism when the next step depends on a single blocking decision. Do that work locally, then delegate independent slices. ## Antifragile Swarm Gate Before spawning agents, assume the environment has fog and friction: incomplete context, stale assumptions, noisy outputs, tool failures, and permission risk. Command the team as a risk-budgeted swarm, not a pile of helpers. | Gate | Command rule | |---|---| | Survival first | Define the maximum acceptable blast radius per teammate. | | No hero node | No single teammate owns planning, execution, verification, and write-back for a high-risk path. | | Replaceability | Each teammate has a narrow role, bounded tools, and a handoff format another agent can continue. | | Mechanical rebalancing | Define when to downweight, kill, replace, or add a reviewer based on cost, error rate, risk, or blocked state. | | OODA low friction | Observe few signals, orient with the shared plan, decide from finite actions, act in reversible steps, and write back evidence. | If you cannot name blast radius, kill condition, and verification evidence for a teammate, do not spawn that teammate. ## Antigravity-Style Swarm Boundary Google I/O '26 described Antigravity as an agent-first development surface with subagents, hooks, async task management, and very large token budgets. Treat this as a cautionary operating pattern: swarm execution is useful only when the harness can prove progress. Use a swarm only when all are true: - tasks can be split into independent owned territories - every territory has objective verification - an async task queue or visible task list exists - token, time, and request budgets are capped - integration happens through a join gate, not direct file collision Do not scale agent count to create momentum. Scale only when isolation plus verification reduces wall-clock time or improves review quality. ## Dynamic Workflow Choice Gate Agent teams solve communication and coordination. Dynamic workflows solve width: a reviewed script launches many independent workers, then a synthesis step merges outputs. Use a dynamic workflow instead of an agent team only when all are true: - the work shards into many independent files, sources, tests, or review targets - workers do not need frequent peer communication - synthesis can merge results from structured outputs - the generated script can be reviewed before execution - agent count, model choice, files/directories, wall-clock, and token budget are capped - runtime state exposes active workers, tool calls, cost, errors, and stop controls - the workflow is archived in the project only if it is worth reusing Choose an agent team when roles need IPC, debate, dependency handoffs, shared judgment, or iterative repair. Choose a long-running goal when the hard part is depth: keep
Execute a daily knowledge compound closed loop — 7 Key Results from input to feedback with scoring. Use when the user wants to do a daily review, plan their day, or run a knowledge workflow.
Extract reusable knowledge from a work session and save concepts, entities, corrections, patterns, ideas, decisions, and gaps to the wiki. Use when ending a session or when the user says to extract knowledge.
Estimate and track token usage and cost across the knowledge pipeline. Run before expensive tasks to budget, after tasks to log actuals.
Health-check the knowledge wiki — find orphans, broken links, missing frontmatter, contradictions, stale content, and statistical drift. Use when the user says "lint the wiki", "health check", or periodically for maintenance.
Design or refactor agent skills, workflows, and operating loops for model-native Agentic Engineering. Use when making skills more autonomous, concise, verifiable, long-horizon capable, token-efficient, and lower-friction for human-LLM collaboration.
Design an AI Six Sigma Black Belt operating model for property service, maintenance dispatch, environmental testing, quote generation, CRM follow-up, and workflow quality dashboards. Use when the user needs a Property Agent OS, AI + Ontology + DMAIC management system, CTQ metrics, agent-team roles, work-order states, or MVP roadmap for operations quality.
Improve a personal or team operating system with self-evolving loops, CASH allocation, 3B creativity, predictive coding, and diagnostics. Use when the user wants to redesign a work method, learning loop, or cognitive operating system.
Design a behavior change system — decompose a goal into minimum habits, define triggers, build SOPs, and set up review cycles. Use when the user wants to build a habit, change behavior, or achieve a personal goal.