agent-teams
Skill5 starsChanged 3 months agoApache-2.0View on GitHub
创建和管理 Agent Teams 并行任务团队。当用户说"建个团队"、"拉个队伍"、"并行跑"、"create team"、"spawn agents"、"组队"时触发。
- Deletes or force-pushes
16 other projects use a version of this.
Adopted by
Most recently taken up by
- jonmumm/skillstheir own version, first seen Oct 21, 2026
- yasunori0418/skillstheir own version, first seen Oct 13, 2026
- cubetribe/ClaudeCode_GodMode-Ontheir own version, first seen Oct 13, 2026
- sanad-source/agent-teamstheir own version, first seen Oct 13, 2026
- alinaqi/claude-bootstraptheir own version, first seen Oct 8, 2026
- ProxiBlue/claude-skillstheir own version, first seen Oct 7, 2026
Used with
Projects with it also use codex-review and security-audit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juriwiensSkillcodex-review
Run code review via Codex CLI
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- rohitg00/pro-workflow★ 2.9ksame name
- alinaqi/maggy★ 711same name
- alinaqi/claude-bootstrap★ 708same name
- travisjneuman/.claude★ 106same name
- cubetribe/ClaudeCode_GodMode-On★ 53same name
- ProxiBlue/claude-skills★ 18same name
- Abhipaddy8/outreach-agent★ 17same name
- TurboKach/claude-code-setup★ 11same name
- sergeeey/Claude-cod-top-2026★ 9same name
- yasunori0418/skills★ 9same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bilibili-channelSkill
- bot-configSkill
- browser-cliSkill
- bwrap-bypassSkill
- cc-pages-backupSkill
- chat-styleSkill
- chinese-dictationSkill
- code-wiki-reconSkill
- deck-builderSkill
- docx-form-fillerSkill
- evolutionSkill
- explainer-distillSkill
- feishu-bitableSkill
- feishu-docSkill
- feishu-mailSkill
- feishu-sheetSkill
- feishu-user-msgSkill
- fireworks-tech-graphSkill
- frontend-slidesSkill
- gemini-ui-reviewerSkill
- hk-busSkill
- hk-share-award-tax-dipn38Skill
- imagen-generatorSkill
- issue-handlerSkill
- lecture-videoSkill
- lecture-voiceSkill
- lesson-read-aloudSkill
- live-canvasSkill
- lustre-mounterSkill
- manim-teaching-figuresSkill
- math-video-tutorSkill
- memory-gcSkill
- memory-lintSkill
- multimodal-explainerSkill
- music-generatorSkill
- notifySkill
- page-styleSkill
- paper-explainerSkill
- session-handoffSkill
- skill-creatorSkill
- smoke-testSkill
- study-materialSkill
- tmux-installerSkill
- tmux-orchestratorSkill
- tpuguruSkill
- tts-generatorSkill
- veo-generatorSkill
- vscode-referenceSkill
- weather-forecastSkill
- wechat-readerSkill
- wikiSkill
- youtube-channelSkill
- zsh-installerSkill
The file
Files
Agent Teams 并行任务框架
概述
使用 Claude Code 的 Agent Teams 功能创建多 agent 团队,支持并行任务执行和异步 Discord 通知。
核心流程
TeamCreate → 并行 Task(background, bypassPermissions) → agent 完成后通知 lead → lead 汇总/决策 → lead 通知用户 → shutdown → TeamDelete创建团队
TeamCreate → team_name, description启动 Teammate
每个 teammate 用 Task tool 启动,必须带以下参数:
team_name: 团队名name: 成员名subagent_type: "general-purpose"mode: "bypassPermissions"(必须,否则权限弹窗卡住)run_in_background: true
Teammate Prompt 模板
你是「{名字}」,{team_name} 团队成员,通用型人才。
**日志规则**(必须遵守):
- 日志文件:~/.claude/teams/{team_name}/logs/{名字}.log
- 启动时创建目录:mkdir -p ~/.claude/teams/{team_name}/logs
- 每次执行操作前后都用 Bash 追加日志:
echo "[$(date '+%H:%M:%S')] {动作描述}" >> ~/.claude/teams/{team_name}/logs/{名字}.log
- 日志内容包括:收到任务、开始执行、执行进度、完成结果、遇到错误
启动后立刻做两件事:
1. mkdir -p ~/.claude/teams/{team_name}/logs
2. echo "[$(date '+%H:%M:%S')] 【{名字}】已上线,待命中" >> ~/.claude/teams/{team_name}/logs/{名字}.log
3. 用 SendMessage 告诉 team-lead 你已就位
然后等待 team-lead 分配任务。
**禁止直接联系用户**:不要使用 send-to-discord.sh,不要直接给用户发消息。所有沟通必须经过 team-lead。
**任务完成后必须执行两步通知**(缺一不可):
1. 写日志:echo "[$(date '+%H:%M:%S')] 任务完成:{结果摘要}" >> 日志文件
2. 通知 lead:SendMessage 给 team-lead,包含结果摘要和产出物路径
lead 会决定是否需要通知用户。你只对 lead 汇报。Teammate 日志
每个 teammate 有独立日志文件,方便实时追踪和 debug:
~/.claude/teams/{team_name}/logs/
├── shunshen.log
├── felix.log
└── chris.log实时查看:tail -f ~/.claude/teams/{team_name}/logs/*.log
单人查看:tail -f ~/.claude/teams/{team_name}/logs/shunshen.log
通知机制
核心原则:组员 → Lead → 用户。组员禁止直接联系用户。
通知链:
agent → lead(SendMessage,唯一合法路径)lead → 用户(lead 汇总/过滤后决定是否通知用户)
Lead 的职责:
- 收集组员汇报,掌握全局进度
- 过滤噪音,只在需要用户决策或通知最终结果时才打扰用户
- 使用
send-to-discord.sh通知用户(只有 lead 有权使用)
派活方式
SendMessage → type: "message", recipient: "{name}", content: "任务描述"关闭团队
SendMessage → type: "shutdown_request" → 每个成员
等 shutdown_approved
TeamDelete注意事项
- 幽灵队员: restart 后 config 残留但进程已死,必须
rm -rf ~/.claude/teams/{name}清理 - Team vs Sub Agent: 独立并行任务用 sub agent;需要成员间通信协作才用 team
- 消息错位: 框架限制,teammate 状态消息和用户消息同队列无优先级,通过直达 Discord 缓解
- 并行启动: 多个 Task 调用放在同一个 message 中并行发出
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.

