Token导航 LogoToken导航

Agent Skill · 开发

dynamic-debugger(动态调试器)

dynamic-debugger 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

dynamic-debugger 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 9,611。

总安装 2,620周安装 106GitHub Stars 55下载 823核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dynamic-debugger(动态调试器)
来源仓库:https://github.com/rysweet/amplihack
仓库路径:skills/dynamic-debugger
安装命令:
npx skills add https://github.com/rysweet/amplihack --skill dynamic-debugger
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill dynamic-debugger

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

dynamic-debugger 通过 DAP-MCP 协议实现自然语言交互式调试,支持断点、步进与变量查看。适用于 Python、C/C++、Rust 等多语言代码的实时诊断场景。无需离开对话即可控制执行流,提升问题定位效率。需确认目标语言 debug adapter 已安装并与 MCP 服务器正确连接。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/dynamic-debugger

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rysweet/amplihack --skill dynamic-debugger;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

dynamic-debugger 怎么安装?

在终端执行 npx skills add https://github.com/rysweet/amplihack --skill dynamic-debugger。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

dynamic-debugger 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

dynamic-debugger 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

dynamic-debugger 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

dynamic-debugger 用的人多吗?

公开数据是累计安装 2,620 次,近一周安装 106 次,下载 823 次,GitHub 55 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

dynamic-debugger 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
dynamic-debugger

动态调试器 · 本页

2,62055接触敏感数据MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Dynamic Debugger Skill

Interactive debugging capability fer Claude Code via DAP-MCP integration. Debug yer code in natural language without leavin' the conversation.

Overview

This skill enables interactive debuggin' through the Debug Adapter Protocol (DAP) via MCP server integration. Set breakpoints, step through code, inspect variables, and control execution flow across multiple programming languages using natural language commands.

What ye get:

  • Natural language debugging commands ("set breakpoint at line 42")
  • Current support: Python (debugpy), C/C++/Rust (lldb)
  • Planned support: JavaScript/TypeScript, Go, Java,.NET (see configs/future/)
  • Automatic intent and language detection
  • Session management with resource limits
  • Graceful error handling and recovery

Activation (Opt-In)

This skill is DISABLED by default (disableModelInvocation: true).

To enable:

  1. Explicit invocation (recommended): "Use the dynamic-debugger skill to debug this function"
  2. Auto-activation (edit SKILL.md frontmatter): disableModelInvocation: false # or remove this line

Why opt-in?

  • Requires external dap-mcp server installation
  • Starts debugger processes (resource intensive)
  • Full filesystem access needed
  • Best enabled only when actively debugging

Prerequisites

Required:

  • dap-mcp server installed (pip install dap-mcp or uv pip install dap-mcp)
  • Language-specific debuggers (current support):

- Python: debugpy (pip install debugpy) - C/C++/Rust: lldb-dap (install lldb with DAP support)

Verification:

# Check dap-mcp installation
python3 -m dap_mcp --help

# Check language debuggers
python -c "import debugpy; print('debugpy ready')"
which gdb
dlv version

Quick Start

Scenario 1: Python Async Bug

User: "This async function isn't awaiting properly. Debug it."

Skill activates automatically:

  1. Detects debugging intent (high confidence)
  2. Identifies Python from file extensions
  3. Starts debugpy session
  4. Sets breakpoint at async function
  5. Shows await state and variable values

Scenario 2: C++ Segfault

User: "Getting segfault in malloc. Set a breakpoint."

Skill response:

  1. Explicit trigger detected ("set a breakpoint")
  2. Identifies C++ from file extensions
  3. Starts gdb session
  4. Catches segfault with stack trace
  5. Inspects pointer values at crash point

Scenario 3: JavaScript Promise Chain

User: "Why is this Promise chain not resolving?"

Skill response:

  1. Implicit trigger detected ("why is")
  2. Asks confirmation (medium confidence)
  3. Identifies JavaScript from package.json
  4. Sets breakpoints in.then() handlers
  5. Steps through async flow

Common Workflows

Starting a Debug Session

Explicit triggers (auto-start):

  • "debug this"
  • "set a breakpoint at line X"
  • "step through this function"
  • "inspect variable X"

Implicit triggers (may ask confirmation):

  • "Why is X wrong?"
  • "This isn't working"
  • "Trace execution of X"
  • "Test is failing in X"

Debugging Commands

Breakpoint management:

  • "Set breakpoint at line 42"
  • "Remove breakpoint at line 42"
  • "List all breakpoints"

Execution control:

  • "Step over" (execute current line)
  • "Step into" (enter function call)
  • "Step out" (exit current function)
  • "Continue" (run until next breakpoint)

Variable inspection:

  • "What's the value of userId?"
  • "Show all local variables"
  • "Evaluate expression: x + y"

Session management:

  • "Show call stack"
  • "List threads/goroutines"
  • "Stop debugging"

Navigation Guide (MANDATORY)

Load these files on demand based on context:

When to Load reference.md

Trigger: User needs specific API details, configuration syntax, or error codes Contains: Complete API reference, language configurations, session management API, error handling details, resource limits Size: 3,000-4,000 tokens Example queries: "How do I configure the Go debugger?", "What are the resource limits?", "Show me all error codes"

When to Load examples.md

Trigger: User wants working code examples or specific debugging scenarios Contains: Production-ready debugging examples for all 6 languages with complete workflows Size: 2,000-3,000 tokens Example queries: "Show me a Python async debugging example", "How do I debug a Rust panic?", "Example of goroutine deadlock debugging"

When to Load patterns.md

Trigger: User asks about best practices, architectural patterns, or debugging strategies Contains: Production debugging patterns, performance techniques, security best practices, common pitfalls Size: 1,500-2,000 tokens Example queries: "What are best practices for debugging?", "How do I debug performance issues?", "Common security mistakes?"

Default behavior: Use only SKILL.md for basic debugging commands. Load supporting files only when explicitly needed.

Session Management

Single concurrent session: Only one debugging session per user at a time Timeouts:

  • Session idle: 30 minutes
  • Connection idle: 5 minutes
  • Startup: 10 seconds max

Resource limits:

  • Memory: 4GB max for debugged process
  • No CPU limits (debugging is resource-intensive)
  • Automatic cleanup on session end

Language Detection

Automatic detection via:

  1. File extensions (primary signal)
  2. Manifest files (package.json, Cargo.toml, go.mod)
  3. Project structure analysis

Confidence thresholds:

  • High (>90%): Auto-select language
  • Medium (70-90%): Ask user confirmation
  • Low (<70%): Prompt user to specify

Manual override: "Debug this as Python code" (bypasses auto-detection)

Troubleshooting

dap-mcp Server Not Found

Symptom: "dap-mcp server not available" Solution:

npm install -g dap-mcp
npx dap-mcp --version

Language Debugger Missing

Symptom: "debugpy not found" or "gdb not available" Solution: Install language-specific debugger (see Prerequisites)

Session Timeout

Symptom: "Session timed out after 30 minutes" Solution: Start new session with "debug this"

Concurrent Session Blocked

Symptom: "Another debugging session is active" Solution: Stop existing session with "stop debugging" or wait for timeout

Memory Limit Exceeded

Symptom: "Debugged process exceeded 4GB memory limit" Solution: Reduce data structures or use sampling for large datasets

Error Recovery

All errors provide:

  1. Clear description of what failed
  2. Actionable recovery steps
  3. Manual fallback commands if needed

Graceful degradation: If dap-mcp unavailable, skill suggests manual debugger commands.

Token Budget

  • Orchestration overhead: <100 tokens per command
  • Intent detection: <20 tokens
  • Language detection: <30 tokens (cached after first detection)
  • Error messages: <50 tokens

Design philosophy: Keep skill orchestration minimal. Most tokens spent on actual debugging interaction, not overhead.

Security

⚠️ IMPORTANT SECURITY CONSIDERATIONS:

  • Full Filesystem Access: This skill can read/write ANY file on your system (required for debugging)
  • Process Execution: Starts debugger processes with full system permissions
  • No Sandboxing: Debugged code runs with your user privileges
  • Local-Only Default: Server binds to localhost only (do NOT expose to network)
  • Sensitive Data: Debugger can access memory, environment variables, credentials in running processes

Best Practices:

  • Only debug code you trust
  • Review debugger configurations before use
  • Be cautious with production credentials in environment
  • Use dedicated development environments for sensitive projects
  • Never debug untrusted binaries

Process Isolation:

  • Debugger runs in separate process from Claude Code
  • Cleanup script terminates all debugger processes on exit

Performance Targets

  • Server startup: <10 seconds
  • Breakpoint operations: <2 seconds
  • Step operations: <3 seconds
  • Variable inspection: <2 seconds

Next Steps

  1. Verify prerequisites (see Prerequisites section)
  2. Start debugging with natural language ("debug this")
  3. Load supporting files only when needed (see Navigation Guide)
  4. Review examples for specific scenarios (see examples.md)
  5. Learn patterns for production debugging (see patterns.md)

Philosophy: Ruthlessly simple orchestration. All complexity lives in dap-mcp server, not in this skill. We're just the friendly pirate captain givin' orders to the debugger crew.

平台分布

Claude Code

31.67%
按下载量换算261

Antigravity

23.2%
按下载量换算191

OpenCode

17.07%
按下载量换算140

Gemini CLI

14.15%
按下载量换算116

windsurf

8.39%
按下载量换算69

Cursor

3.93%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills