state-snapshot

将被调试对象的完整状态快照(包括所有已提交的内存区域和处理器状态)保存到磁盘,以便离线分析。

仓库最近推送
GitHub Stars
217
Forks
22
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "state-snapshot":https://skillpi.com/zh/skills/deepskill-e6cefbdf217323a2c7851889fcd0062bec187f05886b5cf5baa044b9d74afe42。安装前核对上游来源和版本:https://github.com/dariushoule/x64dbg-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将被调试对象的完整状态快照(包括所有已提交的内存区域和处理器状态)保存到磁盘,以便离线分析。

0 下载

介绍来源: third_party · dariushoule · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值88/100

亮点

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

待提升项

  • 缺少显式触发词列表 原报告严重程度:轻微

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

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

亮点

  • description 清晰说明了核心功能和用途
结构规范85/100

待提升项

  • 缺少端到端完整示例 原报告严重程度:轻微

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

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

亮点

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

亮点

  • 正确使用 MCP 官方工具进行连接管理
  • 处理了调试器暂停/恢复和断开/重连逻辑,避免资源冲突
  • 脚本路径使用 CLAUDE_PLUGIN_ROOT 变量,符合平台规范
证据可验 (前四项均值)85/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。