Skip to content
Skill

Dnr analyze

Runs offline incident-log analysis phases for Solana auditor workflows

Dnr analyze is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
67
Last commit
License
MIT
Listing updated

Similar skills

About Dnr analyze

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Dnr analyze 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.

More from solanabr/auditor-skill

  1. Security audits of Solana programs and general code with item-by-item verdicts

    • Open source
    • 67 GitHub stars
    • Security