Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote 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/skills/s977043/plangate/design-gate)<a href="https://agentmods.dev/skills/s977043/plangate/design-gate"><img src="https://agentmods.dev/badge/skills/s977043/plangate/design-gate.svg" alt="Measured on agentmods" 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.00073 | $0.02592 |
| Opus 5 | $0.00036 | $0.01296 |
| Sonnet 5 | $0.00015 | $0.00518 |
| Haiku 4.5 | $0.00007 | $0.00259 |
Grade A, and why
design-gate 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 7d 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 — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Gate
high-risk 以上のタスクで実装前に設計書(Design Artifact)を生成・評価する。
参照解決順(.claude/rules/*.md / 導入先で必ずこの順に探す)
本 Skill は Mode 判定の正本として .claude/rules/mode-classification.md を参照する(§関連)。
このパスは上流リポジトリ基準のため、導入先では 次の順で探索する:
- 導入先リポジトリの
.claude/rules/mode-classification.md - 無ければ plugin root 配下
<plugin_root>/rules/mode-classification.md。<plugin_root>は Bash でls "${CLAUDE_PLUGIN_ROOT}/rules/"を実行して展開・確認した 絶対パス(Read ツールは絶対パスを要求し環境変数を展開しないため、${CLAUDE_PLUGIN_ROOT}/...という文字列をそのまま Read しない)。変数が空・未設定ならキャッシュを glob で推測せず 3 へ進む - どちらにも無い場合は 「正本
mode-classification.mdを参照できなかった」と明示し、 推測で内容を補わない
Iron Law
NO CODE WITHOUT APPROVED DESIGN FIRST
high-risk 以上のモードでは、Design Artifact の 8 項目が揃い承認されるまで実装を開始しない。
Common Rationalizations
| こう思ったら | 現実 |
|---|---|
| 「シンプルだから設計不要」 | シンプルなほど設計は速い。10 分の設計が数時間の手戻りを防ぐ |
| 「急いでいるから省略」 | 設計なしの実装は後で手戻りになる。急ぐほど設計が必要 |
| 「前に似たことをやった」 | コードベースは変化する。前回の前提が今回も成立するとは限らない |
| 「PoC だから後で直す」 | PoC は往々にして本番コードになる。設計の借金は複利で増える |
Design Artifact 8 項目の入力フォーム
以下の質問にすべて答えることで Design Artifact が完成する。
1. 問題定義
質問: 何が問題か?
- 現状はどうなっているか
- どのような課題・不便が発生しているか
- なぜ今対応が必要か(背景・トリガー)
2. 目的
質問: なぜ解決するか?
- このタスクで達成したいゴールは何か
- 解決後にどのような状態になっていてほしいか(期待効果)
3. 非目的
質問: 今回対応しないことは?
- スコープ外として明示的に除外するもの
- 「やらない」と決めた理由
4. 仕様
質問: 何を作るか?(具体的な機能要件)
- 実装する機能・コンポーネントを列挙する
- 入力・処理・出力を明示する
- 受入基準(Acceptance Criteria)を記述する
5. 代替案
質問: 他に検討したアプローチは?(最低 2 案)
| 案 | 概要 | メリット | デメリット |
|---|---|---|---|
| 案 1 | ... | ... | ... |
| 案 2 | ... | ... | ... |
6. 採用案
質問: 選んだアプローチと選択理由は?
- 採用するアプローチを明示する
- 代替案と比較した場合の優位点を述べる
- トレードオフを認識した上で選択した旨を記述する
7. リスク
質問: 実装・運用上のリスクは?(影響度・対策付き)
| リスク | 影響度 | 発生確率 | 対策 |
|---|---|---|---|
| リスク 1 | High / Medium / Low | High / Medium / Low | ... |
| リスク 2 | ... | ... | ... |
8. テスト方針
質問: どう検証するか?
| レイヤー | テスト種別 | カバー範囲 |
|---|---|---|
| Unit | Unit | ... |
| Integration | Integration | ... |
| E2E | E2E | ... |
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.
- 7d ago First seen · 196 lines · 73 tokens per session scan A e6fbf3311edf
design-gate is a skill published in the GitHub repository s977043/PlanGate (2 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 2,592 once invoked, about $0.0004 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 skills, from other repositories
skill-maintenance
Automated skill maintenance tool (v6 — Unified Registry + Snapshots). Full scan: [Orphan] migrate misplaced skills from category dirs OR standalone skills/<name>/ to auto-generated/, [Sync] auto-generated/ vs registry lifecycle diff (new/deleted/revived + description auto-sync via lifecycle field), [Reg]…
extract
Run the full Semantica semantic extraction pipeline on a file or selected text — NER, relations, events, coreference resolution, triplets, and validation. Clears result cache before each run. Returns Markdown tables with entity/relation/event/triplet results and inline validator warnings.
watch
File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…
review
5-pass structured code review — correctness, security, performance, readability, consistency.
live-preview
Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.
marshal
Meta-orchestrator that takes any direction — broad, specific, or vague — and autonomously chains skills and context into actionable work. Gathers context from codebase, docs, and memory. Only asks the user when it genuinely cannot proceed. Single-session orchestrator.