claude-team-orchestration
CLAUDE.md14 starsChanged 5 months agoMITView on GitHub
swarm — A Claude Code plugin for multi-agent orchestration. Coordinates teams of agents with shared tasks, inter-agent messaging, and 7 proven patterns including RLM for large-file analysis.
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Content is markdown-only: No source code, no build step, no dependencies.
- Very specific: line 74
Create skills/<skill-name>/SKILL.md with YAML frontmatter (name, description)
- Distinctive: line 76
Follow existing patterns: clear sections, mermaid diagrams where useful, practical examples
- Very specific: line 80
Create agents/<agent-name>.md with role description, available tools, and output format
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Project Overview
swarm — A Claude Code plugin for multi-agent orchestration. Coordinates teams of agents with shared tasks, inter-agent messaging, and 7 proven patterns including RLM for large-file analysis.
- Version: 1.4.0
- License: MIT
- Plugin namespace:
swarm:
Project Structure
.claude-plugin/plugin.json # Plugin manifest (name, version, description)
agents/ # Agent definitions (markdown, loaded by Claude Code)
rlm-chunk-analyzer.md # Haiku — logs, prose, config analysis
rlm-code-analyzer.md # Haiku — source code analysis
rlm-data-analyzer.md # Haiku — CSV/TSV data analysis
rlm-json-analyzer.md # Haiku — JSON/JSONL analysis
rlm-synthesizer.md # Sonnet — aggregates analyst findings
skills/ # Skills (each has SKILL.md)
orchestrating/ # Entry point — primitives, lifecycle, quick reference
team-management/ # TeamCreate, spawn, delegate, shutdown, cleanup
task-system/ # TaskCreate, dependencies, claiming, progress
messaging/ # SendMessage, broadcasts, shutdown/plan protocols
agent-types/ # Built-in + plugin agents, selection guide
orchestration-patterns/ # 7 patterns + complete workflow examples
rlm-pattern/ # Content-aware chunked analysis (RLM)
jsonl-log-analyzer/ # Schema-aware JSONL log analysis skill
spawn-backends/ # in-process, tmux, iTerm2
error-handling/ # Common errors, hooks, recovery
docs/ # User-facing documentation
getting-started.md # Install to first team run
agent-types.md # Agent selection guide
concepts.md # Core concepts and terminology
patterns.md # 7 orchestration patterns
reference.md # Full API and configuration reference
rlm-examples.md # Copy-paste RLM prompts
RLM-Prompt-Example.md # Annotated RLM prompt walkthrough
troubleshooting.md # Common failures and fixes
design/ # Design documents for features
proposals/ # Draft feature proposalsDevelopment Conventions
- Content is markdown-only. No source code, no build step, no dependencies. Skills are SKILL.md files with YAML frontmatter. Agents are plain markdown.
- Plugin manifest lives at
.claude-plugin/plugin.json. Updateversionthere and in README badge when releasing. - CHANGELOG.md follows Keep a Changelog format with semantic versioning.
- Skills each live in their own directory under
skills/with aSKILL.mdfile. The YAML frontmatternameanddescriptionfields are required. - Agents are markdown files in
agents/. They define agent behavior, tools, and model preferences. - Docs in
docs/are user-facing guides. Design docs go indocs/design/.
The 7 Orchestration Patterns
- Parallel Specialists — Independent reviewers, different focus areas
- Pipeline — Sequential stages with task dependencies
- Swarm — Workers grab tasks from shared pool, self-balancing
- Research + Implementation — Learn then build with subagents
- Plan Approval — Require plan review before implementation
- Multi-File Refactoring — Fan-in dependencies for cross-file changes
- RLM — Chunked parallel analysis for large files/directories
Key RLM Details
- Content-aware: auto-detects file types and uses type-specific chunking
- 4 analyst types: code, data, JSON, chunk (general). All run on Haiku.
- Synthesizer runs on Sonnet. Do not override analyst models.
- Multi-file mode: batches small files by type, two-phase synthesis
- Data-driven partition sizing (scales with input size), analyst count scales to task volume
Writing New Skills
- Create
skills/<skill-name>/SKILL.mdwith YAML frontmatter (name,description) - Register in plugin.json is not needed — skills are auto-discovered from the
skills/directory - Follow existing patterns: clear sections, mermaid diagrams where useful, practical examples
Writing New Agents
- Create
agents/<agent-name>.mdwith role description, available tools, and output format - Specify model preference (Haiku for analysis workers, Sonnet for synthesis)
- Include structured output format expectations
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

