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 skills add careerchain-ys/stdd --skill kaizengit clone --depth 1 https://github.com/careerchain-ys/stddWrote 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/careerchain-ys/stdd/kaizen)<a href="https://agentmods.dev/skills/careerchain-ys/stdd/kaizen"><img src="https://agentmods.dev/badge/skills/careerchain-ys/stdd/kaizen.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.00054 | $0.01592 |
| Opus 5 | $0.00027 | $0.00796 |
| Sonnet 5 | $0.00011 | $0.00318 |
| Haiku 4.5 | $0.00005 | $0.00159 |
Grade A, and why
kaizen 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kaizen: 継続的改善
小さな改善を継続的に。設計段階でエラーを防止。実績あるパターンに従う。必要なものだけを作る。
核心: 大きな一発勝負より、小さな改善の積み重ねが大きな成果を生む。
適用タイミング
- コード実装とリファクタリング
- アーキテクチャ・設計判断
- エラーハンドリング・バリデーション設計
4つの柱
1. 継続的改善(Kaizen)
小さく頻繁な改善が、大きな成果に複利的に積み上がる。
段階的に進める:
- 品質を改善する最小限の変更を行う
- 一度に1つの改善のみ
- 各変更を検証してから次へ
コードは見つけた時より良くする:
- 小さな問題を見つけたらその場で修正(スコープ内で)
- 古いコメントを更新、デッドコードを削除
反復的に洗練する:
- まず動くものを作る
- 次に明確にする
- 最後に効率化する
- 一度に3つ全部はやらない
実践: 機能実装時は最もシンプルなバージョンから始める。リファクタリング時は1つずつコードの匂いを修正し、各改善後にコミット。テストを常にパスさせる。
2. Poka-Yoke(エラー防止)
実行時ではなく、コンパイル時・設計時にエラーを防止するシステムを設計する。
エラーを不可能にする:
- 型システムで間違いを検知
- 無効な状態を表現不可能にする(Discriminated Union)
- エラーは早期に(本番ではなく開発時に)検出
防御の層:
- 型システム(コンパイル時) - Union TypeでStringを避ける
- バリデーション(実行時、早期) - 境界で1回検証すれば内部は安全
- ガード節(前提条件) - Early returnで前提を明示
- エラー境界(グレースフルデグレード)
実践:
- API設計時: 型で入力を制約し、無効な状態を表現不可能に
- エラー処理時: システム境界でバリデーション、ガード節で前提条件チェック、明確なメッセージで失敗
- 設定管理時: optionalよりrequired、起動時に全設定を検証
3. 標準化された作業
既存パターンに従う。うまくいくものを文書化する。良い慣行を簡単に従えるようにする。
一貫性は賢さに勝る:
- 既存のコードベースパターンに従う
- 解決済みの問題を再発明しない
- 新パターンは大幅に改善される場合のみ導入
標準を自動化する:
- リンターでスタイルを強制
- 型チェックで契約を強制
- テストで挙動を検証
- CI/CDで品質ゲートを強制
実践:
- 新パターン追加前: コードベースで類似問題の解決策を検索し、AGENTS.md / CLAUDE.mdの規約を確認
- コード記述時: 既存のファイル構造、命名規則、エラーハンドリングパターンに合わせる
4. Just-In-Time(JIT)
今必要なものだけを作る。それ以上も以下もなく。
YAGNI(You Aren't Gonna Need It):
- 現在の要件のみ実装
- 「念のため」の機能は不要
- 「将来必要になるかも」のコードは不要
- 推測的コードは削除
動く最もシンプルなもの:
- 直接的な解決策から始める
- 必要になった時にのみ複雑さを追加
- 要件変更時にリファクタリング
抽象化のタイミング(Rule of Three):
- 3箇所以上で同じパターンが出現してから抽象化
- 間違った抽象化より重複のほうがマシ
- パターンが明確になってからリファクタリング
実践:
- 実装時: 目の前の問題を解決、「もし〜だったら」思考に抵抗
- 最適化時: まず計測、次に最適化
- 抽象化時: 3箇所以上の類似ケースを待つ
危険信号
| 柱 | 危険信号 |
|---|---|
| 継続的改善 | 「後でリファクタリングする」(実行されない) |
| Poka-Yoke | 「ユーザーが気をつければいい」 |
| 標準化 | 「自分のやり方でやりたい」 |
| JIT | 「いつか必要になるかも」 |
コード例
詳細なコード例は references/code-examples.md を参照:
- 段階的リファクタリングの例
- 型システムによるエラー防止の例
- 過剰設計 vs 適切な設計の例
まとめ
Kaizenの本質: 今日十分に良いものを作り、明日さらに良くする。これを繰り返す。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 130 lines · 54 tokens per session scan A 881b63f4d1f7
kaizen is a skill published in the GitHub repository careerchain-ys/stdd (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,592 once invoked, about $0.0003 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…