matcher — Claude Code skill for binary matching
matcher is a Claude Code skill that reconstructs C/C++ source to match a retail binary. It helps investigate lost matches, recover types and examine code differences.
no license ★ 231 updated 2026-11-01
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a claude-codeWhat matcher does
matcher guides reconstruction of C/C++ source that accounts for the bytes in a retail binary. It gathers evidence before edits, including assembly differences, operands, relocations, callers and class information. Then it runs a focused loop: change one hypothesis, execute match <unit>, and compare from the first actual divergence.
Project guidance comes from AGENTS.md. If that file is missing, the skill points to AGENTS-template.md, which needs a project adapter filled in. A byte match must also pass decomp-code-rules and the reader test; artificial locals and casts used to force a match do not count as a valid result. The work requires the retail binary and the original compiler.
What it helps with
- recover a function whose match was lost
- compare C/C++ source against a retail binary
- trace differences in relocations and calls
- recover a class type, vtable or calling convention
Example prompts for the agent
- Recover the source for a function that no longer matches the retail binary.
- Compare
unitwith the binary and find the first real divergence. - Investigate the matching plateau and test whether a type or relocation is wrong.
How to install matcher
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a claude-code2Manually: put the files in place
~/.claude/skills/matcher/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/matcher/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a codex2Manually: put the files in place
.agents/skills/matcher/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a cursor2Manually: put the files in place
.cursor/skills/matcher/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lemiur/Game-Decompilation-Skill-For-Claude .claude/skills/matcher2Manually: put the files in place
.github/skills/matcher/SKILL.md1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a gemini-cli2Platform CLI
gemini skills install https://github.com/lemiur/Game-Decompilation-Skill-For-Claude --path .claude/skills/matcherManually: put the files in place
.devin/skills/matcher/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 matcher
How do I install matcher in Claude Code?
Run npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill matcher -a claude-code. The skill file is installed at ~/.claude/skills/matcher/SKILL.md.
What does matcher do?
It helps reconstruct C/C++ functions and related source structures against a retail binary, then compare the compiled output. A valid match must also satisfy decomp-code-rules rather than rely on artificial code changes.
What does matcher need to work?
It needs the retail binary and original compiler. Project guidance comes from AGENTS.md or a completed AGENTS-template.md.