Agent skill

Dmp Analysis

by 1204244136 in 1204244136/MDA

分析 Windows 崩溃转储文件(.dmp),诊断 MaaFramework / MXU 项目及其依赖项的崩溃。用于 issue 日志包或附件中发现 .dmp 文件,或用户要求分析 DMP / 崩溃转储时。

AGPL-3.0Auto-check passed

Install Dmp Analysis

skills CLI
$ npx skills add 1204244136/MDA --skill dmp-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 1204244136/MDA dmp-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/1204244136/MDA.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dmp-analysis .claude/skills/dmp-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dmp-analysis
GitHub stars
119
Token cost
~1.3k tokens
SKILL.md length
214 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

分析 Windows 崩溃转储文件(.dmp),诊断 MaaFramework / MXU 项目及其依赖项的崩溃。用于 issue 日志包或附件中发现 .dmp 文件,或用户要求分析 DMP / 崩溃转储时。

  • Works in 9 steps: 获取 DMP → 无符号快速分析 → 与日志关联 → …
  • SKILL.md covers Scope, Prerequisites, Workflow and 输出格式, plus 1 more section
  • Calls git; reaches github.com

What it does

Dmp Analysis is an agent skill from 1204244136/MDA. 分析 Windows 崩溃转储文件(.dmp),诊断 MaaFramework / MXU 项目及其依赖项的崩溃。用于 issue 日志包或附件中发现 .dmp 文件,或用户要求分析 DMP / 崩溃转储时。

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Tauri. The repository describes itself as: Nikke小助手 | Assistant For Goddess of Victory: Nikke. The licence is AGPL-3.0.

Example prompts

  • “/dmp-analysis”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. 获取 DMP
  2. 无符号快速分析
  3. 与日志关联
  4. 确定关键版本
  5. 下载 PDB 符号
  6. PDB 转 Breakpad .sym
  7. 符号化 stackwalk
  8. 分析重点
  9. 关联源码

What it can do on your machine

Read from SKILL.md and the folder at commit 9fb9b48. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dmp Analysis loads about 1.3k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from 1204244136/MDA at commit 9fb9b48, republished under its AGPL-3.0 licence (© 1204244136). 214 words, ~1,306 tokens.

Download SKILL.mdSave it as .claude/skills/dmp-analysis/SKILL.md (or your agent's skills folder).
name
dmp-analysis
description
分析 Windows 崩溃转储文件(.dmp),诊断 MaaFramework / MXU 项目及其依赖项的崩溃。用于 issue 日志包或附件中发现 .dmp 文件,或用户要求分析 DMP / 崩溃转储时。

Windows DMP Analysis for MaaFramework / MXU Projects

Scope

  • Windows minidump (.dmp) files from MaaFramework / MXU based projects.
  • 崩溃通常可能来自 MaaFramework C++ 运行时、MXU Rust/Tauri 层、控制器模块、第三方视觉/推理依赖,或项目自身扩展。
  • 默认覆盖 x86_64;aarch64 需要替换对应下载包架构。

Prerequisites

需要 minidump-stackwalk 和 dump_syms。

检查:

powershell
Get-Command minidump-stackwalk
Get-Command dump_syms

若本地缺失,按当前项目 CI / workflow / 文档安装;不要在未经用户同意时擅自安装全局工具。

Workflow

1. 获取 DMP

将 .dmp 放到临时分析目录,例如:

text
.cache/dmp-analysis/issue-<number>/
.cache/dmp-analysis/local-<timestamp>/

来源可能是:

  • issue 附件中的 .dmp。
  • 日志包内部的 .dmp。
  • 用户本地提供的崩溃转储文件。
2. 无符号快速分析
powershell
minidump-stackwalk "<path-to-dmp>"

先获取:

  • OS 信息。
  • 异常类型和异常码。
  • 崩溃线程。
  • 模块列表。
  • 崩溃地址和模块偏移。

根据异常地址或 crashing thread 顶部帧识别疑似崩溃模块。

3. 与日志关联

DMP 文件名常包含崩溃进程 PID,例如:

text
Project.exe.18188.dmp → PID 18188

用该 PID 与日志交叉验证:

  • maafw.log 中的 [Px18188]。
  • mxu-tauri.log 中的实例 / agent / 进程生命周期。
  • go-service.log 或 agent stdout/stderr 中的启动信息。

确认 DMP 对应的运行会话,避免把不同时间的日志混在一起。

4. 确定关键版本

DMP 模块版本字段可能为空,优先从日志和配置获取:

优先级来源线索
1mxu-tauri.logMXU / MaaFramework 初始化版本
2go-service.logPI environment / client version
3config 文件interface.json、maa_option.json、项目配置
4issue 正文用户报告版本
5DMP 模块列表模块 version 字段,可能为 ?

记录:

  • MaaFramework version。
  • MXU version。
  • 项目自身版本。
  • 控制器类型(Win32 / ADB / 其他)。
5. 下载 PDB 符号
MaaFramework
powershell
$MaaVersion = "<version>"
$Work = "<analysis-dir>"
Invoke-WebRequest "https://github.com/MaaXYZ/MaaFramework/releases/download/v$MaaVersion/MAA-win-x86_64-v$MaaVersion.zip" -OutFile "$Work\maa-fw.zip"
Expand-Archive "$Work\maa-fw.zip" "$Work\maa-fw" -Force

常见 PDB:

PDB模块
MaaFramework.pdbMaaFramework.dll
MaaUtils.pdbMaaUtils.dll
MaaToolkit.pdbMaaToolkit.dll
MaaWin32ControlUnit.pdbMaaWin32ControlUnit.dll
MaaAdbControlUnit.pdbMaaAdbControlUnit.dll
MaaAgentServer.pdbMaaAgentServer.dll
MaaAgentClient.pdbMaaAgentClient.dll
MXU
powershell
$MxuVersion = "<version>"
Invoke-WebRequest "https://github.com/MistEO/MXU/releases/download/v$MxuVersion/MXU-win-x86_64-v$MxuVersion.zip" -OutFile "$Work\mxu.zip"
Expand-Archive "$Work\mxu.zip" "$Work\mxu" -Force

mxu.pdb 通常位于压缩包根目录。

6. PDB 转 Breakpad .sym
powershell
$PdbDir = "$Work\pdb"
$Symbols = "$Work\symbols"
New-Item -ItemType Directory -Force $Symbols | Out-Null
Get-ChildItem $PdbDir -Filter *.pdb | ForEach-Object {
    $name = $_.BaseName
    $header = & dump_syms $_.FullName 2>$null | Select-Object -First 1
    $debugId = ($header -split '\s+')[3]
    $dest = Join-Path $Symbols "$name.pdb\$debugId"
    New-Item -ItemType Directory -Force $dest | Out-Null
    & dump_syms $_.FullName > (Join-Path $dest "$name.sym")
}
7. 符号化 stackwalk
powershell
minidump-stackwalk "<path-to-dmp>" "$Work\symbols"

输出应包含函数名、源码路径和行号。如果符号化失败,报告原因并保留 module+offset 堆栈。

8. 分析重点
异常类型
  • EXCEPTION_ACCESS_VIOLATION (0xC0000005):空指针、悬垂指针、use-after-free。
  • EXCEPTION_STACK_OVERFLOW (0xC00000FD):无限递归或栈对象过大。
  • EXCEPTION_ILLEGAL_INSTRUCTION (0xC000001D):CPU 指令集、二进制损坏或错误模块。
  • STATUS_STACK_BUFFER_OVERRUN (0xC0000409):Windows fast-fail,不一定是真缓冲区溢出。
    • 参数 0x7 常见于 std::terminate() / abort(),可能是未捕获 C++ 异常。
    • 需要看调用者帧,而不是只归因到 ucrtbase.dll。
  • EXCEPTION_BREAKPOINT (0x80000003):断点、assert、panic 或主动触发崩溃。
模块归属
  • Maa*.dll:MaaFramework 运行时或控制器。
  • mxu.exe:MXU/Tauri/Rust 层。
  • onnxruntime_*.dll、opencv_*、OCR/推理库:第三方依赖。
  • DirectML.dll、显卡驱动相关模块:图形/推理运行时。
  • ntdll.dll、KERNELBASE.dll、ucrtbase.dll:通常要看上层调用者。
9. 关联源码

如果符号化帧涉及 MaaFramework 或 MXU,并能确定版本,按需 clone 对应 tag 到临时目录:

powershell
git clone --depth 1 --branch "v<VERSION>" "https://github.com/MaaXYZ/MaaFramework.git" ".cache\upstream-src\MaaFramework"
git clone --depth 1 --branch "v<VERSION>" "https://github.com/MistEO/MXU.git" ".cache\upstream-src\MXU"

定位到具体源码行后,在报告中给出远端 GitHub blob 链接。

输出格式

markdown
## DMP 分析结果

- DMP 文件:`<filename>`
- 操作系统:`<OS version>`
- 异常类型:`<EXCEPTION_*>` (`<hex>`)
- 崩溃模块:`<module>+<offset>`
- 符号化状态:已符号化 / 仅 module+offset

## 崩溃堆栈(crashing thread)

```text
Frame 0: ...
Frame 1: ...
```

## 关键模块版本

| Module             | Version |
| ------------------ | ------- |
| MaaFramework.dll   | ...     |
| mxu.exe            | ...     |
| Project executable | ...     |

## 根因判断

- 崩溃归属:MaaFramework / MXU / 项目扩展 / 第三方依赖 / 未知
- 分析:...
- 置信度:高 / 中 / 低

## 建议

- 用户可尝试:...
- 开发者修复方向:...
- 还缺的证据:...

Cleanup

分析完成后可删除临时目录;删除前确认没有用户需要保留的附件或中间产物。

© 1204244136, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/dmp-analysis of 1204244136/MDA.

Open the folder on GitHubat commit 9fb9b48

Compare with similar skills

Dmp Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dmp Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dmp Analysis this skill1204244136/MDA119—~1.3kAutomated safety check: PassAGPL-3.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Yaak Changelogmountain-loop/yaak19k—~1.6kAutomated safety check: PassMIT
Native Feel Cross Platform Desktopyetone/native-feel-skill1.9k1 repos~1.5kAutomated safety check: PassMIT
Ccgui Plugin Creatorzhukunpenglinyutong/desktop-cc-gui4.4k—~1.3kAutomated safety check: PassNone
Tabularis Local PR ReviewTabularisDB/tabularis5.1k—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Yaak Changelog

    mountain-loop/yaak

    Create or edit Yaak changelogs. An agent skill from mountain-loop/yaak.

    19k GitHub stars~1.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Native Feel Cross Platform Desktop

    yetone/native-feel-skill

    A skill your agent uses when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a…

    1.9k GitHub starsUsed in 1 repo~1.5k tokens
    DevelopmentAuto-check passed
  • Ccgui Plugin Creator

    zhukunpenglinyutong/desktop-cc-gui

    为 CC GUI 桌面客户端创建、修改、迭代插件(Tier-0 声明式 CSS/JSON,或 Tier-1 单文件 ESM)。当用户要"做一个插件 / 给 CC GUI 加个功能 / 改输入框或界面样式 / 加设置页、侧边栏或状态栏入口 / 加面板页签或命令面板命令 / 把某套工作流包装成插件 / 改一下我做过的那个插件",或提到 ccgui 插件、插件目录、从本地目录安装插件时使用。

    4.4k GitHub stars~1.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Tabularis Local PR Review

    TabularisDB/tabularis

    Reviews a Tabularis pull request locally, judging the diff against the repo's rule files, verifying every claim in its description against the code, and running its tests on the real branch.

    5.1k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skills Creator

    Stack-Cairn/LiveAgent

    Create or update LiveAgent runtime skills. An agent skill from Stack-Cairn/LiveAgent.

    2.2k GitHub stars~821 tokensUpdated yesterday
    Auto-check passed

More from 1204244136/MDA

All 9 skills in this repo
  • Generate Pi Task

    1204244136/MDA

    根据 MaaFramework Pipeline 定义生成或更新 Project Interface 任务 JSON。用于创建、编辑或扩展 assets/tasks/ 下的任务文件,将 Pipeline 节点映射为用户可配置选项(switch/select/checkbox/input)并绑定 pipelineoverride。

    119 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Go Service Guide

    1204244136/MDA

    MaaFramework Go Agent / go-service 编写指南。用于编写、修改或审查 agent/go-service/ 下的 Go 自定义识别器、动作、EventSink,或了解 MaaFramework Go Agent 的注册、日志、目录组织和参数解析模式。

    119 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Maa Logging

    1204244136/MDA

    MaaFramework C++ 日志宏用法指南。用于写 C++ MaaFramework 扩展、Custom 组件或工具代码时使用 LogInfo/LogError/LogWarn/LogDebug/LogTrace、VAR、容器输出和自定义类型日志。

    119 GitHub stars~790 tokensUpdated 3 days ago
    Auto-check passed
  • 分析 MDA 公开 Issue、日志包或本地日志。用于 https://github.com/1204244136/MDA/issues/...、1234、MDA 日志压缩包、识别失败、任务卡死、控制器差异、Pipeline/Agent/MXU 问题。会从…

    119 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Mda Project Guide

    1204244136/MDA

    MDA 项目专属开发指南。用于在 MDA 中编写或审查 MaaFramework Pipeline、Project Interface 任务、locale、go-service 组件时补充项目结构、业务域、命名习惯和现有任务选项示例。与通用 pipeline-guide、pipeline-debug、generate-pi-task、go-service-guide 配合使用。

    119 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check passed
  • Meojson

    1204244136/MDA

    meojson C++ JSON 库使用指南。用于 MaaFramework C++ 项目中的 JSON 解析、序列化、MEOJSONIZATION、json::value 操作、ext::jsonization 自定义类型支持,以及 Custom 参数解析。

    119 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Dmp Analysis

What does Dmp Analysis do?

分析 Windows 崩溃转储文件(.dmp),诊断 MaaFramework / MXU 项目及其依赖项的崩溃。用于 issue 日志包或附件中发现 .dmp 文件,或用户要求分析 DMP / 崩溃转储时。. Dmp Analysis is an agent skill from 1204244136/MDA.

How do I install Dmp Analysis in Claude Code?

Run `npx skills add 1204244136/MDA --skill dmp-analysis -a claude-code`. Or copy the skill folder (.claude/skills/dmp-analysis in 1204244136/MDA) into .claude/skills/dmp-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Dmp Analysis in Codex?

Run `npx skills add 1204244136/MDA --skill dmp-analysis -a codex`. Or copy the skill folder (.claude/skills/dmp-analysis in 1204244136/MDA) into .agents/skills/dmp-analysis in your project. Codex loads it when a task matches its description.

Can I use Dmp Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 1204244136/MDA --skill dmp-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dmp-analysis, .gemini/skills/dmp-analysis, .github/skills/dmp-analysis and .opencode/skills/dmp-analysis in your project.

What does Dmp Analysis need to run?

Going by SKILL.md and its folder, Dmp Analysis needs the command-line tools its instructions call (git).

Does Dmp Analysis access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Dmp Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dmp Analysis use?

Dmp Analysis is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dmp Analysis use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dmp Analysis?

Skills that share tags, products or a category with Dmp Analysis: Use Yaak (mountain-loop/yaak, 19k stars), Yaak Changelog (mountain-loop/yaak, 19k stars), Native Feel Cross Platform Desktop (yetone/native-feel-skill, 1.9k stars) and Ccgui Plugin Creator (zhukunpenglinyutong/desktop-cc-gui, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dmp Analysis?

1204244136 (a GitHub user) maintains it in 1204244136/MDA, which has 119 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.

Source: 1204244136/MDA on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.