Agent助手
- 作者仓库星标 0
- 作者更新于 实时读取
- 作者仓库 skills-registry
- 领域
- AI 智能
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: agent-squad
description: Manage persistent AI coding squads that run in tmux sessions with task queues, progress reports…
category: AI 智能
runtime: 无特殊运行时
---
# agent-squad 输出预览
## PART A: 任务判断
- 适用问题:提示词、Agent 工作流、模型评估或自动化推理。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Slash Command Usage / Getting Started / What Users Can Do”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于提示词、Agent 工作流、模型评估或自动化推理,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Slash Command Usage / Getting Started / What Users Can Do”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文出现了 `/agent-squad` 这类斜杠命令;如果你的 Agent 支持命令触发,优先用命令开场,再补充目标和边界。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“Slash Command Usage / Getting Started / What Users Can Do”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: agent-squad
description: Manage persistent AI coding squads that run in tmux sessions with task queues, progress reports…
category: AI 智能
source: tomevault-io/skills-registry
---
# agent-squad
## 什么时候使用
- 把 AI / Agent方向的常用动作沉淀成 Agent 可调用的技能 适合处理AI Agent、提示词、模型评估与自动化推理,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查…
- 面向提示词、Agent 工作流、模型评估或自动化推理,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Slash Command Usage / Getting Started / What Users Can Do」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "agent-squad" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Slash Command Usage / Getting Started / What Users Can Do
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件、执行终端命令 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} 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 "<name>" "<engine>" "<context>" [--project <dir>] [--restart] [--agent-teams] [--no-watchdog]
- name: lowercase alphanumeric + hyphens
- engine: claude, codex, gemini, opencode, kimi, trae, aider, goose
- context: optional project background
--project <dir>: 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 "<name>" "<title>" "<objective>" "<priority>"
Priority: critical / high / normal (default) / low
squad-status.sh
bash {baseDir}/scripts/squad-status.sh "<name>"
Also read latest report in ~/.openclaw/workspace/agent-squad/squads/<name>/reports/ — check ## Current section for real-time progress.
squad-peek.sh
bash {baseDir}/scripts/squad-peek.sh "<name>" [lines]
Default: 20 lines. Shows the live tmux screen content of a running squad.
squad-ping.sh
bash {baseDir}/scripts/squad-ping.sh "<name>"
squad-stop.sh
bash {baseDir}/scripts/squad-stop.sh "<name>"
squad-list.sh
bash {baseDir}/scripts/squad-list.sh
squad-delete.sh
bash {baseDir}/scripts/squad-delete.sh "<name>" # show summary
bash {baseDir}/scripts/squad-delete.sh "<name>" --confirm # confirm archive
squad-config.sh
bash {baseDir}/scripts/squad-config.sh show
bash {baseDir}/scripts/squad-config.sh set projects_dir "<path>"
Guidelines
- Never show internal script names (squad-start.sh, etc.) to users — always use
/agent-squadslash 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--restartflag
Engine Reference
Details: {baseDir}/references/engines.md
Source: AgentWorkers/skills — distributed by TomeVault.
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核