Skip to content
Back to skills

Sk2decompile

ASecurity

"Run the SK²Decompile two-phase skeleton/skin pipeline, RL helpers,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
businessgo

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sk2decompile --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sk2decompile?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sk2decompile
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sk2decompile/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sk2decompile)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sk2decompile
description: "Run the SK²Decompile two-phase skeleton/skin pipeline, RL helpers,
  and BringUpBench evaluation."
metadata:
  disco-role: operating
disable-model-invocation: true
license: NOASSERTION
---

# 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`](references/workflows.md) for the stage map.
2. Read [`references/data-formats.md`](references/data-formats.md) before changing JSONL/Parquet layouts.
3. Read [`references/reward-functions.md`](references/reward-functions.md) if the user asks about RL rewards.
4. Read [`references/bringupbench.md`](references/bringupbench.md) when the task touches the benchmark pipeline.
5. Read [`references/troubleshooting.md`](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.

Files in this skill

  • SKILL.md3.2 KB
  • references/bringupbench.md1.6 KB
  • references/data-formats.md2.1 KB
  • references/reward-functions.md1.8 KB
  • references/troubleshooting.md2 KB
  • references/workflows.md2.4 KB
  • scripts/build_func_maps.py10.9 KB
  • scripts/disasm_all_objdump.sh1.8 KB
  • scripts/eval_infer_out.py17.1 KB
  • scripts/infer_type.py2.4 KB
  • scripts/normalize_pseudo.py5 KB
  • scripts/reward_functions/__init__.py61 B
  • scripts/reward_functions/embedding_gte.py4.1 KB
  • scripts/reward_functions/embedding_qwen3.py4.1 KB
  • scripts/reward_functions/exe_type.py1.9 KB
  • scripts/reward_functions/sim_exe.py1.4 KB
  • scripts/run_ident_rl.sh3.4 KB
  • scripts/run_struct_rl.sh3.4 KB
  • scripts/sk2decompile_inf.py7.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.