task-delegation

task-delegation is a skill for Claude Code, Codex from Stanshy/AgentHub. It costs 20 tokens per session (871 once invoked), scanned A, original, MIT.

A workflow for breaking a sprint plan into assigned development tasks and storing each task in a separate .tasks file.

In plain words
What is it for?
Use it to update section 6 of a sprint plan and create task files such as .tasks/sprint-1/T1-feature-name.md.
Why use it?
It turns a broad development plan into trackable work with dependencies, priorities, owners, timestamps, and sprint placement.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stanshy/agenthub/task-delegation
Any agent
npx skills add Stanshy/AgentHub --skill task-delegation
Clone the repo
git clone --depth 1 https://github.com/Stanshy/AgentHub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for task-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/stanshy/agenthub/task-delegation.svg)](https://agentmods.dev/skills/stanshy/agenthub/task-delegation)
Your own site
<a href="https://agentmods.dev/skills/stanshy/agenthub/task-delegation"><img src="https://agentmods.dev/badge/skills/stanshy/agenthub/task-delegation.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00871
Opus 5 $0.00010 $0.00436
Sonnet 5 $0.00004 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 5d ago against content hash 92007987fbd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-delegation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.knowledge/company/skill-templates/task-delegation/SKILL.md · 87 lines

What it actually says

任務拆解與分派

在開發計畫書第 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 衝突)

格式規範(系統解析依賴,務必遵守)

欄位 格式 說明
ID TN T + 數字,如 T1, T2, T10
Sprint Sprint N 必須用 Sprint N 格式(如 Sprint 1),系統用此名稱對應 DB 中的 Sprint UUID
狀態 英文小寫 初始值為 assigned(L1 拆解時已知指派對象)
優先級 P0 / P1 / P2
建立時間 ISO 8601 2026-03-26T12:00:00.000Z
依賴 逗號分隔 ID T1,T3,無則填
# {任務標題}

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

---

## 任務描述

{詳細描述}

## 驗收標準

- [ ] ...

---

## 事件紀錄

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

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 87 lines · 20 tokens per session scan A 92007987fbd0

Subscribe to this mod's changes

task-delegation is a skill published in the GitHub repository Stanshy/AgentHub (200 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 871 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

agent-host-e2e-tests

Use when writing, recording, updating, validating, or troubleshooting the agent host end-to-end tests under src/vs/platform/agentHost/test/node/e2e (black-box tests that drive the whole agent host over the AHP protocol, using a CapiReplayProxy record/replay system for Claude/Copilot/Codex). Covers adding a…

microsoft/vscode · 111 tokens

vscode-dev-workbench

Use when the user wants to run the vscode.dev server locally and exercise the VS Code workbench or Agents window in the integrated browser against the local microsoft/vscode sources. Covers starting the dev server, the vscode-quality=dev URL, browser-driven interaction patterns, and optionally wiring up a local mock…

microsoft/vscode · 78 tokens

thisWeek

Resolve "thisWeek" to a concrete ISO date range relative to your run time — this week so far (Monday → today). Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a week-to-date task (this week's activity…

chaitanyagiri/munder-difflin · 77 tokens

comet-design

Comet Classic 阶段 2 —— 为 change 产出深度技术 Design Doc。.

rpamis/comet · 24 tokens