Borrowing it
Nothing to install: this file belongs to certinia/debug-log-analyzer-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/certinia/debug-log-analyzer-mcp/main/.claude/skills/lean-mcp-tools/SKILL.mdgit clone --depth 1 https://github.com/certinia/debug-log-analyzer-mcpWrote 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/certinia/debug-log-analyzer-mcp/lean-mcp-tools)<a href="https://agentmods.dev/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools"><img src="https://agentmods.dev/badge/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools"><img src="https://agentmods.dev/badge/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00065 | $0.00807 |
| Opus 5.5 | $0.00026 | $0.00323 |
| Sonnet 5.5 | $0.00013 | $0.00161 |
| Haiku 4.5 | $0.00006 | $0.00081 |
Grade A, and why
lean-mcp-tools 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 17d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lean MCP tools
A response is paid for when a tool is called. A definition is paid for on every request, called
or not, because the client sends all of them with each one. Server instructions sit between: once
per session. Put each fact where its audience reads it.
| Fact | Goes in |
|---|---|
| True of every tool ("all durations are in milliseconds") | instructions |
| Why a caller picks this tool over its neighbour | that tool's description |
| A value | the response |
What a definition holds
name,title- the display field.annotations.titleis a second copy; drop it.description- the selection prompt: what it returns, when to pick it, nothing the schema below already says.inputSchema- adescribeonly for what the property name and its type cannot say.annotations- only spec hints that differ from the default and carry meaning.destructiveHintandidempotentHintare defined as meaningful only whenreadOnlyHintis false, so a read-only tool declaresreadOnlyHint: trueandopenWorldHint: falseand stops. There is nopriorityhint.
Restructure before you delete
Deleting a fact costs the answer and saves less than reshaping it.
- Ten per-category properties, each inlining the same enum, became
z.partialRecord(z.enum(CATEGORIES), z.enum(LEVELS))- each enum emitted once. ~844 tokens to ~428, wire form unchanged, unknown keys now rejected. (Plainz.recordis cheaper still, but marks every key required.) - Hold the values as an
as consttuple and build the schema from it, so no description restates them.
Measure the whole wire object
estimateTokens(JSON.stringify(tool)); // per tool, from a live tools/list over stdio
A budget over {name, description, inputSchema} guards a subset of the cost: it let title,
annotations and the SDK's own fields grow ~215 tokens unwatched.
A definition is not finished until a check covers it. Three assertions, in the gate that already runs the server:
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.
- 17d ago Changed · +1 lines 4b4d4259efe9
- 2mo ago Changed 7385861d4e55
- 2mo ago First seen · 69 lines · 65 tokens per session scan A 76361fa1b198
lean-mcp-tools is a skill published in the GitHub repository certinia/debug-log-analyzer-mcp (36 stars, last pushed 2d ago), licensed BSD-3-Clause. It adds 65 tokens to every session and 807 once invoked, about $0.0003 per session on Opus 5.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.
lean-mcp-tools compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lean-mcp-toolscertinia/debug-log-analyzer-mcp | Skill | 36 | 2d ago | BSD-3-Clause | A | 65 | Claude Code |
| opik-diagnosecomet-ml/opik-mcp | Skill | 225 | 9d ago | Apache-2.0 | A | 187 | Claude Code |
| ue-mcp-epic-routingdb-lyon/ue-mcp | Skill | 476 | yesterday | MIT | A | 81 | Claude Code, Codex |
| qa-knowledgegriddynamics/rosetta | Skill | 370 | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |
| apitapn1byn1kt/apitap | Skill | 131 | 17d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| frontmcp-setupagentfront/frontmcp | Skill | 148 | yesterday | Apache-2.0 | A | 176 | Claude Code, Codex |
| x-use-reviewihuzaifashoukat/x-use | Skill | 181 | 4d ago | MIT | A | 56 | Claude Code |