/ReVa:scoping-analysisfrom ReVa
Scopes reverse engineering tasks in Ghidra by interpreting vague user requests (malware analysis, C2 extraction, type cleanup, report writing) and determining the scope of work from survey results.
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.
Input: the request and the survey reply. Output: <workspace>/brief.md. No survey yet: Then read binary-triage. <workspace>/brief.md (Write the brief, step 1) exists for the same program and Request, or the user asks to resume: Then read working-threads.
Scoping decides from the survey; its only analysis calls are the assumption bookmarks.
Write the matching row's full meaning, in your words, as Reading. Two rows match: take both.
| Request | Means in full |
|---|---|
| "Is this malware", "malware or not" | A verdict; the behaviours that justify it, each with evidence; what was ruled out. |
| "What is the C2", "what does it talk to" | Transport; every address or domain and how it is obtained (static, decoded, generated, resolved); protocol framing; the code that uses it. |
| "Fix the datatypes", "clean up the database" | Every function's prototype and locals; every structure that repeated field access reveals; globals; names where evidence supports them. |
| "Decrypt the payload" | The algorithm; the key and its source; a re-implementation script; the decrypted output in the database or a file; what the payload is. |
| "Extract the config" | The config blob's location and format; the decoder; the decoded fields, each labelled in the database and reported. |
| "Find signaturable elements", "write a detection" | Stable, specific, non-library bytes, strings, constants and structural features, each with address and a false-positive argument; then the rule in the user's format (YARA by default). |
| "What does it do" | Every capability present, with evidence; every absent survey capability group (network, execution, memory, crypto, persistence, anti-analysis), with where you looked. |
| "Write a report" | A verdict-size job: the verdict and "what does it do" rows in full, in the form the user asked for. |
No row fits: take the nearest; write why under Assumptions.
Write each rule that applies under Scope decisions: <decision> — because <survey fact> at <address>.
| Survey shows | Scope decision |
|---|---|
| Packing: likely | Unpacking is goal 1; other threads start on the unpacked code. |
A library with exports (DLL, .so, .dylib) | Every export is a thread. |
| Firmware or a raw image | Memory map and base address recovery is goal 1. |
| Runtime: .NET, Java or Dalvik, Go, Rust | Matching platform notes; name the runtime. |
| Several programs in the project | Which is the target; what each other one is. |
None applies: write none — <format>, <runtime>.
A large program stays whole. Order: candidate threads and own code reached from the entry point, then other own code, then library code by name.
Ask only when all three hold:
Then ask once, with the broad reading as the recommended default. Write the answer under Assumptions. No answer: take Otherwise.
Otherwise:
set-bookmark once per assumption: addressOrSymbol the address it concerns, type TODO, category Assumption, comment assumption: <reading chosen> — check: <what would change it>. No address: the entry point, one bookmark, comments joined by ; .A file path is not a fork: list-project-files in the survey names the target.
Copy the stated time and spend into Budget with its source. None stated: write none stated. Budget never narrows Reading or Done-when.
./reva-analysis/<program-basename>/ (<program-basename>: the program path's last part). If <workspace>/brief.md exists, use <workspace>-2 (then -3).skill://scoping-analysis/templates/brief.md and fill every slot.<workspace>/brief.md. In the same reply, call the assumption bookmarks.Headings, in order, exactly: ## Request, ## Reading, ## Survey, ## Scope decisions, ## Assumptions, ## Non-goals, ## Budget, ## Done-when. Request: the user's words, verbatim. Survey: the survey slots verbatim, then Candidate threads: and its lines, with no heading. Non-goals: only what the matched row does not name; library code goes under Scope decisions, by name. Done-when: one observable line per part of the Reading, all of it.
After the write returns, next reply: read planning-analysis, alone, before any other call.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ghidra, reverse-engineering, malware-analysis, binary-analysis
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.npx claudepluginhub cyberkaida/reverse-engineering-assistant --plugin ReVaOther plugins' skills for the same job