claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
$ npx -y skills add athola/claude-night-market --skill agent-teams --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-teamsContext preview
The summary Claude sees to decide when to auto-load this skill.
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
name: agent-teams description: Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks. alwaysApply: false category: delegation-framework tags: - agent-teams - multi-agent - coordination - tmux - task-management - messaging dependencies: - delegation-core - leyline:damage-control - leyline:risk-classification tools: [] usage_patterns: - team-orchestration - parallel-implementation - multi-agent-review - task-dependency-management complexity: advanced model_hint: deep estimated_tokens: 450 progressive_loading: true modules: - modules/team-management.md - modules/messaging-protocol.md - modules/task-coordination.md - modules/spawning-patterns.md - modules/crew-roles.md - modules/health-monitoring.md references: - ../../../leyline/skills/error-patterns/SKILL.md - ../../../leyline/skills/service-registry/SKILL.md - references/team-formation.md
Claude Code Agent Teams enables multiple Claude CLI processes to collaborate on shared work through a filesystem-based coordination protocol. Each teammate runs as an independent `claude` process in a tmux pane, communicating via JSON files guarded by `fcntl` locks, with no database, daemon, or network layer.
This skill provides the patterns for orchestrating agent teams effectively.
# Verify Claude Code CLI claude --version # Verify tmux (required for split-pane mode) tmux -V # Enable experimental feature (set by spawner automatically) export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
~/.claude/
teams/<team-name>/
config.json # Team metadata + member roster
inboxes/
<agent-name>.json # Per-agent message queue
.lock # fcntl exclusive lock
tasks/<team-name>/
1.json ... N.json # Auto-incrementing task files
.lock # fcntl exclusive lock**Design principles:**
# Programmatic team setup (via MCP or direct API) # Team config written to ~/.claude/teams/<team-name>/config.json
The team config contains:
Each teammate is a separate `claude` CLI process launched with identity flags:
claude --agent-id "backend@my-team" \
--agent-name "backend" \
--team-name "my-team" \
--agent-color "#FF6B6B" \
--parent-session-id "$SESSION_ID" \
--agent-type "general-purpose" \
--model sonnetSee `modules/spawning-patterns.md` for tmux pane management and color assignment.
{
"id": "1",
"subject": "Implement API endpoints",
"description": "Create REST endpoints for user management",
"status": "pending",
"owner": null,
"blocks": ["3"],
"blocked_by": [],
"metadata": {}
}See `modules/task-coordination.md` for state machine and dependency management.
{
"from": "team-lead",
"text": "API endpoints are ready for integration testing",
"timestamp": "2026-02-07T22:00:00Z",
"read": false,
"summary": "API ready"
}See `modules/messaging-protocol.md` for message types and inbox operations.
1. **`agent-teams:team-created`**: Initialize team config and directories 2. **`agent-teams:teammates-spawned`**: Launch agents in tmux panes 3. **`agent-teams:tasks-assigned`**: Create tasks with dependencies, assign owners 4. **`agent-teams:coordination-active`**: Agents claim tasks, exchange messages, mark completion 5. **`agent-teams:team-shutdown`**: Graceful shutdown with approval protocol
Each team member has a `role` that determines their capabilities and task compatibility. Five roles are defined: `implementer` (default), `researcher`, `tester`, `reviewer`, and `architect`. Roles constrain which risk tiers an agent can handle. See `modules/crew-roles.md` for the full capability matrix and role-risk compatibility table.
For mission-level team sizing, use the Team Formation rules from `references/team-formation.md`. This defines:
Reviewer (adversarial challenger)
Critical (5-10)
See `references/team-formation.md` for full team sizing guidance and example team for
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.