Ghidra refine

From lza6/Armor-piercing-system-prompts · View interactive version

Ghidra refine is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Extract pseudo-code with Ghidra and refine it with the LLM4Decompile V2 model family.

How to use this skill

Skill file

Ghidra Refinement

Use this sub-skill when the user wants to run the repo's refinement path: extract per-function pseudo-code with the bundled decompiler postscript and feed that pseudo-code into a V2 refinement model.

Covers

Excludes

Start Here

  1. Read CODE0 for the two-stage flow.
  2. Read CODE0 before changing the pseudo-code dump or prompt shape.
  3. Read CODE0 if Java, Ghidra, or the model selection fails.
  4. Use the bundled scripts in this sub-skill's scripts/ directory rather than the source checkout.

Common routes

Pseudo-code extraction

Use this route when the user needs the raw Ghidra output or wants to batch decompile a binary.

Good entry points:

V2 refinement

Use this route when the user already has pseudo-code and wants the model to improve readability or syntax.

Good entry points:

Environment signals

When to read the bundled references

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.