teamharness-task-delegation

Delegates ready project nodes to Workers with task specs, assignment messages, and result checks.

5.5k|677|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/agentscope-ai/HiClaw --skill teamharness-task-delegation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: teamharness-task-delegation
Source: https://github.com/agentscope-ai/HiClaw/tree/main/plugins/teamharness/skills/team/task-delegation
Command: npx skills add https://github.com/agentscope-ai/HiClaw --skill teamharness-task-delegation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating multi-agent teamwork requires a Leader to turn planned project work into concrete Worker assignments with clear specs, acceptance criteria, and completion reporting, which is error-prone when done ad hoc over chat.

Core Features & Use Cases

  • Task Delegation: Converts ready Project Work nodes (from readyNodes or readyLoopNodes) into bounded Worker task specs written to shared/tasks/{task-id}/ via the taskflow delegate_task action.
  • Assignment Messaging: Automatically notifies the assigned Worker in the Matrix Task room with m.mentions, and defines the manual assignment message flow for Quick Tasks created with create_quick_project.
  • Result Verification: Checks submitted Worker results with check_task, enforcing a STATUS/SUMMARY/DELIVERABLES result contract and accepted statuses (SUCCESS, SUCCESS_WITH_NOTES, REVISION_NEEDED, BLOCKED).
  • Use Case: A Leader agent receives a ready node from a project DAG, delegates it to a Worker with a spec containing acceptance criteria and a completion report instruction, then validates the submitted result before accepting it into project progress.

Quick Start

Ask the Leader agent to delegate the next ready project node to a Worker using the task-delegation skill and verify the submitted result.

Frequently Asked Questions about teamharness-task-delegation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate a task to a Worker agent as a Leader?

Call the taskflow tool with role "leader" and action "delegate_task", passing projectId, taskId, roomId, and a spec containing context, acceptance criteria, and a completion report instruction. The node must come from readyNodes or readyLoopNodes first.

How do I check a submitted Worker task result?

Call taskflow with action "check_task" and the taskId. If effective is false, tell the Worker what is missing; if true, return to project management to decide whether to accept the result into project progress.

Should I send an assignment message after delegate_task succeeds?

No. delegate_task automatically validates room membership and sends the assignment message with m.mentions in the Task room, returning the Matrix eventId. Sending another message can trigger the Worker twice.

What statuses can a Worker submit for a task result?

Accepted statuses are SUCCESS, SUCCESS_WITH_NOTES, REVISION_NEEDED, and BLOCKED. Results should follow a contract with STATUS, SUMMARY, and DELIVERABLES lines, and report-style tasks may write the full report to result.md.

When should I not use task delegation?

Do not use it to create projects, create rooms, execute Worker tasks, or convert ordinary conversation into tasks. Project creation and result acceptance belong to teamharness-project-management, and room setup belongs to teamharness-roomflow.