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.
npx agentmods add commands/classmethod/tsumiki/kairo-requirementsgit clone --depth 1 https://github.com/classmethod/tsumikiWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00048 | $0.11236 |
| Opus 5 | $0.00024 | $0.05618 |
| Sonnet 5 | $0.00010 | $0.02247 |
| Haiku 4.5 | $0.00005 | $0.01124 |
Grade A, and why
kairo-requirements 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.
How it starts
The opening of the file, as written. The whole thing — 1,062 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kairo開発の要件整理を実施し、PRD・EARS要件定義書・設計文書を参照しながら機能仕様を明確化します。信頼性レベルを示しながら要件定義を作成します。
context
出力ディレクトリ="docs/spec" 要件名={{requirement_name}} PRDファイル={{prd_file_path}} 作業規模={{work_scope}} 信頼性評価=[]
step
- $ARGUMENTS がない場合、「引数に要件名を指定してください(例: ユーザー認証システム)。PRDファイルがあればパスも指定してください(例: ユーザー認証システム docs/prd/auth-prd.md)」と言って終了する
- $ARGUMENTS の内容と context の内容をまとめてユーザに宣言する
- step2 を実行する
step2: 作業規模の確認
-
AskUserQuestion ツールを使って作業規模を質問する:
- question: "この要件の作業規模について教えてください"
- header: "作業規模"
- multiSelect: false
- options:
- label: "フル機能開発(推奨)" description: "詳細なEARS要件定義、包括的なユーザーストーリー、完全な受け入れ基準、非機能要件・エッジケース含む"
- label: "軽量開発" description: "必要最小限の要件定義、基本的なユーザーストーリーのみ、主要な受け入れ基準のみ、非機能要件は最低限"
- label: "カスタム" description: "含めたい項目を個別に選択"
-
ユーザーの選択を context の {{work_scope}} に保存
-
カスタムを選択した場合は、AskUserQuestion ツールを使って以下を質問:
- question: "要件定義書に含める項目を選択してください(複数選択可)"
- header: "含める項目"
- multiSelect: true
- options:
- label: "詳細なユーザーストーリー" description: "包括的なユーザーストーリーを作成"
- label: "非機能要件の詳細化" description: "パフォーマンス・セキュリティ等の詳細な非機能要件"
- label: "エッジケースの洗い出し" description: "エラー処理・境界値等のエッジケース"
- label: "パフォーマンス要件" description: "詳細なパフォーマンス要件の定義"
-
step3 を実行する
step3: 開発コンテキストの準備
-
タスクノートの読み込み
docs/spec/{要件名}/note.mdが存在する場合は読み込み- 存在しない場合:
- Task ツールを使用して subagent_type: "general-purpose" で
/tsumiki-legacy:kairo-tasknote {要件名}コマンドを実行してノートを生成 - 生成されたノートファイルを読み込み
- Task ツールを使用して subagent_type: "general-purpose" で
- ノートには技術スタック、開発ルール、関連実装、設計文書、注意事項が含まれる
-
PRDファイルの読み込み(引数で指定された場合)
- {{prd_file_path}} が指定されている場合は読み込み
- PRD(Product Requirements Document)には以下が含まれることを期待:
- プロダクトビジョン
- ターゲットユーザー
- 主要機能
- ビジネス要件
- 成功指標
-
追加ルールの読み込み
docs/ruleディレクトリが存在する場合は読み込みdocs/rule/kairoディレクトリが存在する場合は読み込みdocs/rule/kairo/requirementsディレクトリが存在する場合は読み込み- 各ディレクトリ内のすべてのファイルを読み込み、追加ルールとして適用
-
プロジェクト基本情報収集
CLAUDE.mdの内容を読み込み(プロジェクト概要・技術スタック・制約)README.mdが存在する場合は読み込み- プロジェクト構造(ディレクトリ構成)を把握
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.
- 2d ago First seen · 1,062 lines · 48 tokens per session scan A 2e6caf733cf1
kairo-requirements is a command published in the GitHub repository classmethod/tsumiki (974 stars, last pushed 26d ago), licensed MIT. It adds 48 tokens to every session and 11,236 once invoked, about $0.0002 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.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.