← 返回 Skills 市场
0xtimi

Agent Squad 0.9.4

作者 0xTimi · GitHub ↗ · v0.9.4 · MIT-0
cross-platform ⚠ suspicious
407
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install agent-squad
功能描述
Manage persistent AI coding squads that run in tmux sessions with task queues, progress reports, and automatic health monitoring. Use when the user wants to:...
使用说明 (SKILL.md)

Agent Squad

GitHub: https://github.com/0xTimi/agent-squad

Run persistent AI coding squads in tmux. Squads pick up tasks, write code, and report progress — 24/7 in the background.

Slash Command Usage

Users can invoke /agent-squad directly with optional arguments:

Command Action
/agent-squad Show squad dashboard (or Getting Started if none exist)
/agent-squad list List all squads
/agent-squad start my-squad claude Start a squad
/agent-squad status my-squad Check squad status
/agent-squad stop my-squad Stop a squad
/agent-squad assign my-squad "add login page" Assign a task
/agent-squad ping my-squad Nudge squad to report
/agent-squad delete my-squad Archive a squad
/agent-squad peek my-squad Peek at squad's live tmux screen
/agent-squad restart my-squad Restart a stopped squad

No arguments or list → run bash {baseDir}/scripts/squad-list.sh:

  • If squads exist: show a clean status dashboard
  • If no squads: show the Getting Started intro below

Getting Started

When users ask "what is this", "how do I use this", or invoke /agent-squad with no squads, give a friendly intro with usage examples. Match the user's language.

Agent Squad runs AI coding agents in the background 24/7. Just tell me what you need:

  • "Start a squad called my-squad using claude for ~/projects/my-app"
  • "Give my-squad a task: implement user login"
  • "How's my-squad doing?"
  • "Stop my-squad"
  • "What squads do I have?"

Engines: Claude Code, Codex, Gemini CLI, OpenCode, Kimi, Trae, Aider, Goose

Want to start one now?

If the user asks which engine to use or doesn't specify one: default to claude — it is the most thoroughly tested engine and works best with Agent Squad. Mention other engines only if the user specifically asks. See {baseDir}/references/engines.md for details.

What Users Can Do

Users interact through natural language. Here's what they might say and how to respond:

Start a squad

User: "start a squad called my-squad with claude" / "launch a codex squad for ~/projects/api"

Ask if missing: squad name. Default engine to claude if not specified. Project dir and context are optional.

First-time users: briefly mention squads run in full-auto mode — the AI has full access to the project directory.

Response: "Squad 'my-squad' is up and running with Claude Code! You can assign tasks anytime."

Assign a task

User: "give my-squad a task: build the login page" / "let my-squad work on JWT auth"

If only one squad exists, use it automatically. If the request is vague, ask for specifics.

Response: "Task assigned! my-squad will start working on 'Login Page' shortly."

Check status

User: "how's my-squad doing?" / "what's the status?" / "is my-squad done yet?"

Include the live tmux screen output (from squad-status.sh) in the response — this lets the user see what the agent is actually doing right now.

Response: "my-squad is running on Claude Code, working on 'Login Page' — about 60% done. 2 tasks completed, 1 in progress.

Live screen:

Working on form validation...
Created src/components/LoginForm.tsx
Running tests...
```"

### Peek at screen

User: "peek at my-squad" / "what's on my-squad's screen?" / "show me what my-squad is doing"

Show the raw tmux screen content. This is a quick way to see the agent's live terminal without checking reports.

Response: Show the screen output directly, formatted in a code block.

### Ping for update

User: "ping my-squad" / "nudge it to report"

Response: "I've nudged my-squad to update its progress report. Check back in a minute."

### Stop a squad

User: "stop my-squad" / "pause the squad"

Always confirm before stopping.

Response: "my-squad stopped. All work is saved — you can restart anytime."

### Restart a squad

User: "restart my-squad" / "bring my-squad back up"

Response: "my-squad is back up and running! It will pick up where it left off."

### List squads

User: "what squads do I have?" / "list my squads" / "show all squads"

Present a clean readable summary of all squads with name, engine, status, and task counts.

### Delete a squad

User: "delete my-squad" / "archive the old squad" / "clean up my-squad"

Always ask for confirmation first. Reassure: data is archived, project code is never touched.

### Configure

User: "set default project dir to ~/code" / "show squad settings"

### What commands are available?

User: "agent-squad都有哪些命令" / "what can you do?" / "help"

**IMPORTANT**: Never show internal script names (squad-start.sh, etc.) to users. Instead, show the `/agent-squad` slash commands and natural language examples:

> Here's what you can do with Agent Squad:
>
> | Command | Or just say... |
> |---|---|
> | `/agent-squad start my-squad claude` | "Start a squad called my-squad" |
> | `/agent-squad assign my-squad "task"` | "Give my-squad a task: ..." |
> | `/agent-squad status my-squad` | "How's my-squad doing?" |
> | `/agent-squad peek my-squad` | "Peek at my-squad's screen" |
> | `/agent-squad ping my-squad` | "Ping my-squad" |
> | `/agent-squad stop my-squad` | "Stop my-squad" |
> | `/agent-squad restart my-squad` | "Restart my-squad" |
> | `/agent-squad list` | "What squads do I have?" |
> | `/agent-squad delete my-squad` | "Delete my-squad" |

---

## Script Reference

All scripts at `{baseDir}/scripts/`. Execute based on user intent above and present results conversationally.

### squad-start.sh

```bash
bash {baseDir}/scripts/squad-start.sh "\x3Cname>" "\x3Cengine>" "\x3Ccontext>" [--project \x3Cdir>] [--restart] [--agent-teams] [--no-watchdog]
  • name: lowercase alphanumeric + hyphens
  • engine: claude, codex, gemini, opencode, kimi, trae, aider, goose
  • context: optional project background
  • --project \x3Cdir>: custom code output directory
  • --restart: required if squad name already exists (also used for restart intent)
  • --agent-teams: claude only, multi-agent mode
  • --no-watchdog: skip auto-restart cron

squad-assign.sh

bash {baseDir}/scripts/squad-assign.sh "\x3Cname>" "\x3Ctitle>" "\x3Cobjective>" "\x3Cpriority>"

Priority: critical / high / normal (default) / low

squad-status.sh

bash {baseDir}/scripts/squad-status.sh "\x3Cname>"

Also read latest report in ~/.openclaw/workspace/agent-squad/squads/\x3Cname>/reports/ — check ## Current section for real-time progress.

squad-peek.sh

bash {baseDir}/scripts/squad-peek.sh "\x3Cname>" [lines]

Default: 20 lines. Shows the live tmux screen content of a running squad.

squad-ping.sh

bash {baseDir}/scripts/squad-ping.sh "\x3Cname>"

squad-stop.sh

bash {baseDir}/scripts/squad-stop.sh "\x3Cname>"

squad-list.sh

bash {baseDir}/scripts/squad-list.sh

squad-delete.sh

bash {baseDir}/scripts/squad-delete.sh "\x3Cname>"          # show summary
bash {baseDir}/scripts/squad-delete.sh "\x3Cname>" --confirm # confirm archive

squad-config.sh

bash {baseDir}/scripts/squad-config.sh show
bash {baseDir}/scripts/squad-config.sh set projects_dir "\x3Cpath>"

Guidelines

  • Never show internal script names (squad-start.sh, etc.) to users — always use /agent-squad slash commands or natural language examples
  • If only one squad exists, use it automatically — don't ask "which squad?"
  • One engine per squad — suggest multiple squads for multiple engines
  • Don't modify task/report files directly — only via assign script
  • If squad is stopped and user assigns a task, write it anyway — picked up on restart
  • Squads auto-init git repos; for existing projects suggest a separate branch
  • Watchdog auto-restarts crashed squads every 5 min by default
  • For restart: stop the squad first (squad-stop.sh), then start with --restart flag

Engine Reference

Details: {baseDir}/references/engines.md

安全使用建议
This skill appears to be what it says: a local coordinator that runs unattended AI engines in tmux and manages task files. Before installing, consider the following: (1) Only run squads on codebases you trust — the agents run in full-auto and can read, write, execute, and commit changes in the project directory. (2) Remove secrets (API keys, .env, private keys) from any project directories you point the squad at. (3) Engines are started with flags that bypass permission prompts (e.g., --dangerously-skip-permissions); understand the implications and only enable those engines if you accept full automation. (4) If you want isolation, run this skill inside a VM, container, or disposable environment and test with a throwaway repo first. (5) Review the included scripts (start/watchdog/assign/etc.) to confirm behavior for cron registration and auto-restart; if you don't use openclaw, the skill warns and will not register the cron. (6) If you need stricter controls, modify the start/watchdog scripts to remove auto-restart or to restrict the project directory before using. Overall: coherent and self-consistent, but carries expected high operational risk because the agents are intentionally granted broad file-system and execution access.
功能分析
Type: OpenClaw Skill Name: agent-squad Version: 0.9.4 The skill manages autonomous AI coding agents that run in the background using tmux and openclaw cron for persistence. It explicitly configures these agents to operate in 'full-auto mode' by bypassing security sandboxes and permission prompts (e.g., using --dangerously-skip-permissions and --dangerously-bypass-approvals-and-sandbox in squad-start.sh). While these high-risk capabilities are aligned with the stated purpose of 24/7 background coding, the lack of human-in-the-loop approvals and the use of automated persistence mechanisms for autonomous execution constitute significant security risks.
能力评估
Purpose & Capability
Name/description (persistent AI squads in tmux) match the included scripts and SKILL.md. Requested binaries (python3 and tmux) are reasonable and necessary for creating sessions, writing task files, rendering templates, and running engines. No unrelated environment variables, config paths, or external credentials are requested.
Instruction Scope
SKILL.md and scripts explicitly instruct the agent to start tmux sessions, write/read coordination files under ~/.openclaw/workspace/agent-squad, show live tmux output in responses, and send prompts into tmux sessions. This is expected for the stated purpose, but it means the running AI engines will have read/write/execute access to the configured project directory and coordination data. The skill instructs defaulting to the 'claude' engine and to run engines in full-auto modes; it also warns users to keep secrets out of project directories.
Install Mechanism
No install spec (instruction-only skill) — scripts are shipped with the skill and nothing is downloaded from external URLs. This is low-risk from an install mechanism perspective. The skill expects external engine binaries to be present on PATH; installing those is outside the skill and is the user's responsibility.
Credentials
The skill does not request environment variables, API keys, or credential files. It does rely on engine binaries that may themselves require credentials (e.g., Gemini OAuth), but those are external to the skill and not demanded by it. The lack of required secrets is proportionate to the skill's function.
Persistence & Privilege
always:false (not force-included). The skill registers a watchdog via openclaw cron if available, but that is scoped to its own squads. It does not modify other skills or request elevated system-wide privileges. Autonomous invocation by the agent is allowed (default) — expected for skills of this type.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-squad
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-squad 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.9.4
Add peek command, show live screen in status, hide internal script names from users
v0.9.3
## agent-squad 0.9.3 - Version bump from 0.9.2 to 0.9.3. - Replaced internal script names with natural language in all user-facing messages - Added slash command examples in onboarding prompt
v0.9.2
Rewrite SKILL.md for natural language UX and add slash command quick reference. - Rewrote SKILL.md from operation manual style to intent-driven conversational format — AI now matches user intent first, then executes scripts. - Added slash command quick reference table for all operations. - Added "Getting Started" onboarding guide for first-time users. - Added restart squad intent and workflow. - Consolidated script references into a dedicated section at the bottom. - Simplified guidelines and security notes. - Synced clawhub.json version to 0.9.2.
v0.9.1
- Added official GitHub link to documentation. - Introduced the --no-watchdog flag to squad-start.sh, allowing squads to run without auto-restart on crash. - Updated security section with git safety advice (use separate branch/worktree) and isolated environment recommendation.
v0.9.0
- Initial release of agent-squad: manage persistent AI coding squads running in tmux sessions. - Supports creating, assigning tasks to, monitoring, and managing squads with various AI engines (including Claude Code, Codex, Gemini CLI, OpenCode, Kimi, Trae, Aider, Goose). - Provides automatic health monitoring, progress reporting, and unattended operation in project directories. - Includes operations to start, stop, restart, archive squads, configure settings, and list all active squads. - Adds specific guardrails: deletion is archival only, strong squad name validation, and safe handling of project directories. - Allows enabling Claude Code Agent Teams mode for multi-agent coordination when using the Claude engine.
元数据
Slug agent-squad
版本 0.9.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Agent Squad 0.9.4 是什么?

Manage persistent AI coding squads that run in tmux sessions with task queues, progress reports, and automatic health monitoring. Use when the user wants to:... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 407 次。

如何安装 Agent Squad 0.9.4?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-squad」即可一键安装,无需额外配置。

Agent Squad 0.9.4 是免费的吗?

是的,Agent Squad 0.9.4 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Squad 0.9.4 支持哪些平台?

Agent Squad 0.9.4 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Squad 0.9.4?

由 0xTimi(@0xtimi)开发并维护,当前版本 v0.9.4。

💬 留言讨论