Align instructions with Claude Code agent teams API#21
Merged
harrymunro merged 1 commit intomainfrom Mar 1, 2026
Merged
Conversation
Replace all Task()/Task tool references with correct Claude Code tool names (Agent, TaskCreate, TaskUpdate, SendMessage, TeamCreate, etc.). - Add tool-mapping reference table (new file) - Fix Task() references in crew briefing template and SKILL.md - Add tool references to quarterdeck rhythm section - Replace wall-clock cadence with event-driven checkpoints - Add plan mode guidance for Station 2+ quality gates - Document read-only agent damage report variant - Add worktree isolation option to squadron composition - Ship plugin settings.json with agent teams enabled - Expand agents/nelson.md with proper YAML frontmatter - Document TeammateIdle and TaskCompleted hooks - Update file trees in README and CLAUDE.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tool-mapping.md— Reference table mapping Nelson operations (form squadron, spawn captain, message, broadcast, shutdown, etc.) to exact Claude Code tool calls (Agent,TeamCreate,TaskCreate,SendMessage, etc.) with mode annotationsTask()references — ReplacedTask()and "Task tool" with correctAgenttool calls increw-briefing.mdandSKILL.md, making the two-step spawn-then-assign pattern explicit for agent-team modeTaskList,SendMessage, andtool-mapping.mdreferences to Step 4; replaced wall-clock cadence ("every 15-30 minutes") with event-driven checkpoints ("every 2-3 task completions, on blocker, or on idle")mode: "plan"and approve viaSendMessage(type="plan_approval_response")Exploresubagent types (NO, COX, Recce Marines) report hull integrity viaSendMessageto their captainsquadron-composition.mddocumentingisolation: "worktree"as an alternative to file-ownership boundariessettings.jsonshipsCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1so plugin installs enable agent teams automaticallyagents/nelson.md— Addedskillsfrontmatter field binding the nelson skillTeammateIdleandTaskCompletedhook examples as opt-in advanced configurationImplements all 11 items from
docs/prd-agent-teams-alignment.md.Test plan
/nelson— verify SKILL.md loads without errorsAgenttool referencesTeamCreate,TaskCreate,TaskUpdate,SendMessageare used correctlysettings.jsonis picked up by plugin install (agent teams enabled without manual config)Task()or "Task tool" references remain in any skill file