mcp-ts-morph: Skill for Claude Code

.claude/skills/check-docs/SKILL.md

check-docs is a skill for Claude Code from SiroSuzume/mcp-ts-morph. It costs 101 tokens per session (838 once invoked), scanned A, original, MIT.

A read-only checker for comparing registered MCP tools with their README and CLAUDE.md listings. MCP tools are connected actions that an AI coding assistant can call.

In plain words
What is it for?
It helps verify tool tables, detailed README sections, and the documented TypeScript module list after tools or documentation change.
Why use it?
It finds documentation drift, such as tools missing from a list, obsolete entries, or broken links. It reports suggested fixes without changing files.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is SiroSuzume/mcp-ts-morph's own configuration. It tells Claude Code how to work on mcp-ts-morph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-ts-morph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SiroSuzume/mcp-ts-morph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SiroSuzume/mcp-ts-morph/main/.claude/skills/check-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SiroSuzume/mcp-ts-morph

Made for: Claude Code.

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.

agentmods badge for check-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/sirosuzume/mcp-ts-morph/check-docs.svg)](https://agentmods.dev/skills/sirosuzume/mcp-ts-morph/check-docs)
Your own site
<a href="https://agentmods.dev/skills/sirosuzume/mcp-ts-morph/check-docs"><img src="https://agentmods.dev/badge/skills/sirosuzume/mcp-ts-morph/check-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.00838
Opus 5 $0.00051 $0.00419
Sonnet 5 $0.00020 $0.00168
Haiku 4.5 $0.00010 $0.00084

Measured 8d ago against content hash 9c6557dd0c73, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

check-docs 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 8d 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.

.claude/skills/check-docs/SKILL.md · 71 lines

What it actually says

ドキュメント整合チェック

過去に README のツール表(6→8 のずれ)と CLAUDE.md のモジュール一覧が実態とドリフトした。登録済みツールとドキュメントの記載を機械的に突き合わせ、欠落・余剰を報告する。

このスキルは読み取り専用の点検。修正提案は出すが、勝手にファイルを書き換えない(ユーザーが確認してから直す)。

手順

1. 登録済みツール名を抽出

grep -rhoE '"[a-z_]+_by_tsmorph"' src/mcp/tools/ | tr -d '"' | sort -u

これが「真実の source」。ts-morph-tools.tsregisterTsMorphTools 内で実際に呼ばれている登録関数とも突き合わせる(import だけして呼んでいない/呼んでいるが import 漏れ、を検出):

grep -E 'register[A-Za-z]+Tool' src/mcp/tools/ts-morph-tools.ts

2. README のツール表と照合

README.md の「提供されるツール」表(| [\xxx_by_tsmorph`]... |)と各詳細セクション(### `xxx_by_tsmorph``)を抽出:

grep -oE '`[a-z_]+_by_tsmorph`' README.md | tr -d '`' | sort -u
  • 表に載っているがコードに無い → 余剰(削除候補)
  • コードにあるが表に無い → 記載漏れ(追記が必要)
  • 表にあるがアンカー先の ### セクションが無い → リンク切れ

3. CLAUDE.md のモジュール一覧と照合

src/ts-morph/ の実ディレクトリ・ファイルと、CLAUDE.md「ts-morphレイヤー」「主要な機能と実装ファイル」の記載を突き合わせる:

ls src/ts-morph/
  • 実在するモジュールが CLAUDE.md に無い → 記載漏れ
  • CLAUDE.md にあるが実在しない → 古い記載(要削除)

4. 報告フォーマット

## ドキュメント整合チェック結果

### 登録済みツール(N 件)
- ...

### README
- [OK] 表・詳細セクションともに一致
- [欠落] xxx_by_tsmorph が表に無い
- [リンク切れ] yyy のアンカー先セクションが無い

### CLAUDE.md
- [欠落] src/ts-morph/zzz/ がモジュール一覧に無い
- [古い記載] aaa が実在しない

### 修正提案
(差分の要点。ユーザー確認後に適用)

ずれが無ければ「整合済み」と明言する。

Changes

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.

  1. 8d ago First seen · 71 lines · 101 tokens per session scan A 9c6557dd0c73

Subscribe to this mod's changes

check-docs is a skill published in the GitHub repository SiroSuzume/mcp-ts-morph (16 stars, last pushed 2mo ago), licensed MIT. It adds 101 tokens to every session and 838 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens