reverse-engineering-assistant
Copilot instructions848 starsChanged 13 months agoApache-2.0View on GitHub
Some good resources include: - The MCP Java SDK - Ghidra on GitHub
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
The file
We split this copilot-instructions.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
If you want to find a Ghidra API, start from the FlatProgramAPI or the ProgramPlugin API in the Ghidra repo.
- Very specific: line 11
When writing tests, use the Ghidra test framework.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
- This is a Ghidra extensions for Ghidra 12.0 and later called "ReVa", the Reverse Engineering Assistant.
- The extension provides a Model Context Protocol (MCP) server for Ghidra. The server is implemented in Java and uses the MCP Java SDK.
- Remember that MCP is in development, so make sure to check the MCP documentation for the latest information.
Some good resources include:
- The MCP Java SDK
- Ghidra on GitHub
- If you want to find a Ghidra API, start from the FlatProgramAPI or the ProgramPlugin API in the Ghidra repo. Use the GitHub tools to search for Ghidra documentation.
- We don't use a gradle wrapper, so just run
gradlein the root directory to build the project. We do have the Java tools installed in VSCode so you can just check for errors with VSCode instead. - When writing tests, use the Ghidra test framework. The tests are in the
src/testdirectory. It is easy to run them withgradle test --infoand the integration tests withgradle integrationTest --info. - You can use standard gradle test filtering to run specific tests with both of the test targets.
- We target Ghidra 12.0 and later. Note we should use Java 21.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

