# Dnr analyze

> Dnr analyze is an open-source agent skill for security. Runs offline incident-log analysis phases for Solana auditor workflows. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/solanabr/auditor-skill/tree/main/skills/dnr-analyze
- **Repository:** https://github.com/solanabr/auditor-skill
- **GitHub stars:** 67
- **License:** MIT
- **Skill name:** dnr-analyze
- **Collection:** https://github.com/solanabr/auditor-skill
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill is one analysis phase of a larger incident-response workflow for Solana programs. It is meant to run inside a dedicated incident-responder agent over a single incident run directory, not as a standalone helper. The agent profiles a transaction corpus, runs queries with bundled offline tools, and keeps a ledger of each query and its results.

The skill defines a set of phases, such as a baseline hunt, emitting incident files, seeding a response, assessing outcome and drafting a response plan. For each phase it lists what to read, what to write and what to report back. Writes are restricted to the run directory, and only a fixed set of pre-approved script and tool invocations is allowed, which keeps the analysis reproducible and read-only against the client's code.

It expects an incident corpus of transaction logs in the run directory, the plugin's bundled scripts and reference documents, and a Claude Code environment with the auditor plugin installed. Its tools are shell and Python scripts plus a compiled Rust binary.

## When your agent uses it

> One analysis phase of /auditor:hunt or /auditor:respond, run in the auditor:incident-responder agent over incident_<n>/ only: profiles and queries the incident corpus with the bundled offline tools, keeps LEDGER.md, and writes the incident files there. Invoke it only where those commands say to, with the phase brief they describe as its arguments.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/solanabr/auditor-skill/tree/HEAD/skills/dnr-analyze)
- [Asks for: Read, Grep, Glob, Edit(/incident_*/**), Bash("${CLAUDE_PLUGIN_ROOT}/scripts/dnr/profile.sh" *), Bash("${CLAUDE_PLUGIN_ROOT}/scripts/dnr/frames.py" *), Bash("${CLAUDE_PLUGIN_ROOT}/scripts/dnr/deltas.py" *), Bash("${CLAUDE_PLUGIN_ROOT}/scripts/dnr/jq-ro.sh" *)…](https://github.com/solanabr/auditor-skill/blob/HEAD/skills/dnr-analyze/SKILL.md)
- [License: MIT](https://github.com/solanabr/auditor-skill/tree/HEAD/skills/dnr-analyze)

## Features

- **Corpus profiling:** Summarizes the transaction corpus with bundled offline tools before any deeper queries.
- **Read-only queries:** Runs approved jq, frame and balance-delta queries that cannot write outside the run directory.
- **Token and lamport deltas:** Computes net token and lamport changes per owner, mint or account.
- **Ledger tracking:** Records each query and its rows in a LEDGER.md file with collection gaps noted.
- **Incident and response files:** Writes incident JSON, incident reports and response plans from the gathered evidence.

## Good for

- Profile a captured transaction corpus for suspicious activity
- Trace which accounts received tokens from a suspected exploit
- Summarize the damage and victims of an incident
- Draft a response plan for an identified incident lead

## Install

### Claude Code

This skill ships in the `auditor` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add solanabr/auditor-skill
/plugin install auditor@auditor
```

Or copy only this skill to `~/.claude/skills/dnr-analyze`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dnr-analyze &&
cp -R "$tmp/skills/dnr-analyze" ~/.claude/skills/dnr-analyze &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/dnr-analyze` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/dnr-analyze` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dnr-analyze &&
cp -R "$tmp/skills/dnr-analyze" ~/.agents/skills/dnr-analyze &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/dnr-analyze` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/dnr-analyze` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dnr-analyze &&
cp -R "$tmp/skills/dnr-analyze" ~/.cursor/skills/dnr-analyze &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/dnr-analyze` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/solanabr/auditor-skill.git --path skills/dnr-analyze
```

Or copy the folder to `~/.gemini/skills/dnr-analyze` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dnr-analyze`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dnr-analyze &&
cp -R "$tmp/skills/dnr-analyze" ~/.copilot/skills/dnr-analyze &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/dnr-analyze` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/solanabr/auditor-skill.git
```

Then copy `auditor-skill/skills/dnr-analyze` into your agent's skills folder as `dnr-analyze`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Dnr analyze need to be run on its own?

No. It is invoked only by the hunt or respond commands of the auditor plugin, with a phase brief as its arguments, inside the incident-responder agent.

### What can Dnr analyze change in my project?

It writes only inside the incident run directory, such as LEDGER.md, saved query results, incident JSON and reports. It does not read or write the client's tree.

### Which tools does Dnr analyze run without prompting?

A fixed list of bundled scripts and the audit-logs binary, plus a read-only jq wrapper and one rundir stamp command. Other commands prompt or are denied.

### How do I install Dnr analyze in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dnr-analyze to use it in all your projects, or to .claude/skills/dnr-analyze in one project. Or install the auditor plugin, which includes it: /plugin marketplace add solanabr/auditor-skill, then /plugin install auditor@auditor.

### Does Dnr analyze run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Dnr analyze?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Dnr analyze?

The closest alternatives to Dnr analyze are Auditor skill, Solana audit flow, Solana vulnerability scanner, Sh incident response and Soc investigator.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Auditor skill](https://ai-powered.com/skills/auditor-skill): Auditor skill is an open-source agent skill for security.
- [Solana audit flow](https://ai-powered.com/skills/solana-audit-flow): Solana audit flow is an open-source agent skill for security.
- [Solana vulnerability scanner](https://ai-powered.com/skills/solana-vulnerability-scanner): Solana vulnerability scanner is an open-source agent skill for security.
- [Sh incident response](https://ai-powered.com/skills/sh-incident-response): Sh incident response is an open-source agent skill for security.
- [Soc investigator](https://ai-powered.com/skills/soc-investigator): Soc investigator is an open-source agent skill for security.
- [Durable nonce exploitation](https://ai-powered.com/skills/durable-nonce-exploitation): Durable nonce exploitation is an open-source agent skill for security.
- [Incident response runbook](https://ai-powered.com/skills/incident-response-runbook): Incident response runbook is an open-source agent skill for security.
- [Risk audit](https://ai-powered.com/skills/risk-audit): Risk audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/dnr-analyze
