Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sk2decompile

БесплатноБез исполняемых скриптовНе проверен

Run the SK²Decompile two-phase skeleton/skin pipeline, RL helpers, and BringUpBench evaluation.

lza6от lza6★ 19 звёзд на GitHub

Об этом скилле

SK²Decompile

Use this sub-skill when the user wants the repo's two-phase binary-decompilation workflow: structure recovery, identifier naming, RL reward helpers, two-stage inference, or BringUpBench evaluation.

Covers

  • pseudo-code normalization and obfuscation helpers
  • header/type inference for structure-recovery training data
  • function-map generation across source, pseudo-code, and assembly
  • two-stage skeleton/skin inference
  • GRPO / RL helper scripts and reward modules
  • BringUpBench evaluation and report generation

Excludes

  • direct LLM4Decompile training and inference → use training or evaluation
  • Ghidra-only refinement flow → use ghidra-refine
  • plain benchmark scoring without the two-stage pipeline → use evaluation

Start Here

  1. Read references/workflows.md for the stage map.
  2. Read references/data-formats.md before changing JSONL/Parquet layouts.
  3. Read references/reward-functions.md if the user asks about RL rewards.
  4. Read references/bringupbench.md when the task touches the benchmark pipeline.
  5. Read references/troubleshooting.md if normalization, reward services, or benchmark checkout paths fail.

Common routes

Preprocessing / normalization

Use this route when the user wants to normalize pseudo-code, build function maps, or infer headers for RL data.

Good entry points:

  • scripts/normalize_pseudo.py
  • scripts/infer_type.py
  • scripts/build_func_maps.py
  • scripts/disasm_all_objdump.sh

Two-stage inference

Use this route when the user wants to run the structure-recovery model and then the identifier-naming model.

Good entry points:

  • scripts/sk2decompile_inf.py

RL reward helpers

Use this route when the user wants to inspect, adapt, or debug the reward modules used by VERL / GRPO.

Good entry points:

  • scripts/reward_functions/exe_type.py
  • scripts/reward_functions/sim_exe.py
  • scripts/reward_functions/embedding_gte.py
  • scripts/reward_functions/embedding_qwen3.py
  • scripts/run_struct_rl.sh
  • scripts/run_ident_rl.sh

BringUpBench evaluation

Use this route when the user wants to rebuild a benchmark workspace and score replacement / compile / execution rates.

Good entry points:

  • scripts/eval_infer_out.py

Environment signals

  • clang-format is required for normalization.
  • vllm / torch CUDA is required for the stage models.
  • Psychec is optional but needed for header inference.
  • BringUpBench uses its own checkout; set BENCH_REPO_ROOT before evaluation.

When to read the bundled references

  • Use the workflow reference for stage ordering and script ownership.
  • Use the data-format reference to validate the JSONL/Parquet schemas.
  • Use the reward reference to distinguish structure-recovery and identifier-naming signals.
  • Use the BringUpBench reference to understand the benchmark-side file layout and environment variables.
Полный SKILL.md на GitHub

Установить sk2decompile в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/bringupbench.mdreferences/data-formats.mdreferences/reward-functions.mdreferences/troubleshooting.mdreferences/workflows.md

FAQ

Что делает скилл sk2decompile?

Run the SK²Decompile two-phase skeleton/skin pipeline, RL helpers, and BringUpBench evaluation.

Как установить скилл sk2decompile?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sk2decompile запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sk2decompile с