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 agentmods add skills/classmethod/tsumiki/dev-initnpx skills add classmethod/tsumiki --skill dev-initgit clone --depth 1 https://github.com/classmethod/tsumikiWhat 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 | $0.00129 | $0.12921 |
| Opus 5 | $0.00064 | $0.06460 |
| Sonnet 5 | $0.00026 | $0.02584 |
| Haiku 4.5 | $0.00013 | $0.01292 |
Grade A, and why
dev-init 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 2d 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 — 612 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dev Init
インタラクティブなヒアリングを通じてプロジェクトの技術スタックを決定し、docs/dev/context.md を生成する。新規プロジェクトやまだ構成が固まっていないプロジェクト向け。承認後にプロジェクトの骨格ファイル(package.json、設定ファイル、ディレクトリ構造等)も生成可能。
既存プロジェクトの自動分析には dev-context を使用する。
前提知識
dev-context との関係
dev-init(新規向け・対話型) → docs/dev/context.md
→ プロジェクトファイル群(承認制)
→ CLAUDE.md(Phase 6)
dev-context(既存向け・自動型)→ docs/dev/context.md
↓
dev-plan → dev-impl → dev-verify
↘ dev-debug(必要時)
- 出力フォーマットは
dev-contextと完全互換 - 後続の dev-plan / dev-impl / dev-verify / dev-debug がそのまま参照可能
信号機システム
生成するコンテキストファイル・スキャフォールディング結果の各項目に確信度を付与する:
- 🔵 前工程指示: ユーザーが明示的に選択した情報
- 🟡 妥当な推測: 選択結果から推論した補足情報(パッケージマネージャ、Linter等)
- 🔴 AI推論補完: 情報不足でAIが仮置きした情報、テンプレート未対応言語の生成ファイル
ワークフロー
Phase 1: 既存プロジェクト検出
以下のファイルの存在を確認する:
docs/dev/context.md— 既存コンテキストpackage.json,Cargo.toml,go.mod,pyproject.toml,build.gradle,pom.xml,pubspec.yaml,build.gradle.kts— パッケージ定義
Note:
CLAUDE.mdの存在確認は Phase 5d(スキャフォールディング時)または Phase 6a-1(CLAUDE.md のみ生成時)で実施する。
分岐ロジック:
context.mdが存在する場合 → AskUserQuestion で「上書き更新 / 別名保存 / 中止」を確認。別名保存時のファイル名:context.md.backup.YYYY-MM-DD- 「中止」選択時 → 「dev-init を終了しました。既存の context.md を維持します。」と表示してスキルを終了する
- パッケージ定義が存在する場合 → 「既存プロジェクトを検出。
dev-context(自動分析)を推奨しますが、対話型で進めますか?」と確認 - いずれもない場合 → Phase 2 へ進む
同時存在時の優先順位:
context.mdとパッケージ定義が両方存在する場合は、context.mdの確認(上書き更新 / 別名保存 / 中止)を先に行う。「中止」が選択された場合はスキル終了。「上書き更新」または「別名保存」が選択された場合は、パッケージ定義の検出に関する確認(dev-context 推奨)を続けて行う。
Phase 2: プロジェクト基本情報ヒアリング
AskUserQuestion ツールで以下を順次ヒアリングする。各質問は1問ずつ提示し、前の回答を次の質問の選択肢構成に反映する。
Q1: プロジェクトカテゴリ(大分類)
| 選択肢 | 説明 |
|---|---|
| Webアプリケーション | ブラウザ向け/モバイル向けWebアプリ(フロントエンド含む) |
| サーバーサイド | API・バッチ処理・分散処理サービス |
| ツール/スクリプト | CLI・GAS等の単機能ツール |
| ライブラリ/パッケージ | 他プロジェクトから利用されるライブラリ |
Q2: プロジェクトタイプ(詳細分類)
Q1 の回答に応じて条件分岐する。ライブラリ/パッケージの場合は Q2 をスキップし自動確定する。
| Q1 の回答 | Q2 の選択肢 |
|---|---|
| Webアプリケーション | フルスタック(一体型) / 3層アーキテクチャ(TypeScriptフロント+API+DB) / BFFアーキテクチャ(UI+BFF+サービス+DB) |
| サーバーサイド | APIサーバー / バッチ処理 / マイクロサービス / イベント駆動 |
| ツール/スクリプト | CLIツール / GAS(Google Apps Script) |
| ライブラリ/パッケージ | Q2 スキップ(自動確定) |
What ships with it
10 files 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.
- references/claudemd-template.md 22 KB
- references/dart-scaffolding.md 4.7 KB
- references/docker-dev-templates.md 17 KB
- references/go-scaffolding.md 4.6 KB
- references/java-scaffolding.md 4.3 KB
- references/kotlin-scaffolding.md 4.4 KB
- references/python-scaffolding.md 3.8 KB
- references/rust-scaffolding.md 3.9 KB
- references/tech-recommendations.md 30 KB
- references/ts-scaffolding.md 4.4 KB
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.
- 2d ago First seen · 612 lines · 129 tokens per session scan A f6c9db498bc4
dev-init is a skill published in the GitHub repository classmethod/tsumiki (974 stars, last pushed 25d ago), licensed MIT. It adds 129 tokens to every session and 12,921 once invoked, about $0.0006 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-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…