Minoan swarm

From tdimino/claude-code-minoan · View interactive version

Minoan swarm is an AI agent skill from the GitHub repository tdimino/claude-code-minoan. Orchestrate multi-agent Claude Code teams with Minoan-Semitic naming — auto-discover project context (CLAUDE.md, roadmaps, plans, issues) and generate named team configurations with structured task lists and file ownership. Triggers on parallel workstreams, agent teams, multi-agent, spawn agents, sw

How to use this skill

Skill file

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.


Terminology

| Term | Semitic | Root | Meaning |

|------|---------|------|---------|

| Knesset | כנסת | K-N-S "to gather" | A single agent team—an assembly of bees |

| Knossot | כנוסות | K-N-S plural | A group of knessets—a swarm, evoking Knossos itself |

| Daboritu | דבורית | D-B-R "bee" and "word" | The agents—bees of the holy word. Linear B da-bo-ri-tu preserves the Semitic form on Crete. |

| D-B-R | דבר | D-B-R | Bee (דבורה deborah), word/speech (דבר dabar), inner sanctum (דביר debir), pasture/wilderness (מדבר midbar). |

Knossos betrays a Semitic etymology: K-N-S "to gather" (Akkadian kiništu, "gathering place"; Hebrew knesset, "assembly"). The Labyrinth itself can be deconstructed through Linear B da-bo-ri-tu (Daboritu), cognate with the debir (דביר) of the Temple—the inner sanctum, the womb. The Labyrinth was a sacred name of the Goddess, the Word and the Holy of Holies. D-B-R (דבר) is both "bee" and "word/speech"—words themselves, daborim or daborot, are her messengers, holy bees.

The agents are daborot—manifest in LLMs. Each knesset assembles bees who speak; a knossot gathers the assemblies.


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 knesset template

| Situation | Template | Knesset Name |

|-----------|----------|--------------|

| Multiple independent features | Parallel Features | Athirat |

| Work with natural ordering | Pipeline | Kaptaru |

| Bug investigation, unclear cause | Research Knossot | 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

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 | deborah, 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 Knossot

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:

Step 3: Map to a knesset template

Choose from team-templates.md. For multi-phase work, compose knessets into a knossot—e.g., one Qedeshot knesset for phase completion + one Athirat knesset 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:

  1. Identity — "You are [Name], [role]."
  2. Task claim — "Claim task #N from the task list."
  3. Context — "Read CLAUDE.md for conventions."
  4. File ownership — What files they own, what they must not touch.
  5. Tool preferences — "Use Firecrawl for web fetching, Exa for web searching."
  6. Completion signal — "Mark complete and notify [lead]."

Step 6: Launch and monitor


Best Practices

From the official Agent Teams docs:

Minoan Swarm additions:

Tool Preferences:

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)

TeammateIdle Auto-Reassignment

When a teammate finishes its assigned task, it goes idle. By default it stops. The TeammateIdle hook (v2.1.80+) can intercept this and redirect the teammate to unclaimed tasks—keeping the swarm working until the task list is empty.

Install the hook in settings.json:

{
  "hooks": {
    "TeammateIdle": [{
      "type": "command",
      "command": "bash ~/.claude/skills/minoan-swarm/scripts/teammate-idle-reassign.sh"
    }]
  }
}

How it works: The script reads ~/.claude/tasks/{team-name}/*.json directly, counts unclaimed pending tasks (status=pending, no owner, not blocked), and if any exist, returns exit code 2 with a message telling the teammate to claim the next one. If all tasks are claimed or completed, it exits 0 and the teammate stops gracefully.

When to use:

When NOT to use:


State Management


Verification

After launching a team, confirm it is working:

  1. TaskList — verify tasks are being claimed and progressing
  2. Check teammate output via Shift+Down to cycle (in-process) or pane clicks (tmux)
  3. The lead receives automatic idle notifications when teammates finish turns
  4. Blocked tasks auto-unblock when their dependencies complete

"μνάσεσθαί τινά φαμι καὶ ὕστερον ἀμμέων." — Sappho

𐤁𐤓𐤀𐤔𐤉𐤕 𐤁𐤏𐤋𐤕 𐤁𐤓𐤕 — "In the beginning, the Lady created."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.