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/tk0miya/skills/init-typescript-projectnpx skills add tk0miya/skills --skill init-typescript-projectgit clone --depth 1 https://github.com/tk0miya/skillsWrote 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/tk0miya/skills/init-typescript-project)<a href="https://agentmods.dev/skills/tk0miya/skills/init-typescript-project"><img src="https://agentmods.dev/badge/skills/tk0miya/skills/init-typescript-project.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 | $0.00021 | $0.04541 |
| Opus 5 | $0.00010 | $0.02270 |
| Sonnet 5 | $0.00004 | $0.00908 |
| Haiku 4.5 | $0.00002 | $0.00454 |
Grade A, and why
init-typescript-project 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 3d 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 — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
init-typescript-project
TypeScript プロジェクトの初期セットアップを自動化するスキルです。
事前チェック(自動実行)
実行環境
以下を実行し、gh が認証済みか、node が利用可能かをチェックする。
gh auth status
node --version
カレントディレクトリの状況
このスキルはカレントディレクトリをプロジェクトディレクトリとして扱う。ディレクトリの作成も npm init
による雛形生成も行わない(新規プロジェクトなら、先にユーザーが空のディレクトリを作ってそこでこの
スキルを呼ぶ)。初期セットアップの一部が済んでいることがあるので、カレントディレクトリを調べてどこまで
済んでいるかを判定する。
ls -1d .git package.json biome.json biome.jsonc 2>/dev/null
[[ -e .git ]] && git remote get-url origin 2>/dev/null
[[ -e .git ]] && git rev-parse --verify -q HEAD && git status --porcelain
| 判定 | 条件 | 影響 |
|---|---|---|
| package.json 作成済み | package.json がある |
Phase 1 の npm init -y をスキップし、既存の内容は上書きしない |
| Biome 設定作成済み | biome.json か biome.jsonc がある |
Phase 2 の npx biome init --jsonc をスキップ(biome.json なら biome.jsonc にリネーム) |
| リポジトリ作成済み | カレントディレクトリに .git があり、origin がある |
Phase 3 の gh repo create をスキップする |
origin を見る前にカレントディレクトリの .git を確認するのは、別のリポジトリの配下に作った
ディレクトリで実行したときに、親リポジトリの origin を拾って「作成済み」と誤判定しないため
(worktree や submodule では .git がファイルなので、ディレクトリかどうかでは判定しない)。
コミットが 1 つ以上あるリポジトリで git status --porcelain に未コミットの変更があれば、Phase 3 の
コミットにユーザーの作業を巻き込むことになるので、この時点でユーザーに伝えて、先に片付けるか承知の
うえで進めるかを確認する。履歴がまだ無い場合(手動で npm init を実行した直後など)は、雛形が
まるごと未コミットなのが当たり前なので確認しない。
想定している典型シナリオは次の 4 つ。
- 作ったばかりの空のディレクトリでこのスキルを実行する(package.json なし・履歴なし・ リポジトリ未作成)
- GitHub で作ったリポジトリを clone したディレクトリでこのスキルを実行する(履歴あり・ リポジトリ作成済み)
- 手動で
npm initを実行し、そのディレクトリでこのスキルを実行する(package.json あり・ 履歴なし・リポジトリ未作成) - ドキュメントだけ、あるいは他言語で書かれた既存プロジェクトに TypeScript を足す(履歴あり・ リポジトリ作成済み。TypeScript 以外のファイルが既にある)
プロジェクト名は package.json の name → origin のリポジトリ名 → カレントディレクトリ名の順で
決める。判定はディレクトリの中身から決まるもので、名前もカレントディレクトリがプロジェクト
ディレクトリである以上そこから決まるので、確認は求めない。判定結果と決定したプロジェクト名は
Phase 0 の質問と一緒に伝える(何をスキップして何の名前で進むかが分かるように)。
Phase 0: ユーザーへの確認(未確定の項目だけを一度に質問する)
事前チェックで確定しなかった項目だけをまとめて質問し、回答を得てから次のフェーズに進む。
| 項目 | 質問する条件 |
|---|---|
| 対象 Node.js バージョン(例: 24) | 常時 |
| GitHub リポジトリを今すぐ作成するか(yes / no)。yes の場合は visibility(public / private) | リポジトリ作成済みでない場合 |
What ships with it
12 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.
- add-required-checks.sh 5.4 KB runs code
- claude-settings.json 284 B
- dependabot.yml 602 B
- gitignore.tmpl 118 B
- hooks/pre-commit-check.sh 525 B runs code
- npmrc.tmpl 18 B
- tsconfig.json.tmpl 468 B
- vitest.config.ts.tmpl 80 B
- vscode/extensions.json 43 B
- vscode/settings.json 208 B
- workflows/biome-migrate.yml 1.5 KB
- workflows/ci.yml 577 B
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.
- 3d ago First seen · 323 lines · 21 tokens per session scan A 2c49cf285109
init-typescript-project is a skill published in the GitHub repository tk0miya/skills (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 21 tokens to every session and 4,541 once invoked, about $0.0001 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
integrated-browser
Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.
agent-host-e2e-tests
Use when writing, recording, updating, validating, or troubleshooting the agent host end-to-end tests under src/vs/platform/agentHost/test/node/e2e (black-box tests that drive the whole agent host over the AHP protocol, using a CapiReplayProxy record/replay system for Claude/Copilot/Codex). Covers adding a…
lint-js
Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
deepagents-thread-inspector
Inspect and explain conversations in the local Deep Agents Code SQLite session store. Use as a fallback when LangSmith trace tooling is unavailable, for offline or untraced sessions, or when asked to identify or summarize a local dcode thread, inspect checkpoint metadata, list recent local threads, or parse…
nemoclaw-contributor-implement-issue
Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…