kairo-tasks

A task-planning command that breaks an approved technical design into individual implementation tasks and groups them into phases. It considers task dependencies and can optionally register tasks for Claude Code.

In plain words
What is it for?
Use it with a requirement name to create task files, choose a detailed or lightweight breakdown, organize work into phases, and optionally enable task registration with the --task option.
Why use it?
Large development plans are difficult to schedule and follow when they remain as one block of work. Smaller ordered tasks make the work easier to manage.

Command

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 commands/classmethod/tsumiki/kairo-tasks
Clone the repo
git clone --depth 1 https://github.com/classmethod/tsumiki
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,788 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.00066 $0.11788
Opus 5 $0.00033 $0.05894
Sonnet 5 $0.00013 $0.02358
Haiku 4.5 $0.00007 $0.01179

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

Security

Grade A, and why

kairo-tasks 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 2d 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.

legacy/commands/kairo-tasks.md · 1,134 lines

How it starts

The opening of the file, as written. The whole thing — 1,134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kairo-tasks

目的

設計文書に基づいて実装タスクを1日単位の粒度で分割し、1ヶ月単位のフェーズに整理する。各タスクを個別ファイルで作成し、依存関係を考慮した適切な順序で管理する。

前提条件

  • docs/design/{要件名}/ に設計文書が存在する
  • 設計がユーザによって承認されている(または承認が省略されている)
  • docs/tasks/ ディレクトリが存在する(なければ作成)
  • 思考は英語で実施。ファイルは日本語で記述
  • task_id は TASK-{4桁の数字} (例 TASK-0001)にする

context

出力ディレクトリ="docs/tasks" 要件名={{requirement_name}} 作業規模={{work_scope}} 信頼性評価=[] claude_code_task登録={{register_to_claude_code_task}}

step

  • $ARGUMENTS がない場合、「引数に要件名を指定してください(例: ユーザー認証システム)」と言って終了する
  • $ARGUMENTS から --task オプションの有無を確認する
    • --task が含まれている場合、context の {{register_to_claude_code_task}} を true に設定
    • --task を除いた残りを要件名として context の {{requirement_name}} に保存
  • $ARGUMENTS の内容と context の内容をまとめてユーザに宣言する(--task オプションが有効な場合はその旨も含める)
  • step2 を実行する

step2: 作業規模の確認

  • AskUserQuestion ツールを使って作業規模を質問する:

    • question: "このタスク分割の作業規模について教えてください"
    • header: "作業規模"
    • multiSelect: false
    • options:
      • label: "詳細タスク分割(推奨)" description: "詳細な実装手順、包括的なテストケース、完全な依存関係分析、UI/UX要件含む"
      • label: "軽量タスク分割" description: "必要最小限のタスク定義、基本的な実装手順のみ、主要な依存関係のみ"
      • label: "カスタム" description: "含めたい項目を個別に選択"
  • ユーザーの選択を context の {{work_scope}} に保存

  • カスタムを選択した場合は、AskUserQuestion ツールを使って以下を質問:

    • question: "タスク定義に含める項目を選択してください(複数選択可)"
    • header: "含める項目"
    • multiSelect: true
    • options:
      • label: "詳細な実装手順" description: "ステップバイステップの実装ガイド"
      • label: "包括的なテストケース" description: "単体・統合テストの詳細な定義"
      • label: "UI/UX要件の詳細化" description: "ローディング状態・エラー表示・モバイル対応等"
      • label: "依存関係の詳細分析" description: "タスク間の依存関係の詳細な分析"
  • step3 を実行する

step3: 開発コンテキストの準備

  • タスクノートの読み込み

    • docs/spec/{要件名}/note.md が存在する場合は読み込み
    • 存在しない場合:
      • Task ツールを使用して subagent_type: "general-purpose" で /tsumiki-legacy:kairo-tasknote {要件名} コマンドを実行してノートを生成
      • 生成されたノートファイルを読み込み
    • ノートには技術スタック、開発ルール、関連実装、設計文書、注意事項が含まれる
  • 追加ルールの読み込み

    • docs/rule ディレクトリが存在する場合は読み込み
    • docs/rule/kairo ディレクトリが存在する場合は読み込み
    • docs/rule/kairo/tasks ディレクトリが存在する場合は読み込み
    • 各ディレクトリ内のすべてのファイルを読み込み、追加ルールとして適用

Read the full file on GitHub · 1,134 lines

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. 2d ago First seen · 1,134 lines · 66 tokens per session scan A 7578cc70bb50

Subscribe to this mod's changes

kairo-tasks is a command published in the GitHub repository classmethod/tsumiki (974 stars, last pushed 25d ago), licensed MIT. It adds 66 tokens to every session and 11,788 once invoked, about $0.0003 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.