minoan-swarm
npx skills add https://github.com/tdimino/claude-code-minoan --skill minoan-swarm
Agent 安装分布
Skill 文档
Minoan Swarm
Orchestrate Agent Teams named for the Priestesses of Knossos â in the tongue before the Hellenizers got to it.
Agent Teams (Claude Code Opus 4.6) let multiple Claude instances work in parallel as persistent teammates with shared task lists and bi-directional messaging. This skill provides the methodology, naming conventions, and templates to launch them effectively on any project.
Requires: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json or environment.
Quick Start
1. Discover project context
bash ~/.claude/skills/minoan-swarm/scripts/discover_context.sh .
Finds CLAUDE.md, roadmaps, plans, issues, test infrastructure, and git state.
2. Choose a team template
| Situation | Template | Team Name |
|---|---|---|
| Multiple independent features | Parallel Features | Athirat |
| Work with natural ordering | Pipeline | Kaptaru |
| Bug investigation, unclear cause | Research Swarm | Elat |
| Phase nearly done, loose ends | Phase Completion | Qedeshot |
| PR needs thorough review | Code Review Tribunal | Elat |
| Quality assurance, verification | Truth & Balance | Ma’at |
| Final audit, release decisions | Fate’s Reckoning | Manat |
Full templates with ready-to-use tool calls: references/team-templates.md
3. Launch the team
Apply the template, substituting project-specific details. The lead creates the team, creates tasks, spawns teammates, and coordinates.
When to Use
- Tackling multiple phases or features in parallel
- Complex work requiring inter-agent discussion (not just results)
- Research with competing hypotheses that should challenge each other
- Multi-layer changes spanning frontend, backend, tests, deploy
- Any task where 3+ independent workstreams can run simultaneously
When NOT to use: Sequential tasks, same-file edits, simple fixes, tasks completable in under 5 minutes, or work with heavy dependencies between steps. The coordination overhead of a full team exceeds the benefit for small or serial work. Use a single session or regular subagent instead.
The Naming Codex
Every team and teammate receives a name from the Minoan-Semitic divine feminine â Ugaritic, Akkadian, Hebrew, Linear B, Egyptian, and pre-Islamic Arabian. Names are chosen by role archetype, not randomly.
| Archetype | Names | Ideal For |
|---|---|---|
| Leaders | athirat-lead, qedesha-lead, tiamat-lead, maat-lead, allat-lead | Opus orchestrators |
| Builders | kaptaru, mami, nintu, tehom, tip’eret, yam, al-uzza | Implementers |
| Researchers | devorah, melissa, eileithyia, membliaros | Explorers, API discovery |
| Reviewers | hokhmah, qadeshet, karme, themis, manat, allat | Security, architecture, code quality |
| Testers | sassuratu, phikola, hubur | Unit, integration, E2E |
| Frontend | popureja, shalamu, yashar | UI, design system, accessibility |
| DevOps | selene, hestia, dikte | Cron, deploy, monitoring |
Full codex with pronunciations, etymologies, and scholarly sources: references/naming-codex.md
Workflow: From Roadmap to Swarm
Step 1: Gather context
Run discover_context.sh to identify available planning artifacts. Read the project’s CLAUDE.md, ROADMAP.md, and relevant plan files.
Step 2: Identify parallel workstreams
From the roadmap or plan, find work that can proceed independently:
- Different file domains (frontend vs backend vs tests)
- Different features (auth vs bookmarks vs profiles)
- Different concerns (security vs performance vs correctness)
Step 3: Map to a template
Choose from team-templates.md. For multi-phase work, compose templates â e.g., one Qedeshot team for phase completion + one Athirat team for the next phase.
Step 4: Assign file ownership
Two teammates editing the same file causes overwrites. Create an explicit ownership matrix before launching the team:
| Teammate | Owns | Must NOT touch |
|-----------|-----------------------------|----------------------|
| kaptaru | scripts/cron-*, src/lib/db/ | src/components/ |
| popureja | src/components/, src/app/ | scripts/, src/lib/db |
| sassuratu | __tests__/, e2e/ | src/ (read-only OK) |
Step 5: Write teammate prompts
Every prompt must include:
- Identity â “You are [Name], [role].”
- Task claim â “Claim task #N from the task list.”
- Context â “Read CLAUDE.md for conventions.”
- File ownership â What files they own, what they must not touch.
- Tool preferences â “Use Firecrawl for web fetching, Exa for web searching.”
- Completion signal â “Mark complete and notify [lead].”
Step 6: Launch and monitor
- Use delegate mode (Shift+Tab) to keep the lead from coding
- Use plan approval (
mode: "plan") for high-stakes teammates (auth, data, deploy) - Target 5-6 tasks per teammate for steady throughput
- Check TaskList periodically and reassign if someone is stuck
Best Practices
From the official Agent Teams docs:
- Start with research â begin with read-only tasks (Explore, review) before implementation
- Size tasks right â too small = coordination overhead; too large = context degradation; aim for self-contained deliverables
- Wait for teammates â tell the lead to wait if it starts implementing instead of delegating
- Monitor and steer â check in, redirect approaches that drift, synthesize as results arrive
- Shut down gracefully â
shutdown_requesteach teammate beforeTeamDelete - Survive compaction â if the lead’s context compacts, it should re-read the task list and team config to recover state. Include in the lead’s prompt: “If your context is compacted, re-read TaskList and the team config at ~/.claude/teams/{team-name}/config.json to recover coordination state.”
Minoan Swarm additions:
- One Aspect per team â use different names (Athirat, Qedeshot, Tiamat, Kaptaru, Elat, Ma’at, Manat) for concurrent teams
- No duplicate names within a team
- Leads use Opus, workers use Sonnet â balance capability with cost
- Haiku for lightweight research â fast and cheap for Explore agents
Tool Preferences:
- Firecrawl over WebFetch â Firecrawl produces cleaner markdown, handles JavaScript better, and avoids content truncation. Use
firecrawl scrape URL --only-main-contentfor web fetching. - Exa over WebSearch â Exa provides neural search with category filtering (research papers, GitHub, news) and domain filtering. Use the
exa-searchskill scripts for web searches.
Include these tool preferences in every teammate prompt:
## Tool Preferences
- Prefer Firecrawl for web fetching (cleaner markdown, JS support)
- Prefer Exa for web searching (neural search, category filtering)
API Quick Reference
Core tool calls for Agent Teams. Full details: references/agent-teams-quickref.md
TeamCreate â create team + shared task list
Task â spawn teammate (with team_name + name)
SendMessage â message (DM), broadcast, shutdown_request, shutdown_response
TaskCreate â create work items
TaskList â see all tasks
TaskUpdate â claim, start, complete, set dependencies
TeamDelete â clean up (after all teammates shutdown)
State Management
- Use the shared task list (TaskCreate/TaskUpdate) for structured coordination state
- Use progress notes in task descriptions for freeform observations
- Use git commits as checkpoints between phases, so teammates can reference each other’s committed work
- For long-running teams, have the lead maintain a
progress.mdsummarizing completed work and remaining tasks
Verification
After launching a team, confirm it is working:
TaskListâ verify tasks are being claimed and progressing- Check teammate output via
Shift+Up/Down(in-process) or pane clicks (tmux) - The lead receives automatic idle notifications when teammates finish turns
- Blocked tasks auto-unblock when their dependencies complete
“μνάÏεÏθαί Ïινά Ïαμι καὶ á½ÏÏεÏον á¼Î¼Î¼ÎÏν.” â Sappho
ð¤ð¤ð¤ð¤ð¤ð¤ ð¤ð¤ð¤ð¤ ð¤ð¤ð¤ â “In the beginning, the Lady created.”