dap-dbgeng: Skill for Claude Code

.claude/skills/dap-feature-recording-loop/SKILL.md

dap-feature-recording-loop is a skill for Claude Code from svnscha/dap-dbgeng. It costs 61 tokens per session (1,209 once invoked), scanned A, original, MIT.

A workflow for collecting and checking real VS Code debugging sessions so a Debug Adapter Protocol feature can be replayed later.

In plain words
What is it for?
Use it to write recording instructions, verify a returned session file, archive it as a fixture, or hand debugging failures to the trace-analysis workflow.
Why use it?
It catches problems that scripted tests may miss because only a real VS Code session proves the client's request order. The human must perform the recording.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is svnscha/dap-dbgeng's own configuration. It tells Claude Code how to work on dap-dbgeng 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 dap-dbgeng configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./build/windows-x64/tests/dap-dbgeng-tests.exe --gtest_filter=Replay.<Name> --gtest_repeat=5.

Reuse

Borrowing it

Nothing to install: this file belongs to svnscha/dap-dbgeng. 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/svnscha/dap-dbgeng/develop/.claude/skills/dap-feature-recording-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/svnscha/dap-dbgeng

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-feature-recording-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/svnscha/dap-dbgeng/dap-feature-recording-loop/github.svg)](https://agentmods.dev/skills/svnscha/dap-dbgeng/dap-feature-recording-loop)
Your own site
<a href="https://agentmods.dev/skills/svnscha/dap-dbgeng/dap-feature-recording-loop"><img src="https://agentmods.dev/badge/skills/svnscha/dap-dbgeng/dap-feature-recording-loop/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 dap-feature-recording-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/svnscha/dap-dbgeng/dap-feature-recording-loop"><img src="https://agentmods.dev/badge/skills/svnscha/dap-dbgeng/dap-feature-recording-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,209 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.00061 $0.01209
Opus 5 $0.00030 $0.00605
Sonnet 5 $0.00012 $0.00242
Haiku 4.5 $0.00006 $0.00121

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

Security

Grade A, and why

dap-feature-recording-loop 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 9d 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-feature-recording-loop/SKILL.md · 103 lines

How it starts

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

DAP Feature Recording Loop

The co-working workflow for taking a DAP feature from implementation to recorded-session replay coverage. The division of labor is fixed: the assistant implements, verifies, and does all bookkeeping; the human performs the manual VS Code sessions, because only a real client run proves the request ordering the strict-order replay matcher asserts. Synthetic or hand-crafted fixtures are not acceptable substitutes - a scripted driver once masked a bug that made a whole feature unreachable from VS Code (setExpression, unreachable because the watch evaluate path was broken and the driver never evaluated a watch).

The loop

  1. Implement the feature with unit/integration coverage, as usual.
  2. Author the manual recording protocol (below) and leave it as a checklist the user can work off (repo-root TODO.md, untracked, plus the durable copy in docs/development/recording-fixtures.md).
  3. The user records one scenario and hands back recordings/launch.session.json with words like "verify and archive".
  4. Verify the recording (below). If it exposes a failure, switch to the dap-analyze-trace skill: fix the adapter first, have the user re-record; never normalize a failing trace into a fixture.
  5. Archive + normalize + test (below), do the bookkeeping, commit, push.
  6. Repeat until the checklist is done.

Authoring the protocol (step 2)

Each scenario entry must name: the launch target (CMake Tools), the exact UI gestures in order (which view, which button, which values), the expected stops and values, and the fixture file it creates plus the TEST(Replay, ...) that consumes it. Ground rules that go with every protocol:

  • Start clean: no leftover breakpoints, watches, or exception filters.
  • No hovering over variables while recording (each hover records an evaluate).
  • End by continuing until the debuggee exits on its own.
  • Copy recordings/launch.session.json to recordings/<scenario>.session.json immediately (every session overwrites it).
  • The launch configuration must set "dbgengPath" so Normalize-DapRecording.ps1 can tokenize it to ${dbgEngPath}; without it the fixture only replays where the SDK Debugging Tools sit at the default path.
  • Memory scenarios need Microsoft's Hex Editor extension in Replace mode (Insert-mode edits resize the file and fail to save with "Not supported").

Read the full file on GitHub · 103 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. 9d ago First seen · 103 lines · 61 tokens per session scan A 041a4fa85618

Subscribe to this mod's changes

dap-feature-recording-loop is a skill published in the GitHub repository svnscha/dap-dbgeng (10 stars, last pushed 8d ago), licensed MIT. It adds 61 tokens to every session and 1,209 once invoked, about $0.0003 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

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens