Borrowing it
Nothing to install: this file belongs to sawadari/requirements-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sawadari/requirements-mcp-server/main/.claude/commands/miyabi-todos.mdgit clone --depth 1 https://github.com/sawadari/requirements-mcp-serverWrote 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.
[](https://agentmods.dev/commands/sawadari/requirements-mcp-server/miyabi-todos)<a href="https://agentmods.dev/commands/sawadari/requirements-mcp-server/miyabi-todos"><img src="https://agentmods.dev/badge/commands/sawadari/requirements-mcp-server/miyabi-todos/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/sawadari/requirements-mcp-server/miyabi-todos"><img src="https://agentmods.dev/badge/commands/sawadari/requirements-mcp-server/miyabi-todos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.02622 |
| Opus 5 | $0.00005 | $0.01311 |
| Sonnet 5 | $0.00002 | $0.00524 |
| Haiku 4.5 | $0.00001 | $0.00262 |
Grade A, and why
miyabi-todos 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 11d 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 — 370 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Miyabi TODOコメント自動検出
コード内のTODOコメントを自動的に検出して、GitHub Issueを作成します。
MCPツール
miyabi__todos
TODOコメントをスキャンしてIssue作成
パラメータ:
path: スキャン対象パス(デフォルト:./src)autoCreate: 自動的にIssue作成するか(デフォルト: false)
使用例:
TODOをスキャンして表示:
miyabi__todos({ path: "./src" })
TODOを検出して自動的にIssue作成:
miyabi__todos({ path: "./src", autoCreate: true })
プロジェクト全体をスキャン:
miyabi__todos({ path: "." })
動作フロー
コードベーススキャン
↓
TODOコメント検出
↓
重複チェック(既存Issueとの照合)
↓
[autoCreate=true の場合]
↓
GitHub Issue自動作成
↓
適切なLabel付与
↓
結果レポート表示
検出パターン
Miyabiは以下のパターンのTODOコメントを検出します:
基本パターン
// TODO: ユーザー認証機能を追加
// FIXME: エラーハンドリングを改善
// HACK: 一時的な回避策(後で修正)
// XXX: 要確認・注意が必要
// NOTE: 重要な実装メモ
優先度付き
// TODO(P0): 緊急対応が必要
// TODO(P1): 高優先度
// TODO(P2): 通常優先度
// TODO(P3): 低優先度
担当者指定
// TODO(@username): ユーザー認証実装
// FIXME(@team-frontend): UIバグ修正
期限付き
// TODO(2025-12-31): 年内に実装
// FIXME(before-v1.0): リリース前に修正
複合
// TODO(P1)(@backend-team)(2025-11-01): API実装
Issue作成時のLabel付与
自動的に以下のLabelが付与されます:
| TODOタイプ | Label | 優先度 |
|---|---|---|
| TODO | type:feature, source:code-todo |
規模により自動判定 |
| FIXME | type:bug, source:code-fixme |
緊急度-中 |
| HACK | type:refactor, source:code-hack |
技術的負債 |
| XXX | type:investigation, source:code-xxx |
要確認 |
| NOTE | type:docs, source:code-note |
ドキュメント |
優先度マッピング
P0→緊急度-即時P1→緊急度-高P2→緊急度-中P3→緊急度-低
コマンドライン実行
MCPツールの代わりにコマンドラインでも実行可能:
# TODOをスキャンして表示
npx miyabi todos --path ./src
# 自動的にIssue作成
npx miyabi todos --path ./src --auto-create
# 特定のパターンのみ検出
npx miyabi todos --path . --pattern "TODO|FIXME"
# ドライラン(Issue作成しない)
npx miyabi todos --path ./src --auto-create --dry-run
環境変数
.env ファイルに以下を設定:
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REPOSITORY=owner/repo
出力形式
スキャン結果(autoCreate=false)
📝 TODOスキャン結果
検出: 15件
src/auth/login.ts:42
// TODO(P1): MFA対応を追加
タイプ: TODO
優先度: P1
ファイル: src/auth/login.ts:42
src/api/users.ts:123
// FIXME: レート制限エラー処理を改善
タイプ: FIXME
ファイル: src/api/users.ts:123
...
サマリー:
TODO: 8件
FIXME: 4件
HACK: 2件
XXX: 1件
推奨アクション:
1. npx miyabi todos --auto-create でIssue化
2. 高優先度(P0/P1)から対応
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.
- 11d ago First seen · 370 lines · 9 tokens per session scan A f92ecb708183
miyabi-todos is a command published in the GitHub repository sawadari/requirements-mcp-server (2 stars, last pushed 10mo ago), licensed MIT. It adds 9 tokens to every session and 2,622 once invoked, about $0.0000 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-31.
Other commands, from other repositories
template
Manage issue templates for streamlined issue creation.
sync-linear
Sync current work with Linear ticket status.
add-note
Add an internal or external note to a ConnectWise PSA ticket.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
workpm
A project-management workflow for coordinating multiple AI workers through five stages. It includes task assignment, shared activity logs, worker replacement, and final checks.