debug-log-analyzer-mcp: Skill for Claude Code

.claude/skills/lean-mcp-tools/SKILL.md

lean-mcp-tools is a skill for Claude Code from certinia/debug-log-analyzer-mcp. It costs 65 tokens per session (807 once invoked), scanned A, original, BSD-3-Clause.

A guide for designing MCP tools, the interfaces that let agents call external functions and services.

In plain words
What is it for?
Use it when creating or reviewing tool names, descriptions, input schemas, annotations, and the context cost of a tool server.
Why use it?
It helps keep tool definitions and server instructions concise, clear, and placed where the agent can use them most effectively.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is certinia/debug-log-analyzer-mcp's own configuration. It tells Claude Code how to work on debug-log-analyzer-mcp 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 debug-log-analyzer-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/certinia/debug-log-analyzer-mcp/main/.claude/skills/lean-mcp-tools/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/certinia/debug-log-analyzer-mcp

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 lean-mcp-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools/github.svg)](https://agentmods.dev/skills/certinia/debug-log-analyzer-mcp/lean-mcp-tools)
Your own site
<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.

agentmods 80×15 button for lean-mcp-tools

Your own site · 80×15
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.00807
Opus 5.5 $0.00026 $0.00323
Sonnet 5.5 $0.00013 $0.00161
Haiku 4.5 $0.00006 $0.00081

Measured 17d ago against content hash 4b4d4259efe9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/skills/lean-mcp-tools/SKILL.md · 70 lines

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.title is a second copy; drop it.
  • description - the selection prompt: what it returns, when to pick it, nothing the schema below already says.
  • inputSchema - a describe only for what the property name and its type cannot say.
  • annotations - only spec hints that differ from the default and carry meaning. destructiveHint and idempotentHint are defined as meaningful only when readOnlyHint is false, so a read-only tool declares readOnlyHint: true and openWorldHint: false and stops. There is no priority hint.

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. (Plain z.record is cheaper still, but marks every key required.)
  • Hold the values as an as const tuple 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:

Read the full file on GitHub · 70 lines

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. 17d ago Changed · +1 lines 4b4d4259efe9
  2. 2mo ago Changed 7385861d4e55
  3. 2mo ago First seen · 69 lines · 65 tokens per session scan A 76361fa1b198

Subscribe to this mod's changes

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.

Related

lean-mcp-tools compared with skills from other repositories

lean-mcp-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lean-mcp-toolscertinia/debug-log-analyzer-mcpSkill362d agoBSD-3-ClauseA65Claude Code
opik-diagnosecomet-ml/opik-mcpSkill2259d agoApache-2.0A187Claude Code
ue-mcp-epic-routingdb-lyon/ue-mcpSkill476yesterdayMITA81Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill370yesterdayApache-2.0A32Claude Code, Codex
apitapn1byn1kt/apitapSkill13117d agoApache-2.0A0Claude Code, Codex
frontmcp-setupagentfront/frontmcpSkill148yesterdayApache-2.0A176Claude Code, Codex
x-use-reviewihuzaifashoukat/x-useSkill1814d agoMITA56Claude Code