Borrowing it
Nothing to install: this file belongs to ai-debugger-inc/aidb. 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/ai-debugger-inc/aidb/main/.claude/skills/mcp-tools-development/SKILL.mdgit clone --depth 1 https://github.com/ai-debugger-inc/aidbWrote 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/ai-debugger-inc/aidb/mcp-tools-development)<a href="https://agentmods.dev/skills/ai-debugger-inc/aidb/mcp-tools-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/mcp-tools-development/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/ai-debugger-inc/aidb/mcp-tools-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/mcp-tools-development.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00015 | $0.02871 |
| Opus 5.5 | $0.00006 | $0.01148 |
| Sonnet 5.5 | $0.00003 | $0.00574 |
| Haiku 4.5 | $0.00002 | $0.00287 |
Grade A, and why
mcp-tools-development 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 2mo 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 — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Tools Development Skill
This skill guides you through creating and modifying MCP tools for the AI Debugger (AIDB). MCP tools are the primary interface between AI agents and the debugging system - they must be fast, accurate, and clear.
Core Philosophy: Agent Optimization
MCP tools are user-facing products. Every response is read by an AI agent with limited context. Your goal:
- Accuracy: Responses must contain correct information (line numbers, values, state)
- Clarity: Summaries must be clear and actionable, not verbose
- Speed: Operations must be fast (agents iterate rapidly)
- No Junk: No unnecessary fields, no bloated payloads, no redundant data
Context windows are sacred - every token matters.
Quick Start
When to Use This Skill
Invoke this skill when:
- Creating a new MCP tool (e.g.,
aidb.watchfor watchpoints) - Modifying existing tool behavior
- Fixing MCP response issues
- Optimizing tool performance
- Debugging tool handler errors
Related Skills
When developing MCP tools, you may also need:
- dap-protocol-guide - MCP tools use DAP types for all debugging operations
- testing-strategy - MCP tools tested with DebugInterface for content accuracy
- code-reuse-enforcement - Must use existing constants/enums from core package
MCP Architecture Overview
For complete MCP server architecture, see:
docs/developer-guide/overview.md- System architecture showing MCP layer integrationsrc/aidb_mcp/- MCP server implementation
User Request
↓
MCP Server (src/aidb_mcp/server/)
↓
Handler Registry (src/aidb_mcp/handlers/registry.py)
↓
Tool Handler (src/aidb_mcp/handlers/{category}/)
↓
DebugService (src/aidb/service/)
↓
Response Builder (src/aidb_mcp/responses/)
↓
MCP Response
Key Components:
- Tool Definitions (
src/aidb_mcp/tools/definitions.py): Tool schemas and metadata - Handler Registry (
src/aidb_mcp/handlers/registry.py): Dispatcher to handlers - Tool Handlers (
src/aidb_mcp/handlers/{category}/): Business logic - Response Builders (
src/aidb_mcp/responses/): Standardized response construction - Decorators (
src/aidb_mcp/core/decorators.py): Common handler functionality
What ships with it
4 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.
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.
- 2mo ago First seen · 355 lines · 15 tokens per session scan A 129c93cdf18f
mcp-tools-development is a skill published in the GitHub repository ai-debugger-inc/aidb (21 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 2,871 once invoked, about $0.0001 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.
mcp-tools-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-tools-developmentai-debugger-inc/aidb | Skill | 21 | 5mo ago | Apache-2.0 | A | 15 | Claude Code |
| skill-creatorunslothai/unsloth | Skill | 79k | yesterday | Apache-2.0 | A | 26 | Claude Code |
| image-promptingunslothai/unsloth | Skill | 79k | yesterday | Apache-2.0 | A | 23 | Claude Code |
| create-researchhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| create-tech-designhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| iterate-tech-designhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| create-prdhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |