permute — Claude Code skill: what it does, how to install
permute is a Claude Code skill that searches compiler states for a reconstructed function and turns differences into source-level hypotheses. It runs after reconstruction, for diagnosed register or instruction-scheduling residue.
no license ★ 231 updated 2026-11-01
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a claude-codeWhat permute does
permute searches a bounded set of compiler states for a reconstructed function that still differs from the original. It keeps several distinct high-scoring results, compares them with the original function, and helps explain the differences through possible source changes.
The search targets classified register or scheduling mismatches; differences in calls or branches point to other reconstruction work. The project needs an AGENTS.md guide, or a completed project adapter from AGENTS-template.md. Temporary machinery from an exact result must not be copied into source. Run match <unit> and search again to assess each supported change. The search does not run test suites.
What it helps with
- search for higher-scoring compiler states for a reconstructed function
- classify several mismatches by register or scheduling residue
- derive defensible source changes from differences between compiler states
Example prompts for the agent
- Search compiler states for the reconstructed function with a register mismatch.
- Compare the best distinct states and explain which source changes could account for the difference.
- Classify these mismatches and separate scheduling residue from branch changes.
How to install permute
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a claude-code2Manually: put the files in place
~/.claude/skills/permute/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/permute/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a codex2Manually: put the files in place
.agents/skills/permute/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a cursor2Manually: put the files in place
.cursor/skills/permute/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lemiur/Game-Decompilation-Skill-For-Claude .claude/skills/permute2Manually: put the files in place
.github/skills/permute/SKILL.md1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a gemini-cli2Platform CLI
gemini skills install https://github.com/lemiur/Game-Decompilation-Skill-For-Claude --path .claude/skills/permuteManually: put the files in place
.devin/skills/permute/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about permute
How do I install permute in Claude Code?
Run npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill permute -a claude-code. The skill file is at ~/.claude/skills/permute/SKILL.md.
What does permute do?
It searches compiler states for a reconstructed function and helps connect their differences to possible source changes. Its search is meant for diagnosed register or instruction-scheduling mismatches.
What does permute need to work?
The project needs an AGENTS.md guide. If there is none, fill in the project adapter from AGENTS-template.md.