agent-team-skill
v2.1.6Team collaboration and task processing flow with delegation, progress tracking, and multi-agent coordination. Use when team coordination, task delegation, or workflow management is needed.
Installation
Agent Team Skill
Manage AI agent team members with skills, roles, and task delegation.
🤝 Team Collaboration Rules (Highest Priority - Violation = Critical Error)
🎯 Leader Responsibilities
Communication is basic, but you are responsible for results:
- No blind forwarding
- Receive task → Assess responsibility → Delegate to the right person
-
Clarify requirements before delegating, check output after
-
Critical thinking
- Challenge problems and results
-
If it doesn't meet requirements → Request improvements, don't just pass it along
-
Drive improvements
- Identify problems and risks
-
Proactively discover and solve issues
-
Take responsibility for results
- Team member's output = Your responsibility
- Quality not up to standard → Provide feedback and iterate until it is
🔄 Task Execution Rules (Highest Priority - Violation = Critical Error)
SEARCH → RECORD → ORIENT → PLAN → DISPATCH → REVIEW → UPDATE
IMPORTANT: All tasks must follow this flow without exception.
1. SEARCH — Context Search
- Do NOT reply immediately
- Search historical memory for relevant context first
2. RECORD — Progress Logging
- Record to
memory/YYYY-MM-DD.md: ```markdown ## In Progress ### [Task Name] (HH:MM start) - Progress: xxx ```
- Upon completion, update to: ```markdown ### [Task Name] (HH:MM start) ✅
- End time: HH:MM | Result: xxx ```
3. ORIENT — Orientation Phase
- Understand Requirements: What does the user really want?
- Interview: Clarify unclear requirements (max 5 questions / 2 rounds, prefer multiple choice)
- Clarify Goals: What's the deliverable? Success criteria?
- Identify Risks: What could go wrong?
- Determine Responsibility: Who's best suited to execute?
4. PLAN — Create Execution Plan
- Create
work/task-name-plan.md: ```markdown # [Task Name] Plan Created: YYYY-MM-DD HH:MM
## Goal [One-line description of deliverable]
## Steps - [ ] Step 1: xxx - [ ] Step 2: xxx
## Current Progress
Executing: Step 1
``
- After each step: Check off[x]` and update "Current Progress"
- When context fills up: Ensure plan file is updated before compression
5. DISPATCH — Delegate/Execute
- Determine task ownership (self or team member)
- Belongs to team member → Delegate with full context (SEARCH history + original requirements)
- Belongs to self → Execute directly
- After each Phase: Create checkpoint:
bash git add -A && git commit -m "checkpoint: [Task Name] Phase X complete"
6. REVIEW — Check Task Results
- Review completed work against requirements
- If task incomplete → Loop back to SEARCH
7. UPDATE — Update Progress Status
- Delete plan file or move to
archive/ - Update final status in
memory/YYYY-MM-DD.md
⚡ Task Delegation Rules (Core Principle)
Delegation Timing: 1. First complete prep work: understand requirements, clarify goals, confirm constraints 2. When entering implementation: identify the best person for execution, delegate to them 3. Follow up after delegation: check output quality, ensure requirements are met
Query Team Members
List all team member information:
python3 scripts/team.py list
Output example:
## Team Members
**Alice** ⭐ Leader - coordination,planning,decision-making
- agent_id: alice
- expertise: task breakdown, comprehensive decisions, agent coordination
- not_good_at: code development, investment analysis
**Bob** - Backend Developer - backend,API,database
- agent_id: bob
- expertise: Python,Go,PostgreSQL
- not_good_at: frontend,design
# Total: 2 member(s), Leader: Alice (alice)
Add/Update Member
Add a new member or update existing member information:
python3 scripts/team.py update
--agent-id "agent-001"
--name "Alice"
--role "Backend Developer"
--is-leader "true"
--enabled "true"
--tags "backend,api,database"
--expertise "python,go,postgresql"
--not-good-at "frontend,design"
Parameters:
- --agent-id: Member unique identifier (required)
- --name: Member name (required)
- --role: Role/position (required)
- --is-leader: Whether team Leader (required, true/false, only one Leader per team)
- --enabled: Enable status true/false (required)
- --tags: Tags, comma-separated (required)
- --expertise: Expertise skills, comma-separated (required)
- --not-good-at: Weak areas, comma-separated (required)
Reset Data
Clear all team data and reset to initial state:
python3 scripts/team.py reset
⚠️ This operation will clear all data in ~/.agent-team/team.json.
Data Storage
Team data is stored in ~/.agent-team/team.json, shared globally. Directory is auto-created if it doesn't exist.
Use Cases
- Team Maintenance: Record all members and their skill information
- Task Assignment: Assign tasks based on member expertise and tags
References
- Plugin Installation Guide - How to install and configure the OpenClaw plugin