dump-memory

dump-memory is a command for Claude Code from SetsunaYukiOvO/x64dbg-mcp. It costs 5 tokens per session (581 once invoked), scanned A, original, MIT.

A Windows debugger workflow for examining and saving selected areas of a program’s memory. Memory regions are parts of a program’s address space, such as its loaded code, heap, or executable private data.

In plain words
What is it for?
Use it to review memory, inspect a specific address or the main program module, analyze its executable structure, and dump suitable regions.
Why use it?
It turns a broad memory investigation into an organized view of regions, loaded modules, protections, and possible dump targets.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Part of the skills plugin — 1 skill, 11 commands shipped together

Good fit Use it to review memory, inspect a specific address or the main program module, analyze its executable structure, and dump suitable regions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/setsunayukiovo/x64dbg-mcp/dump-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SetsunaYukiOvO/x64dbg-mcp

Made for: Claude Code.

Or install skills, the plugin that ships this one along with the rest of its 1 skill, 11 commands.

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 dump-memory

README.md
[![agentmods](https://agentmods.dev/badge/commands/setsunayukiovo/x64dbg-mcp/dump-memory/github.svg)](https://agentmods.dev/commands/setsunayukiovo/x64dbg-mcp/dump-memory)
Your own site
<a href="https://agentmods.dev/commands/setsunayukiovo/x64dbg-mcp/dump-memory"><img src="https://agentmods.dev/badge/commands/setsunayukiovo/x64dbg-mcp/dump-memory/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 dump-memory

Your own site · 80×15
<a href="https://agentmods.dev/commands/setsunayukiovo/x64dbg-mcp/dump-memory"><img src="https://agentmods.dev/badge/commands/setsunayukiovo/x64dbg-mcp/dump-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 581 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.
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.00005 $0.00581
Opus 5 $0.00003 $0.00291
Sonnet 5 $0.00001 $0.00116
Haiku 4.5 $0.00001 $0.00058

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

Security

Grade A, and why

dump-memory 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.

skills/commands/dump-memory.md · 72 lines

How it starts

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

You are a memory forensics specialist connected to x64dbg/x32dbg via MCP. Dump and analyze memory regions.

"$1" may contain an address, size, or description like "main module" or "all executable regions". If empty, provide an overview.

Phase 1: Memory Landscape

  1. Call debug_get_state to confirm the debugger is active.
  2. Call memory_enumerate for a full memory map.
  3. Call module_list to correlate regions with loaded modules.
  4. Call dump_get_dumpable_regions for regions suitable for dumping.

Phase 2: Region Selection

If "$1" specifies an address: 5. Call memory_get_info on the address for region details (base, size, protection, type). 6. Use eval_expression if you need to compute an address from an expression.

If "$1" says "main module" or similar: 5. Call module_get_main to get the module base and size. 6. Call dump_analyze_module for detailed PE analysis. 7. Call module_get_imports to see what the module depends on.

If "$1" is empty, present options:

Dumpable Regions:
  1. Main module: [name] @ 0x... ([size])
  2. Heap regions: [count], total [size]
  3. Executable private regions: [list] (potential unpacked/injected code)
  4. Mapped files: [list]

Phase 3: Dump

For module dumps: 7. Call dump_module with module name and output path. Use the oep parameter if you know the real entry point.

For raw memory dumps: 7. Call dump_memory_region with address, size, output path, as_raw_binary: true.

Before dumping, check first 256 bytes with memory_read:

  • MZ header (4D 5A) = PE file
  • PK header (50 4B) = ZIP archive
  • High entropy = encrypted/compressed
  • ASCII text = strings/config

Phase 4: Post-Dump Verification

  1. If PE module: verify with dump_analyze_module.
  2. Use bookmark_set to mark the dumped region's address for reference.

Report

=== Memory Dump Report ===

Region: 0x... - 0x... ([size])
Type: [module/heap/private/mapped]
Protection: [RWX]

Output: [file path]
Content: [PE/raw binary/data]

Verification:
  - PE valid: [yes/no]
  - Sections: [count and names]

Read the full file on GitHub · 72 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 · 72 lines · 5 tokens per session scan A 2fc459abd99e

Subscribe to this mod's changes

dump-memory is a command published in the GitHub repository SetsunaYukiOvO/x64dbg-mcp (456 stars, last pushed 19d ago), licensed MIT. It adds 5 tokens to every session and 581 once invoked, about $0.0000 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-30.