Agent skill

Task Delegation

by Stanshy in Stanshy/AgentHub

Create task breakdown in dev plan section 6 and generate .tasks/ files

MITAuto-check: notesAgent Workflows

Install Task Delegation

skills CLI
$ npx skills add Stanshy/AgentHub --skill task-delegation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Stanshy/AgentHub task-delegation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Stanshy/AgentHub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.knowledge/company/skill-templates/task-delegation .claude/skills/task-delegation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
task-delegation
GitHub stars
202
Token cost
~432 tokens
SKILL.md length
116 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Create task breakdown in dev plan section 6 and generate .tasks/ files

  • Works in 3 steps: 根據第 3 節(檔案變更清單)和技術方案,拆解任務 → 更新 dev-plan 第 6 節任務表 → 取得真實時間(必要,不可跳過)
  • Tasks that involve Task breakdown
  • SKILL.md covers 使用方式 and 執行步驟
  • Calls node

What it does

Task Delegation is an agent skill from Stanshy/AgentHub. Create task breakdown in dev plan section 6 and generate .tasks/ files

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Task breakdown and Skill authoring. The repository describes itself as: One person, one software company. Manage 47 AI agents from a single Electron app — with Harness Engineering (Skills + Hooks + FileWatchers) for disciplined, traceable AI workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Task breakdown
  • Tasks that involve Skill authoring

Example prompts

  • “/task-delegation”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 根據第 3 節(檔案變更清單)和技術方案,拆解任務
  2. 更新 dev-plan 第 6 節任務表
  3. 取得真實時間(必要,不可跳過)

What it can do on your machine

Read from SKILL.md and the folder at commit 5300820. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Task Delegation loads about 432 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 116 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~432

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Stanshy/AgentHub at commit 5300820, republished under its MIT licence (© Stanshy). 116 words, ~432 tokens.

Download SKILL.mdSave it as .claude/skills/task-delegation/SKILL.md (or your agent's skills folder).
name
task-delegation
description
Create task breakdown in dev plan section 6 and generate .tasks/ files
allowed-tools
Read, Write, Edit, Glob, Grep, Bash

任務拆解與分派

在開發計畫書第 6 節建立任務表,同時產生 .tasks/sprint-{N}/TN-xxx.md 檔案。

使用方式

/task-delegation

執行步驟

  1. 讀取當前 Sprint 的 dev-plan: !ls -t proposal/sprint*-dev-plan.md 2>/dev/null | head -1 | xargs cat 2>/dev/null || echo "找不到 dev-plan"

  2. 根據第 3 節(檔案變更清單)和技術方案,拆解任務

  3. 更新 dev-plan 第 6 節任務表:

| 任務 | 說明 | 負責 | 依賴 | 預估 |
|------|------|------|------|------|
| T1 | ... | backend-architect | — | 1h |
  1. 取得真實時間(必要,不可跳過): !node -e "console.log(new Date().toISOString())"

    ⚠️ 禁止自行編造時間。將輸出存為 $NOW 供後續步驟使用(建立時間與事件紀錄 timestamp)。

  2. 為每個任務建立 .tasks/sprint-{N}/TN-{kebab-case-name}.md:

⚠️ Sprint 子目錄規則:任務檔案必須放在對應 Sprint 的子目錄下。

  • Sprint 1 的任務 → .tasks/sprint-1/T1-xxx.md
  • Sprint 2 的任務 → .tasks/sprint-2/T3-xxx.md
  • 如果目錄不存在,先建立:mkdir -p .tasks/sprint-{N}
  • 禁止 直接放在 .tasks/ 根目錄(會導致跨 Sprint ID 衝突)
格式規範(系統解析依賴,務必遵守)
欄位格式說明
IDTNT + 數字,如 T1, T2, T10
SprintSprint N必須用 Sprint N 格式(如 Sprint 1),系統用此名稱對應 DB 中的 Sprint UUID
狀態英文小寫初始值為 assigned(L1 拆解時已知指派對象)
優先級P0 / P1 / P2—
建立時間ISO 8601如 2026-03-26T12:00:00.000Z
依賴逗號分隔 ID如 T1,T3,無則填 —
markdown
# {任務標題}

| 欄位 | 值 |
|------|-----|
| ID | TN |
| 專案 | {專案名} |
| Sprint | Sprint {N} |
| 指派給 | {agent-id} |
| 優先級 | P0/P1 |
| 狀態 | assigned |
| 依賴 | {依賴任務 ID,無則填 —} |
| 預估 | {預估工時,無則填 —} |
| 建立時間 | $NOW |

---

## 任務描述

{詳細描述}

## 驗收標準

- [ ] ...

---

## 事件紀錄

### $NOW — 建立任務(assigned)
由 L1 透過 /task-delegation 建立
  1. 畫出依賴圖(ASCII art)

© Stanshy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .knowledge/company/skill-templates/task-delegation of Stanshy/AgentHub.

Open the folder on GitHubat commit 5300820

Compare with similar skills

Task Delegation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Task Delegation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Task Delegation this skillStanshy/AgentHub202—~432Automated safety check: NotesMIT
Agent OrchestratorNeverSight/learn-skills.dev2161 repos~1.4kAutomated safety check: PassNone
Skill CreatorAzure/azqr79589 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0

Similar skills

  • Agent Orchestrator

    NeverSight/learn-skills.dev

    Meta-agent skill for orchestrating complex tasks through autonomous sub-agents.

    216 GitHub starsUsed in 1 repo~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed

More from Stanshy/AgentHub

All 23 skills in this repo
  • Dev Plan

    Stanshy/AgentHub

    Generate a development plan with task breakdown and section 10 tracking tables

    202 GitHub stars~686 tokensUpdated 6 mo ago
    Auto-check: notes
  • Knowledge Feedback

    Stanshy/AgentHub

    Scan child projects for pitfalls and propose company standard updates

    202 GitHub stars~549 tokensUpdated 6 mo ago
    Auto-check: notes
  • Product Diagnosis

    Stanshy/AgentHub

    Six-question diagnostic framework for G0 pre-check — validate product direction before development starts

    202 GitHub stars~690 tokensUpdated 6 mo ago
    Auto-check passed
  • Project Kickoff

    Stanshy/AgentHub

    Initialize new project with CLAUDE.md, .knowledge/ structure, company rules, and git

    202 GitHub stars~528 tokensUpdated 6 mo ago
    Auto-check: notes
  • Review

    Stanshy/AgentHub

    L1 internal review with auto-detection, design comparison, and Gate escalation path

    202 GitHub stars~854 tokensUpdated 6 mo ago
    Auto-check: notes
  • Sop Plan

    Stanshy/AgentHub

    L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub.

    202 GitHub stars~437 tokensUpdated 6 mo ago
    Auto-check: notes

Categories

Questions about Task Delegation

What does Task Delegation do?

Create task breakdown in dev plan section 6 and generate .tasks/ files. Task Delegation is an agent skill from Stanshy/AgentHub.

When should I use Task Delegation?

Task Delegation fits situations like: tasks that involve Task breakdown; tasks that involve Skill authoring.

How do I install Task Delegation in Claude Code?

Run `npx skills add Stanshy/AgentHub --skill task-delegation -a claude-code`. Or copy the skill folder (.knowledge/company/skill-templates/task-delegation in Stanshy/AgentHub) into .claude/skills/task-delegation in your project. Claude Code loads it when a task matches its description.

How do I install Task Delegation in Codex?

Run `npx skills add Stanshy/AgentHub --skill task-delegation -a codex`. Or copy the skill folder (.knowledge/company/skill-templates/task-delegation in Stanshy/AgentHub) into .agents/skills/task-delegation in your project. Codex loads it when a task matches its description.

Can I use Task Delegation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Stanshy/AgentHub --skill task-delegation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/task-delegation, .gemini/skills/task-delegation, .github/skills/task-delegation and .opencode/skills/task-delegation in your project.

What does Task Delegation need to run?

Going by SKILL.md and its folder, Task Delegation needs the command-line tools its instructions call (node). Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash.

Does Task Delegation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Task Delegation safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Task Delegation use?

Task Delegation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Task Delegation use?

About 432 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Task Delegation?

Skills that share tags, products or a category with Task Delegation: Agent Orchestrator (NeverSight/learn-skills.dev, 216 stars), Skill Creator (Azure/azqr, 795 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Task Delegation?

Stanshy (a GitHub user) maintains it in Stanshy/AgentHub, which has 202 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on April 9, 2026.

Source: Stanshy/AgentHub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.