state-snapshot

Save a complete state snapshot of the debugged object (including all committed memory regions and processor state) to disk for offline analysis.

Last repository push
GitHub Stars
217
Forks
22
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "state-snapshot" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e6cefbdf217323a2c7851889fcd0062bec187f05886b5cf5baa044b9d74afe42. Verify the upstream source and version against https://github.com/dariushoule/x64dbg-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Save a complete state snapshot of the debugged object (including all committed memory regions and processor state) to disk for offline analysis.

0 Downloads

Introduction source: third_party · dariushoule · 0.0.1 Reference

SkillPi interpretation

Tasks
Capture a full debuggee state snapshot (all committed memory regions + processor state) to disk for offline analysis
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: state-snapshot
description: Capture a full debuggee state snapshot (all committed memory regions + processor state) to disk for offline analysis
allowed-tools: mcp__x64dbg__get_debugger_status, mcp__x64dbg__pause, mcp__x64dbg__disconnect, mcp__x64dbg__connect_to_session, mcp__x64dbg__go, Bash

state-snapshot

Capture a full debuggee state snapshot — all committed memory regions as raw binary files plus the complete processor state as JSON.

Instructions

Follow these steps exactly:

1. Verify debugger connection

Call mcp__x64dbg__get_debugger_status to confirm the debugger is connected and a debuggee is loaded. Note the session PID and x64dbg path from the current MCP connection — you will need these to reconnect later.

If no debuggee is loaded, tell the user and stop.

2. Pause the debuggee if running

If the debugger status shows the debuggee is running (not paused), call mcp__x64dbg__pause to pause it. Remember that you auto-paused so you can resume later.

3. Disconnect the MCP client

Call mcp__x64dbg__disconnect to release the ZMQ connection. This is required because only one client can be connected to an x64dbg session at a time, and the Python script needs its own connection.

4. Run the snapshot script

Execute the snapshot script:

python "${CLAUDE_PLUGIN_ROOT}\skills\state-snapshot\state_snapshot.py" --x64dbg-path "<x64dbg_path>" --pid <session_pid>

Where:

  • <x64dbg_path> is the path to the x64dbg executable noted in step 1
  • <session_pid> is the debugger process PID noted in step 1

The script defaults output to ./snapshots/<timestamp>/. If the user specified a custom output directory, pass --output-dir <path>.

5. Reconnect the MCP client

Call mcp__x64dbg__connect_to_session with the x64dbg path and session PID saved from step 1 to restore the MCP connection.

6. Report results

Summarize what was captured:

  • Output directory path
  • Number of memory region files saved and total size
  • Whether registers were captured successfully
  • Any regions that failed to read

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 解决逆向工程/调试场景下的核心需求:完整状态快照便于离线分析
  • 覆盖内存区域和处理器状态,功能闭环完整
Trigger Precision75/100

Areas to improve

  • 缺少显式触发词列表 Reported severity: Minor

    description 描述了功能,但未提供明确的 'When to Use' 章节或触发短语列表,可能影响用户发现

    Recommendation: 在文档中添加 'When to Use' 章节,列出如 'capture snapshot', 'save debug state', 'offline analysis' 等触发短语

Highlights

  • description 清晰说明了核心功能和用途
Structure and Standards85/100

Areas to improve

  • 缺少端到端完整示例 Reported severity: Minor

    有命令模板,但缺少一个完整的、带实际路径和PID值的端到端使用示例

    Recommendation: 添加一个完整的示例,展示从开始到结束的完整命令和预期输出目录结构

Highlights

  • 步骤划分清晰,有明确的阶段和出口条件
  • frontmatter 完整,包含必要的元数据
Execution Reliability90/100

Highlights

  • 正确使用 MCP 官方工具进行连接管理
  • 处理了调试器暂停/恢复和断开/重连逻辑,避免资源冲突
  • 脚本路径使用 CLAUDE_PLUGIN_ROOT 变量,符合平台规范
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.