ghidra-refine
БесплатноБез исполняемых скриптовНе проверенExtract pseudo-code with Ghidra and refine it with the LLM4Decompile V2 model family.
от lza6★ 19 звёзд на GitHubОб этом скилле
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
- headless extraction with the repo's bundled postscript helper
- pseudo-code dump parsing and prompt construction
- V2 refinement using
LLM4Binary/llm4decompile-6.7b-v2or related V2 checkpoints - demo-style compile → extract → refine loops
Excludes
- direct assembly-only inference and benchmark scoring → use
evaluation - training or dataset preparation → use
training - SK²Decompile RL or BringUpBench → use
sk2decompile
Start Here
- Read
references/ghidra-workflow.mdfor the two-stage flow. - Read
references/data-formats.mdbefore changing the pseudo-code dump or prompt shape. - Read
references/troubleshooting.mdif Java, Ghidra, or the model selection fails. - 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:
scripts/dump_pseudo.pyscripts/run_demo.py
V2 refinement
Use this route when the user already has pseudo-code and wants the model to improve readability or syntax.
Good entry points:
scripts/run_demo.py
Environment signals
- Java 17 may be required by the surrounding demo flow, depending on the headless backend the user actually has installed.
- The repo's example scripts mix Ghidra naming with decompiler-specific postscript APIs; verify the backend pair before running.
clang-formatis needed when pseudo-code normalization is part of the flow.- The V2 model family is the normal target for refinement.
When to read the bundled references
- Use the workflow reference for the stage ordering and file expectations.
- Use the data-format reference to preserve the function delimiters and prompt wrapper.
- Use the troubleshooting reference when Ghidra or the refinement model fails.
Установить ghidra-refine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ghidra-refine?
Extract pseudo-code with Ghidra and refine it with the LLM4Decompile V2 model family.
Как установить скилл ghidra-refine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ghidra-refine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic