En

agent-teams

File System-Based Coordination for Multi-Claude Agent Teams

开发流程 协调多智能体分配团队任务同步团队待办任务完成进度 claude ★ 984 Updated 2026-08-02

Install & Use

Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:

Help me install this AI Skill: agent-teams.
It is used for: File System-Based Coordination for Multi-Claude Agent Teams
Full Skill content: https://321skill.com/skills/agent-teams-x-4/raw/index.md
Read that page and install it.

The prompt includes a link to the full Skill content. You can also view the full content.

This Skill addresses the lack of a unified coordination mechanism when multiple Claude agents collaborate. In practical development, when multiple agents need to work in parallel on different modules or tasks, developers often face pain points such as chaotic communication, task conflicts, and difficulty in synchronizing progress. Traditional coordination solutions based on networks or databases are too heavy and unsuitable for fast-paced local development scenarios.

Usage is straightforward: simply start a main agent via the claude CLI in your terminal, then use preset team configuration commands to create members and assign tasks. Each member agent runs in a separate tmux pane, communicating and synchronizing tasks via JSON files (with fcntl locks). You can then coordinate the entire team using natural language instructions, e.g., "Have the frontend agent implement the login page, the backend agent prepare the API, and merge when done."

It is ideal for teams or individuals working on parallel development, multi-agent code review, large-scale refactoring, or naturally decomposable tasks. This is especially useful for developers already using Claude Code who want to boost productivity, or for scenarios requiring simultaneous handling of multiple files/modules. Project managers can also have the agent team execute tasks in parallel after requirements are broken down.

We recommend using this tool in a Unix/Linux environment and ensuring tmux and Claude Code are properly installed. Note that it is primarily suitable for loosely coupled tasks; for work requiring tight sequential reasoning (e.g., continuous dialogue), a single agent may be more efficient. Additionally, cross-machine coordination is not currently supported—all agents run on the same machine.

Key Features

Unlike coordination solutions based on message queues (e.g., RabbitMQ) or databases, it relies entirely on the file system and fcntl locks, requiring no additional daemon deployment or network layer. It is zero-dependency, lightweight, and each agent runs as an independent `claude` process in a tmux pane, facilitating monitoring and debugging.

Limitations

Requires tmux 2.0+ and Claude Code CLI; only supports Unix-like systems. Tasks rely on file system polling, offering limited real-time performance and making it unsuitable for millisecond-response scenarios.

FAQ

What dependencies need to be installed?

Requires tmux, Claude Code CLI, and setting the environment variable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.

How do I create a team and add members?

Define the team configuration in ~/.claude/teams/<team-name>/config.json via MCP or direct API, then start each member process using `claude --agent-id ...`.

Installation guide for AI assistants

If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:

Visit https://321skill.com/skills/agent-teams-x-4/raw/index.md to read the original Skill definition (Markdown format) for agent-teams, and install it according to the instructions.