/ReVa:deep-analysisfrom ReVa
Answers specific questions about Ghidra programs by analyzing decompilation, cross-references, and memory. Use for one-off queries about function behavior, addresses, or data types.
Ships in ReVa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One question, one loop. Input: a question and a starting point (address, symbol, string or import). Output: the answer with evidence and the database writes; under working-threads, also a ## Thread report. Pass the programPath to every call.
A single question writes no workspace files. The database is the record.
find-import-references. A string: get its address with get-strings, then find-cross-references with direction to, includeContext true. The referencing function is the start.## Candidate threads line gives the start address.strategies.md (what X does, crypto, network, types, decode a blob, recover a structure): read it now and follow it inside the loop.Repeat until Thread end holds.
get-decompilation with limit 50 and includeIncomingReferences true. For data, get-data or read-memory. Paging applies.get-decompilation again. A new cast or a worse line: fix the type, re-read.set-bookmark with type TODO, category Thread, the question as comment; add it to new threads; return to the question.A thread ends one of four ways. Under working-threads, write the thread report.
open — <reason> — <next read>. The reason is a tool result: every patterns.md shape tried on the decoder, a call that failed twice, a program not loaded. Time and spend are a reason only when a harness message states them.scoping-analysis.Every name, type, comment and bookmark you have decided is written before your next read.
rename-variables for locals; set-function-prototype for the function.set-decompilation-comment or set-comment. Bookmarks: set-bookmark.Name a function after its body was read in this thread. A name or comment states what you read. A guess follows Hypotheses.
A page that shows only the signature and local declarations is not a read.
get-decompilation again with offset set to the next line number (after limit 50 from line 1: offset 51, limit 50).offset into the call's arguments.Lines you skipped are unread. Page them before Thread end.
A value you report (string, key, address, URL, size, command) is traced to the code that produces it.
get-callers-decompiled) and decompile that function."Not present" is a finding only after the functions that would do it were read.
GetProcAddress, dlsym), related strings, callees of each entry point.no <capability>: read <functions>; checked <imports, strings>.From the import list alone, write "not imported", and keep reading.
A result surprises you (wrong lines, empty, an error, an argument seemingly ignored):
A tool is at fault only when step 1 shows the argument was in the call.
Change types with ReVa's tools, in this order:
parse-c-structure: define a structure (it replaces one of the same name).apply-structure or apply-data-type: type data.change-variable-datatypes: type locals.set-function-prototype: type parameters and return.A script comes after one of these returns an error that Tool surprise could not fix. A script to write: Then read pyghidra-scripting.
A guess goes into the database in one of two forms:
set-bookmark with type TODO, category Assumption, comment assumption: <guess> — check: <read that settles it>.set-comment whose text starts assumption: .A read settles it:
Retire: remove-bookmark (type TODO, category Assumption) or remove-comment.
| Jump | Check that settles it |
|---|---|
| "This helper builds the strings, so they are plaintext." | A concatenator is not the decoder. Follow its callers' inputs to the producer (Callee). |
| "Dead code" or "leftover" | Decompile each callee, and call find-cross-references to on the function. Write what the callee does. |
| "I don't recognise this CLSID, GUID or constant." | Follow what the program does with it: the call it is passed to, and the methods or offsets used on the result. |
| "Only one import." | Call analysis-status. When analysis has completed, call list-imports again. |
| A family or algorithm named from memory | Match the decoded markers (strings, constants, command names, tables) against each candidate. Write which candidates were excluded, and by which marker. |
Under working-threads, when the thread ends, write ## Thread report with these parts:
TODO bookmark.A single question ends with the answer in the form the user asked for, followed by the evidence and the database writes.
Examples: examples.md. Code and algorithm patterns: patterns.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/binary-triageUse when surveying any program, firmware image, shellcode or bytecode in Ghidra before a request is scoped; asked to triage, survey, give an overview or say "what is this"; or sent here by `reverse-engineering`./ctf-cryptoSolve CTF cryptography challenges by identifying, analyzing, and exploiting weak crypto implementations in binaries to extract keys or decrypt data. Use for custom ciphers, weak crypto, key extraction, or algorithm identification./ctf-pwnSolve CTF binary exploitation challenges by discovering and exploiting memory corruption vulnerabilities to read flags. Use for buffer overflows, format strings, heap exploits, ROP challenges, or any pwn/exploitation task./ctf-revSolve CTF reverse engineering challenges using systematic analysis to find flags, keys, or passwords. Use for crackmes, binary bombs, key validators, obfuscated code, algorithm recovery, or any challenge requiring program comprehension to extract hidden information./finishing-analysisUse when the threads for a program in Ghidra are verified (`Verify NN:` lines in `<workspace>/ledger.md`) and the answer is not yet sent; when the closing evidence for the main question is in hand; or sent here by `verifying-findings` or `reverse-engineering`./planning-analysisUse when a brief for a program in Ghidra is written (`<workspace>/brief.md`) and the work needs an ordered list of threads before analysis starts; or sent here by `scoping-analysis` or `reverse-engineering` after the brief.npx claudepluginhub cyberkaida/reverse-engineering-assistant --plugin ReVaOther plugins' skills for the same job