dap-request-coverage

dap-request-coverage is a skill for Claude Code from svnscha/dap-dbgeng. It costs 33 tokens per session (1,761 once invoked), scanned A, original, MIT.

A testing guide for Debug Adapter Protocol request handlers. It uses session replay tests, which send recorded debugger conversations back through the server, as the main coverage reference.

In plain words
What is it for?
Use it to check or improve tests for DAP areas such as launch, attach, stack traces, scopes, variables, continue, evaluate, breakpoints, and disconnect.
Why use it?
It helps verify realistic request and response sequences instead of relying only on line or branch coverage numbers.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is ./build/windows-x64/tests/dap-dbgeng-tests.exe --gtest_filter=<Suite.Case>.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 dap-request-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/svnscha/dap-dbgeng/dap-request-coverage.svg)](https://agentmods.dev/skills/svnscha/dap-dbgeng/dap-request-coverage)
Your own site
<a href="https://agentmods.dev/skills/svnscha/dap-dbgeng/dap-request-coverage"><img src="https://agentmods.dev/badge/skills/svnscha/dap-dbgeng/dap-request-coverage.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00033 $0.01761
Opus 5 $0.00016 $0.00881
Sonnet 5 $0.00007 $0.00352
Haiku 4.5 $0.00003 $0.00176

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

Security

Grade A, and why

dap-request-coverage 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 6d 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/dap-request-coverage/SKILL.md · 182 lines

How it starts

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

DAP Request Coverage

Use this workflow to validate, explain, or improve coverage for a specific DAP request area such as launch, initialize, attach, configurationDone, stackTrace, scopes, variables, continue, evaluate, setBreakpoints, or disconnect.

Each implemented request already lives in its own translation unit (src/service/dap_server_<command>.cpp) - that handler-file boundary is a project convention, so unlike the prior C# layout you do not need to extract a partial first; just confirm the file exists and is the inspection target.

The most important coverage signal in this repository is command verification through the out-of-process session replay tests (tests/replay). Treat replay coverage as the broader source of truth: it validates request/response ordering against realistic DAP traffic recorded from real sessions. Line/branch coverage tooling (covdbg) is a later addition; until then, the replay fixtures plus the request matrix are the coverage map.

Principles

  • Start from behavior: identify the DAP command, its expected protocol messages, and the existing replay fixtures before chasing percentages.
  • Prefer session replay verification for broad command behavior and message ordering.
  • Do not add direct dap_server request-behavior assertions where a replay fixture is the right surface. Verify request behavior through recorded session replay.
  • If a request's behavior is not covered, recommend capturing or updating a recorded session fixture that replays the scenario - do not hard-code request behavior into a unit test instead.
  • Reserve focused unit tests (tests/util/*, tests/service/dap_server_handler_tests.cpp, tests/service/dap_server_tests.cpp) for pure logic that sits below the request surface: argument parsing, classifiers, the engine-path resolver, pure helpers.
  • Use coverage to find meaningful missing behavior, not to chase a number.

Workflow

  1. Identify the request area.

    Determine the DAP command and its handler (launch -> handle_launch_request in src/service/dap_server_launch.cpp). Search for the command string, the response type, and existing replay fixtures.

Read the full file on GitHub · 182 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. 6d ago First seen · 182 lines · 33 tokens per session scan A 9fdcd83683ea

Subscribe to this mod's changes

dap-request-coverage is a skill published in the GitHub repository svnscha/dap-dbgeng (10 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 1,761 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens