Agent skill

Task Dispatch

by Stanshy in Stanshy/AgentHub

Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan

MITAuto-check: notesAgent Workflows

Install Task Dispatch

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

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

GitHub CLI
$ gh skill install Stanshy/AgentHub task-dispatch --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-dispatch .claude/skills/task-dispatch && 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-dispatch
GitHub stars
201
Token cost
~554 tokens
SKILL.md length
134 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan

  • Works in 2 steps: 解析 $ARGUMENTS,提取 → 取得真實時間(必要,不可跳過)
  • Tasks that involve Skill authoring
  • SKILL.md covers 使用方式, 輸入格式 and 執行步驟
  • Calls node

What it does

Task Dispatch is an agent skill from Stanshy/AgentHub. Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan

Its SKILL.md is about 550 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 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 Skill authoring

Example prompts

  • “/task-dispatch”

Requirements

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

Workflow steps

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

  1. 解析 $ARGUMENTS,提取
  2. 取得真實時間(必要,不可跳過)

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 Dispatch loads about 554 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 134 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
~554

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). 134 words, ~554 tokens.

Download SKILL.mdSave it as .claude/skills/task-dispatch/SKILL.md (or your agent's skills folder).
name
task-dispatch
description
Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan
allowed-tools
Read, Write, Edit, Glob, Grep, Bash

任務下達

老闆在 Session 中下達任務指令,自動建立 .tasks/sprint-{N}/ 並記錄到 dev-plan。

使用方式

/task-dispatch $ARGUMENTS

輸入格式

任務: T3 — 移除 19 個服務
指派: backend-architect
優先級: P0
依賴: T2
預估: 2h
驗收標準:
- 19 個服務檔案已刪除
- 保留 14 個核心服務
- typecheck 通過

支援批次(用 --- 分隔多個任務)。

執行步驟

  1. 解析 $ARGUMENTS,提取:

    • 任務 ID + 名稱(如 T3 — 移除 19 個服務)
    • 指派對象(agent-id)
    • 優先級(P0/P1/P2,預設 P1)
    • 依賴(可選,如 T2)
    • 預估工時(可選,如 2h)
    • 驗收標準(checkbox list)
  2. 取得真實時間(必要,不可跳過): !node -e "console.log(new Date().toISOString())"

    ⚠️ 禁止自行編造時間。Agent 不知道真實時間,必須透過上述指令取得。將輸出存為變數 $NOW 供後續步驟使用(用於 建立時間 和事件紀錄的 timestamp)。

  3. 讀取當前 Sprint 的 dev-plan: !ls -t proposal/sprint*-dev-plan.md 2>/dev/null | head -1

  4. 偵測當前專案名稱(從 CLAUDE.md 或 dev-plan 標題提取)

  5. 為每個任務建立 .tasks/sprint-{N}/{ID}-{kebab-case}.md,使用以下格式:

⚠️ Sprint 子目錄規則:

  • 從 dev-plan 標題或 Sprint 資訊判斷當前 Sprint 編號
  • 建立目錄:mkdir -p .tasks/sprint-{N}
  • 任務檔案路徑範例:.tasks/sprint-1/T3-remove-services.md
  • 禁止 直接放在 .tasks/ 根目錄(會導致跨 Sprint ID 衝突)
欄位格式規範(系統解析依賴)
欄位格式範例說明
IDTNT1, T3T + 數字
SprintSprint NSprint 1必須此格式,系統靠名稱比對 DB 中的 Sprint UUID
狀態英文小寫created合法值:created/assigned/in_progress/in_review/blocked/done
優先級P0/P1/P2P0—
建立時間ISO 86012026-03-26T12:00:00.000Z—
依賴逗號分隔 IDT1,T3無依賴填 —
並行組字母或 —A同組任務可並行;循序任務填 —
markdown
# {任務名稱}

| 欄位 | 值 |
|------|-----|
| ID | {ID} |
| 專案 | {專案名} |
| Sprint | Sprint {N} |
| 指派給 | {agent-id} |
| 優先級 | {P0/P1/P2} |
| 狀態 | assigned |
| 依賴 | {依賴任務 ID,無則填 —} |
| 並行組 | {A/B/C... 或 —} |
| 預估 | {預估工時,無則填 —} |
| 建立時間 | $NOW |
| 開始時間 | — |
| 完工時間 | — |

---

## 任務描述

{從指令中提取的任務說明}

## 驗收標準

- [ ] {逐項列出}

---

## 事件紀錄

### $NOW — 建立任務(assigned)
由老闆透過 /task-dispatch 派工
  1. 更新 dev-plan 第 6 節任務表(append 新任務行):
| {ID} | {說明} | {負責} | {依賴} | {預估} |
  1. 輸出摘要:
✅ 已建立 N 個任務:
- T3: 移除 19 個服務 → backend-architect (P0, 依賴 T2)
- T4: ...

© 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-dispatch of Stanshy/AgentHub.

Open the folder on GitHubat commit 5300820

Compare with similar skills

Task Dispatch 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 Dispatch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Task Dispatch this skillStanshy/AgentHub201—~554Automated safety check: NotesMIT
Skill CreatorAzure/azqr79489 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k10 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official37k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official37k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

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

    794 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 10 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.

    37k 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.

    37k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    65k GitHub stars~1k tokensUpdated yesterday
    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

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

    Stanshy/AgentHub

    Scan child projects for pitfalls and propose company standard updates

    201 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

    201 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

    201 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

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

    Stanshy/AgentHub

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

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

Categories

Questions about Task Dispatch

What does Task Dispatch do?

Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan. Task Dispatch is an agent skill from Stanshy/AgentHub.

When should I use Task Dispatch?

Task Dispatch fits situations like: tasks that involve Skill authoring.

How do I install Task Dispatch in Claude Code?

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

How do I install Task Dispatch in Codex?

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

Can I use Task Dispatch 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-dispatch -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-dispatch, .gemini/skills/task-dispatch, .github/skills/task-dispatch and .opencode/skills/task-dispatch in your project.

What does Task Dispatch need to run?

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

Does Task Dispatch 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 Dispatch 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 Dispatch use?

Task Dispatch 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 Dispatch use?

About 554 tokens (SKILL.md is roughly 2.2k 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 Dispatch?

Skills that share tags, products or a category with Task Dispatch: Skill Creator (Azure/azqr, 794 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Task Dispatch?

Stanshy (a GitHub user) maintains it in Stanshy/AgentHub, which has 201 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.