← Back to Skills Marketplace
realqiyan

Agent Team Skill

by qiyan · GitHub ↗ · v2.1.9 · MIT-0
cross-platform ✓ Security Clean
966
Downloads
1
Stars
8
Active Installs
26
Versions
Install in OpenClaw
/install agent-team-skill
Description
Manage AI agent team members with roles, skills, and task delegation. Use when: listing team members, adding/updating agents, setting the team leader, checki...
README (SKILL.md)

Agent Team Skill

Manage AI agent team members with skills, roles, and task delegation.

Team Members

List all team member information:

python3 scripts/team.py list

Common scenarios:

  • Check who is the current team leader
  • Find members with specific expertise before task assignment
  • Review team structure and available roles

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)

⚡ 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

Delegation Context (what to pass): When delegating, always provide:

  • Original requirements and success criteria
  • Relevant background and context
  • Your execution plan and any constraints
  • Expected output format

Delegation Failover: If teammate fails to complete:

  1. First attempt: Send back with specific feedback for revision
  2. Second attempt: Reassign to another teammate with adjusted context
  3. Third attempt: Escalate to leader OR execute yourself

🔄 Task Processing Flow (Highest Priority)

Plan → Do → Check → Act

IMPORTANT: This is a continuous improvement cycle. If task is incomplete in Act phase, loop back to Plan.

1. Plan — Planning Phase

Goal: Prepare thoroughly, avoid blind execution

  • Understand requirements and clarify questions
  • Define goals and success criteria
  • Identify risks and determine ownership
  • Create execution plan

2. Do — Execution Phase

Goal: Execute the plan while maintaining progress

  • Execute or delegate based on ownership
  • Track progress and key decisions

3. Check — Checking Phase

Goal: Verify results against requirements

  • Verify completeness and quality
  • Check compliance with standards

4. Act — Acting Phase

Goal: Summarize and decide next steps

  • ✅ Task complete → End
  • ❌ Task incomplete → Loop back to Plan

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" \
  --load-workflow "true" \
  --group "backend-team"

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)
  • --load-workflow: Whether to load workflow prompts (optional, true/false, default: true for leader, false for others)
  • --group: Group name for categorization (optional, used for organizing team members)

Reset Data

Clear all team data and reset to initial state:

python3 scripts/team.py reset

Output:

Team data has been reset.

⚠️ Warning: This operation is irreversible. All data in ~/.agent-team/team.json will be permanently deleted.

Data Storage

Team data is stored in ~/.agent-team/team.json, shared globally. Directory is auto-created if it doesn't exist.

Common Use Cases

Finding the right person for a task

# List team to find member with relevant expertise
python3 scripts/team.py list
# Look for matching tags/expertise in the output

Changing team leader

Setting a new leader automatically removes leader status from the previous one:

python3 scripts/team.py update --agent-id "alice" --name "Alice" --role "Team Lead" --is-leader "true" --enabled "true" --tags "coordination,planning" --expertise "management,decision-making" --not-good-at "specialized-development"

Temporarily disabling a member

Set --enabled "false" to disable without removing:

python3 scripts/team.py update --agent-id "bob" --name "Bob" --role "Backend Developer" --is-leader "false" --enabled "false" --tags "backend,api" --expertise "Python,Go" --not-good-at "frontend"

Adding a new team member

python3 scripts/team.py update --agent-id "charlie" --name "Charlie" --role "Frontend Developer" --is-leader "false" --enabled "true" --tags "frontend,ui" --expertise "React,TypeScript" --not-good-at "backend,database"

Error Handling

Data file not found

If ~/.agent-team/team.json doesn't exist, the script returns an empty team state (no error raised).

Invalid JSON

If the data file is corrupted, the script logs an error and returns an empty state:

[agent-team] Error loading team data: \x3Cerror message>

Missing required parameters

Running update without required parameters:

error: the following arguments are required: --agent-id, --name, --role, --is-leader, --enabled, --tags, --expertise, --not-good-at

Single leader constraint

Only one leader can exist. Setting a new leader automatically removes leader status from the previous one:

Note: Removed leader status from \x3Cprevious-leader-name>

References

Usage Guidance
This skill appears internally consistent and operates on local files only. Before installing: 1) Inspect ~/.agent-team/team.json (or set AGENT_TEAM_DATA_FILE to a custom path) and back it up if needed — the reset command deletes it. 2) Note that installing the plugin requires adding files/symlink under your OpenClaw extensions (~/.openclaw/extensions) or editing ~/.openclaw/config.json, which grants the plugin code the ability to run inside your OpenClaw instance and inject team data into system prompts (expected behavior). 3) Verify the claimed 'progress recording' behavior if you rely on it (I didn't see code writing memory/YYYY-MM-DD.md). 4) Because the plugin injects data into agent context, avoid putting secrets or sensitive data in team.json. If you want tighter control, keep the plugin disabled (config.enabled=false) and call the CLI manually instead.
Capability Analysis
Type: OpenClaw Skill Name: agent-team-skill Version: 2.1.9 The agent-team-skill bundle is a legitimate tool for managing AI agent teams and coordinating workflows using the Plan-Do-Check-Act (PDCA) cycle. It consists of a Python CLI (scripts/team.py) for managing team member metadata in a local JSON file (~/.agent-team/team.json) and an OpenClaw plugin (index.ts) that injects this team context into the system prompt for the designated team leader. The code follows standard practices for local data storage, lacks any external network calls or obfuscation, and the instructions in SKILL.md are strictly aligned with the stated purpose of task delegation and team management.
Capability Assessment
Purpose & Capability
Name/description (agent team management) match the included pieces: a CLI Python script (scripts/team.py) for CRUD on ~/.agent-team/team.json and an OpenClaw plugin (integrations/openclaw/agent-team) that injects that data into the agent's system context. Required binary (python3) is appropriate and proportional.
Instruction Scope
SKILL.md limits runtime behavior to running the provided Python CLI (list/update/reset) and describes the plugin injection behavior. The script only reads/writes the configurable local data file (default ~/.agent-team/team.json) and honors an optional AGENT_TEAM_DATA_FILE env var. One minor inconsistency: documentation mentions 'Progress Recording in memory/YYYY-MM-DD.md' but I did not find code that writes such memory files — verify whether that feature is implemented or just documented.
Install Mechanism
No automated install spec is present (instruction-only); plugin installation instructions ask the user to symlink or add the plugin path to OpenClaw config. No downloads or remote installs are performed by the skill files themselves.
Credentials
The skill requests no secrets or external credentials. The only environment-related behavior is optional: the script will read AGENT_TEAM_DATA_FILE if set (used for test isolation/custom paths). The reset command will irreversibly clear ~/.agent-team/team.json — that is expected but should be used with care.
Persistence & Privilege
The plugin, when installed into OpenClaw extensions, registers a before_prompt_build hook and will automatically append team context to system prompts for the current leader agent. This gives the plugin a persistent execution point inside the agent runtime (normal for a plugin) but is not forced 'always:true'. Keep in mind this means leader agents will automatically receive the team data without invoking the CLI.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-team-skill
  3. After installation, invoke the skill by name or use /agent-team-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.9
- Major updates to documentation: SKILL.md and README greatly expanded with clearer usage, parameters, error handling, and use cases. - New workspace added with detailed benchmark, evaluation metadata, and test outputs to support evaluation of core scenarios (list, add, set leader, find expert). - Script improvements (team.py): now supports more parameters (e.g., --load-workflow, --group), better error handling, and enforces single-leader rule with clear feedback. - Enhanced instructions for delegation, team management, and workflow, emphasizing task assignment, role changes, and member enabling/disabling. - Safer data management: clearer reset behavior and improved resilience to missing or corrupted data files.
v2.1.8
- Removed six documentation and integration files, simplifying the repository structure. - Updated SKILL.md to change the reference link for the Plugin Installation Guide from a relative local path to a GitHub URL. - All references to the deleted files were updated or removed to match the new structure. - No functional changes to skill behavior; documentation and integration cleanup only.
v2.1.7
**Significant update to task flow and leadership rules.** - Overhauled task execution process to use a PDCA (Plan-Do-Check-Act) cycle for continuous improvement. - Redesigned leader authority: only leaders may approve task completion or handle failed delegation; clearer escalation protocols. - Streamlined task recording requirements; emphasized memory record-keeping as core workflow. - Reduced clarification rounds and standardized planning, delegation, and review steps. - Updated documentation and examples to match new workflow. - Removed obsolete files (CLAUDE.md, tests/test_team.py).
v2.1.6
- Added homepage and allowed-tools fields to SKILL.md for improved metadata and integration clarity. - No changes to functionality or core usage. - SKILL.md now explicitly lists Bash(python3:*) and Read(*.json) as allowed tools.
v2.1.5
**Added OpenClaw integration and updated documentation.** - Introduced OpenClaw integration with new plugin files and documentation under `integrations/openclaw/agent-team/` - Added plugin installation instructions and related references - Created initial Python test file: `tests/test_team.py` - Minor update to task execution flow in documentation (SKILL.md) - Added CLAUDE.md reference file
v2.1.3
- Updated task execution flow to include an explicit PLAN phase before DISPATCH, expanding from six to seven steps. - Added detailed instructions and templates for creating, updating, and managing plan files. - Revised and clarified logging requirements for both in-progress and completed tasks. - Strengthened guidance on using historical context (searching memory/) before replying or acting. - Simplified and clarified task delegation timing and follow-up procedures.
v2.1.2
Version 2.1.2 - Expanded collaboration rules to detail a six-phase team task execution flow (SEARCH → RECORD → ORIENT → DISPATCH → REVIEW → UPDATE) - Added multi-agent workflow management steps, progress logging templates, and complex task handling guidelines - Updated documentation to emphasize leader responsibilities, standardized task delegation, and follow-up procedures - Improved clarity and structure of usage instructions and examples for both English and non-English speakers
v2.1.1
- Added a new README.md file for improved documentation. - Updated team delegation and leadership rules in SKILL.md, with clearer guidelines for task handoff and responsibility. - Expanded "Leader" responsibilities and specified correct procedures for task assignment and transfer. - Clarified collaboration best practices to avoid common leadership pitfalls.
v2.1.0
- Improved team member listing output: now shows members in Markdown, with clear leader marking and a summary line. - Updated leader coordination rules and descriptions for clarity. - No changes to API or command usage.
v2.0.3
- Removed 7 files, primarily related to documentation, integration with OpenClaw, and testing. - Cleaned up the project by deleting CLAUDE.md, README.md, integration source files, and test scripts. - No changes made to core skill functionality or user-facing features.
v2.0.2
agent-team-skill 2.0.2 introduces team leader roles and OpenClaw integration. - Added support for team leader designation with new leadership rules and task delegation principles. - New field is_leader in team member data and CLI arguments. - Overhauled and expanded documentation for collaboration, leader responsibilities, and correct task routing. - Added OpenClaw integration with dedicated plugin files and documentation. - Removed legacy OpenClaw integration files and updated compatibility to require Python 3.10+.
v2.0.1
agent-team-skill 2.0.1 - Added new integration for "openclaw" with relevant documentation and plugin files. - Introduced a test file: tests/test_team.py for team management features. - No changes to the main SKILL.md functionality or usage instructions.
v2.0.0
- Expanded documentation in SKILL.md to include how to add, update, and reset team members via command-line. - Made team data management fully global/shared, with clearer instructions. - Removed GUIDE.md; all usage guidance is now consolidated in SKILL.md. - Updated and streamlined feature descriptions for clarity and ease of use.
v1.5.1
agent-team-skill 1.5.1 - Removed the homepage field from SKILL.md metadata. - Simplified member information example (reduced example tags/expertise). - Shortened use case descriptions for clarity. - Removed less essential usage scenarios (e.g. “能力评估”, “团队协作”) from documentation.
v1.5.0
- Major documentation update: simplified SKILL.md and moved instructions for updating members and resetting data to new GUIDE.md. - Removed CLAUDE.md, README.md, and the test file tests/test_team.py to streamline the repository. - SKILL.md now focuses on listing members and provides cleaner use case examples. - No code changes; all updates are documentation-related.
v1.4.3
移除任务管理功能,专注团队管理
v1.4.2
Version 1.4.2 release
v1.0.2
docs: Add session startup instructions and team collaboration rules
v1.4.1
- Updated SKILL.md description to clarify key usage scenarios and emphasize when to use the skill for team member initialization and updates. - Improved example data and parameters for listing and updating team members, making instructions clearer and more consistent. - Expanded and refined use-case guidance for integrating the skill into team management workflows. - No changes to commands or core functionality. Documentation only.
v1.4.0
Add task management module with extensible extra field
Metadata
Slug agent-team-skill
Version 2.1.9
License MIT-0
All-time Installs 8
Active Installs 8
Total Versions 26
Frequently Asked Questions

What is Agent Team Skill?

Manage AI agent team members with roles, skills, and task delegation. Use when: listing team members, adding/updating agents, setting the team leader, checki... It is an AI Agent Skill for Claude Code / OpenClaw, with 966 downloads so far.

How do I install Agent Team Skill?

Run "/install agent-team-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Team Skill free?

Yes, Agent Team Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent Team Skill support?

Agent Team Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Team Skill?

It is built and maintained by qiyan (@realqiyan); the current version is v2.1.9.

💬 Comments