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-doctor.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-doctor)<a href="https://agentmods.dev/commands/sawadari/requirements-mcp-server/miyabi-doctor"><img src="https://agentmods.dev/badge/commands/sawadari/requirements-mcp-server/miyabi-doctor/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-doctor"><img src="https://agentmods.dev/badge/commands/sawadari/requirements-mcp-server/miyabi-doctor.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.00010 | $0.00888 |
| Opus 5 | $0.00005 | $0.00444 |
| Sonnet 5 | $0.00002 | $0.00178 |
| Haiku 4.5 | $0.00001 | $0.00089 |
Grade B, and why
miyabi-doctor scanned grade B with 1 finding 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 12d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install gh How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Miyabi Doctor - システム診断
プロジェクトのMiyabi統合状態と環境の健全性をチェックします。
実行内容
- Node.js - バージョンと互換性確認
- Git - インストールとアクセシビリティ
- GitHub CLI - インストールと認証状態
- GITHUB_TOKEN - 環境変数の設定確認
- Network - GitHub APIへの接続性
- Repository - Gitリポジトリの検出とリモート確認
- Claude Code - 実行環境の検出
使い方
Claude Code内で以下のように依頼してください:
Miyabiのシステムヘルスチェックを実行してください
または
miyabi doctorを実行して、問題がないか確認してください
MCPツール
このコマンドは以下のMCPツールを使用します:
miyabi__doctor- システムヘルスチェックの実行
出力例
{
"checks": [
{
"name": "Node.js",
"status": "pass",
"message": "v22.20.0 (OK)",
"details": "Node.js v22.20.0 meets minimum requirement (≥18)"
},
{
"name": "GITHUB_TOKEN",
"status": "fail",
"message": "Not set",
"suggestion": "Set GITHUB_TOKEN environment variable or run 'gh auth login'"
}
],
"summary": {
"passed": 6,
"warned": 0,
"failed": 1,
"total": 7
},
"overallStatus": "critical"
}
ステータスの意味
- pass ✅ - 問題なし
- warn ⚠️ - 警告(動作するが改善推奨)
- fail ❌ - エラー(機能が制限される)
トラブルシューティング
GITHUB_TOKEN が fail
解決方法:
.envファイルにGITHUB_TOKEN=ghp_xxxを追加- 環境変数として設定:
export GITHUB_TOKEN=ghp_xxx - または
gh auth loginを実行
GitHub CLI が fail
解決方法:
# Windows (winget)
winget install GitHub.cli
# Mac (Homebrew)
brew install gh
# Linux (apt)
sudo apt install gh
Node.js バージョンが古い
解決方法:
- Node.js 18以上にアップグレードしてください
- https://nodejs.org/
自動修復
一部の問題は自動修復可能です:
miyabi doctor --fix
これにより、以下が試行されます:
- GitHub CLIの自動認証
- 環境変数の設定提案
- 不足パッケージのインストール提案
CI/CDでの使用
GitHub Actionsで自動チェック:
- name: Miyabi Health Check
run: npx miyabi doctor --json
失敗時にビルドを停止:
- name: Miyabi Health Check
run: |
RESULT=$(npx miyabi doctor --json)
STATUS=$(echo $RESULT | jq -r '.overallStatus')
if [ "$STATUS" = "critical" ]; then
echo "Critical issues found"
exit 1
fi
💡 ヒント: 定期的に miyabi doctor を実行して、環境の健全性を保ちましょう。
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.
- 12d ago First seen · 140 lines · 10 tokens per session scan B 9a3d61b708d1
miyabi-doctor is a command published in the GitHub repository sawadari/requirements-mcp-server (2 stars, last pushed 10mo ago), licensed MIT. It adds 10 tokens to every session and 888 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
qa-changes
This skill should be used when the user asks to "QA a pull request", "test PR changes", "verify a PR works", "functionally test changes", or when an automated workflow triggers QA validation of code changes. Provides a structured methodology for setting up the environment, exercising changed behavior, and reporting…
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
fix
Universal debugging and fix application with semantic code analysis.
doctor
Badi configuration validation. Checks all Badi components and produces a diagnostic report.
http-service
Build, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
gh-issue-use-cypress
Like /gh-issue-use-browser, but pinned to the Cypress MCP — use when your project runs the Cypress MCP for browser automation. Example — /gh-issue-use-cypress "Composer > Save" saving toasts failure but the record persists.