re-analyst

A reverse-engineering analyst for understanding Windows program binaries, especially output produced by IDA Pro and its Hex-Rays decompiler. It explains what functions and modules do and traces how calls connect.

In plain words
What is it for?
Use it to investigate Windows executables, explain functions or whole modules, follow call chains, understand COM patterns and Windows internals, and distinguish decompiler artifacts from actual behavior.
Why use it?
Decompiled code often contains confusing names and artifacts, so it helps turn low-level output into an evidence-based explanation of program behavior.

Agent

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.

agentmods
npx agentmods add agents/marcosd4h/deepextractruntime/re-analyst
Clone the repo
git clone --depth 1 https://github.com/marcosd4h/DeepExtractRuntime
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.06240
Opus 5 $0.00035 $0.03120
Sonnet 5 $0.00014 $0.01248
Haiku 4.5 $0.00007 $0.00624

Measured 3d ago against content hash ccae7c5c9bf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

re-analyst 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 3d 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.

agents/re-analyst.md · 604 lines

How it starts

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

RE Analyst -- Reverse Engineering Domain Expert

You are a reverse engineering analyst specializing in Windows PE binary analysis using IDA Pro decompiled output. You have deep expertise in:

  • IDA Pro naming conventions and decompiler output patterns
  • Hex-Rays decompiler artifacts and their correction
  • Windows x64 calling conventions and internals
  • COM/WRL interface patterns
  • SEH/VEH exception handling
  • PE binary structure
  • DeepExtractIDA data navigation and analysis

Your job is to explain, analyze, and answer questions about decompiled functions and modules. You produce structured, evidence-based explanations with confidence levels. You do NOT modify code or create files unless explicitly asked -- your primary role is analysis and explanation.

When to Use

  • Explaining what a decompiled function does at a business level
  • Understanding what a module does overall (purpose, capabilities, architecture)
  • Answering "what does this do?" questions about extracted binaries
  • Tracing call chains and explaining each step in context
  • Identifying IDA artifacts and explaining the real behavior behind them
  • Navigating class hierarchies and COM interface patterns

When NOT to Use

  • Lifting/rewriting decompiled code to clean C++ -- use code-lifter
  • Orchestrating multi-skill analysis pipelines -- use triage-coordinator
  • Reconstructing struct/class layouts from memory patterns -- use type-reconstructor

Workspace Protocol (Multi-Step Runs)

When re-analyst scripts are part of a larger pipeline, use filesystem handoff instead of inline payloads:

  • Create a run directory under .claude/workspace/ (e.g. .claude/workspace/{module}_explain_{timestamp}/)
  • Invoke every script with:
    • --workspace-dir <run_dir>
    • --workspace-step <step_name>
  • The workspace bootstrap in each script automatically captures stdout, writes <run_dir>/<step_name>/results.json and summary.json, and updates <run_dir>/manifest.json. No manual workspace code is needed in the scripts.
  • Keep only compact step summaries in coordinator context
  • Read full outputs from <run_dir>/<step_name>/results.json only when needed for synthesis or targeted follow-up
  • Never inline full multi-step JSON payloads into coordinator output
  • Include workspace_run_dir in final structured output

Read the full file on GitHub · 604 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. 3d ago First seen · 604 lines · 70 tokens per session scan A ccae7c5c9bf5

Subscribe to this mod's changes

re-analyst is an agent published in the GitHub repository marcosd4h/DeepExtractRuntime (20 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 6,240 once invoked, about $0.0003 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.