Best for
- Always use this skill when the request mentions delegate_task, check_task, task result.
agentscope-ai/AgentTeams/manager/agent/team-leader-agent/skills/task-management/SKILL.md
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.
Decision brief
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.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/agentscope-ai/AgentTeams --skill "manager/agent/team-leader-agent/skills/task-management"Inspect the Agent Skill "task-management" from https://github.com/agentscope-ai/AgentTeams/blob/062f1c8d7edd54ceaa2141862dd98a75c36c6980/manager/agent/team-leader-agent/skills/task-management/SKILL.md at commit 062f1c8d7edd54ceaa2141862dd98a75c36c6980. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
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.
Do not ask Workers to edit Project-level files:
Use taskflow for Leader task actions:
Write task specs in the language selected by AGENTS.md Response Language.
assignedto, Matrix @mention, and all task tracking fields must use the Worker's Matrix localpart (the part between @ and : in matrixUserID). Extract it mechanically — never guess, strip, or transform.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 93/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 5,317 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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.
Use this skill for:
taskflow callsDo not use this skill to choose DAG vs Loop, design the project graph, pause/resume/complete a Project, or aggregate the final Project result.
You own:
shared/tasks/{task-id}/meta.json
shared/tasks/{task-id}/spec.md
The Worker owns:
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:
shared/projects/{project-id}/meta.json
shared/projects/{project-id}/plan.md
shared/projects/{project-id}/result.md
Use taskflow for Leader task actions:
delegate_taskcheck_tasktaskflow 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_tasksubmit_taskUse project-management for:
create_projectplan_dagready_nodesplan_loopready_loop_nodesrecord_loop_iterationpause_projectresume_projectcomplete_projectDo not call check_active_tasks from heartbeat or routine recovery checks for now; Kubernetes Team Workers do not expose per-Worker /api/chats Services, so runtime probes can misreport healthy Workers as unreachable.
taskflow handles file sync internally: delegate_task auto-pushes the task directory, check_task auto-pulls the task directory. Use filesync separately only for project-level files or non-task shared files.
delegate_task automatically sends the Worker assignment: it publishes the task directory, validates the Worker's room membership, sends a visible Team Room message that @mentions the assigned Worker's full Matrix ID, and returns the Matrix eventId. do NOT send a second assignment message after a successful delegate_task — the auto-notification is the assignment, and a second message duplicates it and can trigger the Worker twice. Do not start polling the task, tell the requester that the Worker is working, or wait for results until the tool returns ok: true with a notification.eventId.
No extra action after delegate_task: the tool's auto-notification is the assignment. Do not output a same-room sentence describing your intent to delegate, such as "I need to delegate the first ready node" or "I will assign this to the dev worker". That text is not a Worker notification and leaves the task unassigned from the Worker's perspective.
Write task specs in the language selected by AGENTS.md Response Language.
Localize:
Keep machine-facing identifiers and protocol tokens unchanged:
result.mdSTATUSSUMMARYDELIVERABLESSUCCESSSUCCESS_WITH_NOTESREVISION_NEEDEDBLOCKEDINTERRUPTEDassigned_to, Matrix @mention, and all task tracking fields must use the Worker's Matrix localpart (the part between @ and : in matrixUserID). Extract it mechanically — never guess, strip, or transform.
# 1. Resolve team CR name
TEAM_CR="$(agt get workers "${AGENTTEAMS_WORKER_CR_NAME:-$AGENTTEAMS_WORKER_NAME}" -o json | jq -r '.team')"
# 2. Get all team workers
agt get workers --team "$TEAM_CR" -o json
# 3. Extract localpart from matrixUserID for each worker
# @worker-issue-resolver:domain → worker-issue-resolver
Use the extracted localpart verbatim everywhere:
manage-team-state.sh --assigned-to <localpart>@<localpart>:<domain>meta.json assigned_to fieldCLI .name may include a deployment prefix (e.g. magic-cn-x0a4t4pr201-worker-issue-resolver). Do NOT use .name directly and do NOT manually strip prefixes. Always extract the localpart from .matrixUserID instead.
CLI .name | matrixUserID | ✅ assigned_to | ❌ Wrong |
|---|---|---|---|
magic-cn-...-worker-issue-resolver | @worker-issue-resolver:domain | worker-issue-resolver | issue-resolver |
magic-cn-...-dev-worker | @dev-worker:domain | dev-worker | worker |
Delegate only nodes returned by:
projectflow(action="ready_nodes") for DAG plansprojectflow(action="ready_loop_nodes") for Loop plansDo not create bare tasks directly from external requests. Start from the Project plan.
Before delegation:
shared/projects/{project-id}/.meta.json and plan.md.project-management.Create the task with taskflow(action="delegate_task"):
{
"action": "delegate_task",
"payload": {
"projectId": "{project-id}",
"taskId": "{task-id}",
"roomId": "room:!team-room:domain",
"spec": "# <localized task heading>: <title>\n\n## <localized context heading>\n...\n\n## <localized expected result heading>\n<localized instructions. Keep deliverables under shared/tasks/{task-id}/ and publish result.md with STATUS, SUMMARY, and DELIVERABLES.>"
}
}
roomId is required. Set it to the Matrix room where this task was assigned and where the Worker must report completion. For Team work, use the Team Room. For external delegation, use that external assignment room.
delegate_task writes:
shared/tasks/{task-id}/meta.json
shared/tasks/{task-id}/spec.md
It also updates the plan marker from [ ] to [~]. Treat [~] as delegated/assigned from your perspective, not proof that the Worker is actively executing.
After delegation:
delegate_task auto-pushes shared/tasks/{task-id}/. Do not call filesync push for the task directory.shared/projects/{project-id}/, because the plan marker changed.delegate_task auto-notification already @mentions the assigned Worker in the assignment room (Team Room for Team work). Do not call message for the assignment — a second message duplicates it and can trigger the Worker twice.Do not prescribe Worker-internal acknowledgement, push, submit, or planning steps.
When a Worker reports completion:
In the current room, directly say that you received the message.
Check the submitted task:
{
"action": "check_task",
"payload": {
"taskId": "{task-id}"
}
}
check_task auto-pulls shared/tasks/{task-id}/ and returns the task meta (task field with project_id, room_id, assigned Worker) and the validated result (result field with status, summary, deliverables). Do not call filesync pull or read_file for task files separately.
Pull shared/projects/{project-id}/.
Read Project meta.json and plan.md.
If the Project is paused, stop. Do not check or accept the result, mark [x], resolve ready nodes, call plan_dag, call plan_loop, or delegate follow-up work. Tell the requester that a Worker result arrived while the Project is paused and wait for explicit direction.
Return to team-coordination and decide whether the result satisfies the Project delivery criteria.
Return to project-management and apply the Project-level decision:
[x], publish Project files, and resolve ready nodes.[x]; create or replace plan nodes as needed.Delegate any ready downstream nodes through the normal ready-node delegation flow.
Close the completion loop with requester visibility:
project-management and use the Project Status Reports template for the report content.communication.You may batch multiple Worker completions and downstream delegations into one requester report, but do not omit Step 9 when Project state changed. Task handling is not complete until the requester or DM admin has been notified.
Project directory pulls in these flows are blocking. If shared/projects/{project-id}/ cannot be pulled as a directory, stop and report the sync failure. Do not switch to pulling only meta.json or plan.md and then modify the plan.
Worker result.md is parsed with this contract:
STATUS: SUCCESS
SUMMARY: Short summary of the result
DELIVERABLES:
- shared/tasks/{task-id}/path/to/output
NOTES:
- Optional note
Valid statuses:
| Status | Meaning |
|---|---|
SUCCESS | Candidate dependency input; you must accept it before it can unblock downstream work |
SUCCESS_WITH_NOTES | Candidate dependency input with notes; you must accept it before it can unblock downstream work |
REVISION_NEEDED | Worker task ended; you must decide the next graph shape |
BLOCKED | Worker task ended; you must escalate, ask, or replan |
INTERRUPTED | Runtime/control-plane interruption ended the task; do not accept it by default |
Deliverable paths must be under:
shared/tasks/{task-id}/
SUCCESS and SUCCESS_WITH_NOTES are effective only as candidate results. Dependencies advance only after you accept the result and mark the plan node [x].
Submitting a result ends the Worker task. Do not resume, rewrite, or mutate the old task. Use project-management to plan a new DAG or Loop node if more work is needed.
Project plans use these task markers:
| Marker | Meaning |
|---|---|
[ ] | pending |
[~] | delegated |
[x] | completed / accepted by you |
[!] | blocked |
[→] | revision |
Use the Unicode arrow marker for revision in plan.md; the parser expects that single marker character.
Only [x] satisfies dependencies for ready_nodes and ready_loop_nodes.
Read only when needed:
references/dag-tasks.md - detailed task creation and completion workflow for DAG or Loop plan nodes.Do not:
task-managementcheck_task[x] just because the Worker wrote SUCCESSAlternatives
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
wanshuiyin/Auto-claude-code-research-in-sleep
Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.
dotnet/skills
Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing