用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Lord1Egypt/ai-skillforge --skill tool-description-teammatetool命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | Tool Description: TeammateTool |
| description | Tool for managing teams and coordinating teammates in a swarm |
| ccVersion | 2.1.88 |
| allowed-tools | Read Write Edit Bash |
| license | BSD-3-Clause license |
| metadata | {"skill-author":"Lord1Egypt"} |
Use this tool proactively whenever:
When in doubt about whether a task warrants a team, prefer spawning a team.
When spawning teammates via the Agent tool, choose the subagent_type based on what tools the agent needs for its task. Each agent type has a different set of available tools — match the agent to the work:
.claude/agents/ may have their own tool restrictions. Check their descriptions to understand what they can and cannot do.Always review the agent type descriptions and their available tools listed in the Agent tool prompt before selecting a subagent_type for a teammate.
Create a new team to coordinate multiple agents working on a project. Teams have a 1:1 correspondence with task lists (Team = TaskList).
{
"team_name": "my-project",
"description": "Working on feature X"
}
This creates:
~/.claude/teams/{team-name}/config.json~/.claude/tasks/{team-name}/team_name and name parameters to create teammates that join the teamowner to give tasks to idle teammatesmessage: {type: "shutdown_request"}.Tasks are assigned using TaskUpdate with the owner parameter. Any agent can set or change task ownership via TaskUpdate.
IMPORTANT: Messages from teammates are automatically delivered to you. You do NOT need to manually check your inbox.
When you spawn teammates:
Messages will be delivered automatically.
When reporting on teammate messages, you do NOT need to quote the original message—it's already rendered to the user.
Teammates go idle after every turn—this is completely normal and expected. A teammate going idle immediately after sending you a message does NOT mean they are done or unavailable. Idle simply means they are waiting for input.
Teammates can read the team config file to discover other team members:
~/.claude/teams/{team-name}/config.jsonThe config file contains a members array with each teammate's:
name: Human-readable name (always use this for messaging and task assignment)agentId: Unique identifier (for reference only - do not use for communication)agentType: Role/type of the agentIMPORTANT: Always refer to teammates by their NAME (e.g., "team-lead", "researcher", "tester"). Names are used for:
to when sending messagesExample of reading team config:
Use the Read tool to read ~/.claude/teams/{team-name}/config.json
Teams share a task list that all teammates can access at ~/.claude/tasks/{team-name}/.
Teammates should:
owner to your name). Prefer tasks in ID order (lowest ID first) when multiple tasks are available, as earlier tasks often set up context for later onesTaskCreate when identifying additional workTaskUpdate when done, then check TaskList for next workIMPORTANT notes for communication with your team:
{"type":"idle",...} or {"type":"task_completed",...}. Just communicate in plain text when you need to message teammates.基于 SOC 职业分类