aidb: Skill for Claude Code

.claude/skills/adapter-development/SKILL.md

adapter-development is a skill for Claude Code from ai-debugger-inc/aidb. It costs 72 tokens per session (3,023 once invoked), scanned A, original, Apache-2.0.

A development guide for building debug adapters: tools that let coding environments debug different programming languages through a shared interface. It explains the adapter’s parts, startup and shutdown flow, processes, ports, and cleanup.

In plain words
What is it for?
Use it when creating or maintaining adapters for Python, JavaScript, or Java debuggers. It helps with launch orchestration, process and port management, lifecycle hooks, source-path resolution, and cleanup.
Why use it?
It gives developers a consistent structure for handling language-specific debugging details. This reduces mistakes when starting programs, managing child sessions, releasing resources, or connecting to remote source files.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ai-debugger-inc/aidb's own configuration. It tells Claude Code how to work on aidb 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 aidb configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ai-debugger-inc/aidb/main/.claude/skills/adapter-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ai-debugger-inc/aidb

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 adapter-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/adapter-development/github.svg)](https://agentmods.dev/skills/ai-debugger-inc/aidb/adapter-development)
Your own site
<a href="https://agentmods.dev/skills/ai-debugger-inc/aidb/adapter-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/adapter-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.

agentmods 80×15 button for adapter-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-debugger-inc/aidb/adapter-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/adapter-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,023 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.00072 $0.03023
Opus 5.5 $0.00029 $0.01209
Sonnet 5.5 $0.00014 $0.00605
Haiku 4.5 $0.00007 $0.00302

Measured 2mo ago against content hash 028bc4f97908, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adapter-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.

.claude/skills/adapter-development/SKILL.md · 395 lines

How it starts

The opening of the file, as written. The whole thing — 395 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AIDB Adapter Development Skill

Executive Summary

AIDB debug adapters provide language-agnostic debugging capabilities through the Debug Adapter Protocol (DAP). The architecture is component-based - adapters delegate to specialized components rather than implementing everything in monolithic classes.

For comprehensive architecture details, see docs/developer-guide/overview.md for the complete system architecture and data flow diagrams.

Core Architecture

DebugAdapter (base class)
├── ProcessManager       - Process lifecycle (launch, monitor, stop, cleanup)
├── PortManager          - Port acquisition, verification, release
├── LaunchOrchestrator   - Launch sequence coordination
├── TargetResolver       - Target type detection and normalization
├── SourcePathResolver   - Source path resolution for remote debugging
└── AdapterHooksMixin    - Lifecycle hooks for extension points

Key Principles

  1. Component Delegation: Adapters delegate to focused components (ProcessManager, PortManager, LaunchOrchestrator)
  2. Lifecycle Hooks: Customize behavior via hooks rather than overriding entire methods
  3. Resource Management: Centralized cleanup via ResourceManager
  4. Human-Cadence Debugging: Operations happen at human speed, not API speed
  5. Language-Agnostic Interface: Same Python interface works across Python, JavaScript, Java

Resource Files

This skill is organized into focused resource files for language-specific patterns:

When working on adapter development, you may also need:

  • dap-protocol-guide - Adapters heavily rely on DAP protocol types and request/response patterns
  • testing-strategy - Adapters must be tested using E2E patterns with DebugInterface abstraction
  • code-reuse-enforcement - Always check for existing utilities before implementing adapter components

Read the full file on GitHub · 395 lines

Files

What ships with it

3 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.

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. 2mo ago First seen · 395 lines · 72 tokens per session scan A 028bc4f97908

Subscribe to this mod's changes

adapter-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 72 tokens to every session and 3,023 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

adapter-development compared with skills from other repositories

adapter-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adapter-developmentai-debugger-inc/aidbSkill215mo agoApache-2.0A72Claude Code
iterate-implementationhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex
neuron-monitoringneuron-core/neuron-aiSkill2.2kyesterdayMITA80Claude Code, Codex
systematic-debuggingNousResearch/hermes-agentSkill261kyesterdayMITA16Claude Code, Codex
python-debugpyNousResearch/hermes-agentSkill261kyesterdayMITB17Claude Code, Codex
sglang-diffusion-benchmark-profilesgl-project/sglangSkill39kyesterdayApache-2.0A26Claude Code, Codex
create-tech-designhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex