# Task Management

Use before any Leader taskflow call or task-level workflow involving delegating a ready...

- Repository: https://github.com/agentscope-ai/AgentTeams (5913 stars)
- Category: Writing
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add agentscope-ai/AgentTeams --skill task-management -g -a claude-code -y`
Codex: `npx skills add agentscope-ai/AgentTeams --skill task-management -g -a codex -y`
Cursor: `npx skills add agentscope-ai/AgentTeams --skill task-management -g -a cursor -y`
Gemini CLI: `npx skills add agentscope-ai/AgentTeams --skill task-management -g -a gemini-cli -y`

## Description

Use before any Leader taskflow call or task-level workflow involving delegating a ready DAG or Loop node, writing task meta/spec, checking a Worker task result, handling result statuses, task directory ownership, or Worker result contracts. Always use this skill when the request mentions delegate_task, check_task, task result.md, task spec.md, BLOCKED, REVISION_NEEDED, INTERRUPTED, SUCCESS, or assigning/delegating a Worker task.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Task Management

You manage individual Worker task delegation and result checks. Use this skill as the task execution layer. Use `team-coordination` for work organization strategy and `project-management` for Project state, DAG, Loop, lifecycle, and ready-node operations.

Task state is tool-owned. Do not create, edit, delete, or repair `shared/tasks/**` with shell commands, heredocs, direct file writes, `rm`, `mkdir`, `cp`, or Python module execution. Use `taskflow` actions only. If `taskflow` fails or returns inconsistent state, stop and report the blocker instead of manually patching files.

## Scope

Use this skill for:

- `taskflow` calls
- creating Leader-owned task files
- delegating one ready DAG or Loop node
- checking one submitted Worker result
- enforcing task file ownership
- enforcing Worker result contracts

Do not use this skill to choose DAG vs Loop, design the project graph, pause/resume/complete a Project, or aggregate the final Project result.

## Ownership

You own:

```text
shared/tasks/{task-id}/meta.json
shared/tasks/{task-id}/spec.md
```

The Worker owns:

```text
shared/tasks/{task-id}/workspace/
shared/tasks/{task-id}/<deliverables>
shared/tasks/{task-id}/result.md
```

Do not ask Workers to edit Project-level files:

```text
shared/projects/{project-id}/meta.json
shared/projects/{project-id}/plan.md
shared/projects/{project-id}/result.md
```

## Tool Boundary

Use `taskflow` for Leader task actions:

- `delegate_task`
- `check_task`

`taskflow` is a QwenPaw/CoPaw MCP tool exposed in your tool list. It is not a shell command, CLI binary, Python module, or HTTP endpoint. Call the tool directly; do not search for a binary or manually edit task files if the tool is unavailable.

Worker runtimes use their own task actions:

- `ack_task`
- `submit_task`

Use `project-management` for:

The rest: https://github.com/agentscope-ai/AgentTeams/blob/HEAD/manager/agent/team-leader-agent/skills/task-management/SKILL.md
