Borrowing it
Nothing to install: this file belongs to Kewton/CommandMate. 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/Kewton/CommandMate/main/CLAUDE.mdgit clone --depth 1 https://github.com/Kewton/CommandMateWrote 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/instructions/kewton/commandmate/claude-md)<a href="https://agentmods.dev/instructions/kewton/commandmate/claude-md"><img src="https://agentmods.dev/badge/instructions/kewton/commandmate/claude-md/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/instructions/kewton/commandmate/claude-md"><img src="https://agentmods.dev/badge/instructions/kewton/commandmate/claude-md.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.04462 | $0.04462 |
| Opus 5.5 | $0.01785 | $0.01785 |
| Sonnet 5.5 | $0.00892 | $0.00892 |
| Haiku 4.5 | $0.00446 | $0.00446 |
Grade A, and why
CommandMate CLAUDE.md 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 yesterday.
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 — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
このドキュメントはClaude Code向けのプロジェクトガイドラインです。
⚠️ 重要: モジュール詳細を CLAUDE.md に書かないこと
- モジュールの実装詳細・関数シグネチャ・Issue 履歴は 必ず docs/module-reference.md に記載する(CLAUDE.md には書かない)
- CLAUDE.md は brief overview のみ。各 module 説明は 1 行 100 文字以内 を厳守
Issue #N で…追加のような履歴 narrative を CLAUDE.md に append しない。履歴は git log / CHANGELOG / PR description で辿る- docs/module-reference.md も append-only で肥大化させない(既存行の更新を優先する)
- 違反すると CI でブロックされる(
## 品質担保の CLAUDE.md size check 参照)
プロジェクト概要
基本情報
- プロジェクト名: CommandMate
- 説明: Git worktree管理とClaude CLI/tmuxセッション統合ツール
- リポジトリ: https://github.com/Kewton/CommandMate
技術スタック
| カテゴリ | 技術 |
|---|---|
| フレームワーク | Next.js 15 / React 19 |
| 言語 | TypeScript(Node.js 22 以上) |
| スタイル | Tailwind CSS 4 |
| データベース | SQLite (better-sqlite3) |
| テスト | Vitest (unit/integration), Playwright (e2e) |
ブランチ構成
ブランチ戦略
main (本番) ← PRマージのみ
│
develop (受け入れ・動作確認)
│
feature/*, fix/*, hotfix/* (作業ブランチ)
命名規則
| ブランチ種類 | パターン | 例 |
|---|---|---|
| 機能追加 | feature/<issue-number>-<description> |
feature/123-add-dark-mode |
| バグ修正 | fix/<issue-number>-<description> |
fix/456-fix-login-error |
| 緊急修正 | hotfix/<description> |
hotfix/critical-security-fix |
| ドキュメント | docs/<description> |
docs/update-readme |
恒久 worktree(クリーンアップ対象外)
次の worktree とブランチは常駐用。「worktree を片付けて」と頼まれても削除・ブランチ削除しない。
| worktree | ブランチ | 用途 |
|---|---|---|
../commandmate-main |
main |
main の参照用 |
../commandmate-agent-health |
agent-health-runner |
日次確認の Schedule 実行場所(CMATE.md あり。docs/user-guide/agent-health.md) |
標準マージフロー
通常フロー
feature/* ──PR──> develop ──PR──> main
fix/* ──PR──> develop ──PR──> main
hotfix/* ──PR──> main (緊急時のみ)
PRルール
- PRタイトル:
<type>: <description>形式- 例:
feat: add dark mode toggle - 例:
fix: resolve login error
- 例:
- PRラベル: 種類に応じたラベルを付与
feature,bug,documentation,refactor
- レビュー: 1名以上の承認(main向けPR。運用ルールで、branch protection では強制していない)
- CI/CD: 全チェックパス必須
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.
- yesterday Changed · -1 tokens per session 734e585e90ce
- 7d ago Changed · -101 lines · -1,295 tokens per session 9c894de84816
- 27d ago Changed · +1 lines · +31 tokens per session aaf4b843638b
- 1mo ago Changed · +8 lines · +129 tokens per session ba5780ecaad3
- 1mo ago Changed · +1 lines · +51 tokens per session 11d5e167248b
- 1mo ago Changed · -2 lines · -42 tokens per session bd0011b4e3c9
- 1mo ago First seen · 422 lines · 5,589 tokens per session scan A 1522dae1a44f
CommandMate CLAUDE.md is an instructions file published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 4,462 tokens to every session, about $0.0178 per session on Opus 5.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 instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.