Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

decomp-skills

skill · Ketbome/decomp-skillsMIT licenceAudited 14 Oct 2026 · source 51ad0e5bd33c

★ 0pushed today
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 51ad0e5
0repo stars · whole Ketbome/decomp-skills

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 51ad0e5bd33c and found no filesystem, network or shell access and no hard-coded secrets. What it does: Run a matching decompilation (C/C++ that recompiles to the exact original bytes) efficiently and survive interrupted sessions. Use when starting or continuing a decomp project (splat/INCLUDE_ASM layout, MIPS…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “decomp-skills (Ketbome/decomp-skills)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ketbome/decomp-skills

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low1 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS1
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (1)

INFOSupply chainprompt.pipe_to_shell · README.md:69
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/Ketbome/decomp-skills/main/install.sh | sh -s -- --all
Why
No further detail recorded for this rule.
Fix
—

Audit 0.4.1 · source sha 51ad0e5bd33c · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • PublisherKetbome GitHub userOwner of the repository this skill is read from
  • Source folderKetbome/decomp-skillsThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdict51ad0e5bd33cA new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Run a matching decompilation (C/C++ that recompiles to the exact original bytes) efficiently and survive interrupted sessions. Use when starting or continuing a decomp project (splat/INCLUDE_ASM layout, MIPS…

---
name: matching-decomp
description: Run a matching decompilation (C/C++ that recompiles to the exact original bytes) efficiently and survive interrupted sessions. Use when starting or continuing a decomp project (splat/INCLUDE_ASM layout, MIPS PS1/PS2/N64/PSP and similar), decompiling functions, orchestrating parallel worker agents, identifying a compiler/assembler's quirks, integrating and verifying the build, or resuming after a crash, rate limit or context reset.
license: MIT
---

# Matching decompilation

A matching decomp rewrites a game's code in C/C++ so that the original compiler turns it back into the same bytes.
Progress is measured, every step is verifiable, and the work splits into thousands of small independent tasks. That
makes it a good fit for agents, as long as three things hold: **every claim is checked by a byte comparison, every
finished piece is committed at once, and the project's state lives in files, not in anyone's context.**

This skill provides the method, a tool (`scripts/dk.py`, "decomp kit") and templates.

## Pick your situation

| Situation | Read |
|---|---|
| Resuming after a crash, rate limit, `/clear`, new session | [references/recovery.md](references/recovery.md) — always first |
| Starting a new project (split the binary, find the compiler, first match) | [references/setup.md](references/setup.md) |
| Decompiling functions yourself, or as a worker agent | [references/worker.md](references/worker.md) |
| Running several worker agents in parallel and integrating their work | [references/orchestration.md](references/orchestration.md) |
| A function "should" match but the bytes differ in a systematic way | [references/toolchain-forensics.md](references/toolchain-forensics.md) |
| Techniques to steer the compiler (registers, order, branches, loops) | [references/matching.md](references/matching.md) |
| Near misses: let decomp-permuter search instead of spending tokens | [references/permuter.md](references/permuter.md) |

## The tool

`scripts/dk.py` (Python 3.9+, `pip install pyelftools tomli`) reads a `decomp.toml` at the project root
([templates/decomp.toml](templates/decomp.toml)). Copy it into the project (`tools/dk.py`) so workers can run it.

```
dk show <func>                 original asm + m2c draft + which source holds it
dk next <src...> [--max-size]  INCLUDE_ASM functions, smallest first, flags: jtbl, vu0:N%, fragment?
dk try <src> <func>            pre-check hooks, then compare that function with the original bytes
dk revert <src> <func>         back to INCLUDE_ASM
dk done <src> <log> <msg>      refuse unless every function of <src> matches, then commit <src> + <log>
dk all                         check every written function (after any toolchain change)
dk twins [--list]              copy matched functions onto identical ones (one match -> many)
dk state                       recovery report: STATE.md, uncommitted sources and whether they match, commits
dk rescue [--commit]           revert work-in-progress that does not match, keep and commit the rest
```

`check` compiles the source privately (safe in parallel), takes the function out of the object and compares it
with the original bytes; fields the linker fills in are compared by symbol and addend, so it proves a match without
linking. The full build (`ninja` or whatever the project uses) stays the final word.

## Rules that make the work efficient and safe

1. **Verify, don't believe.** A function is done only when `dk check` says MATCH; the build is done only when the
   rebuilt binary is byte-identical. Never leave non-matching code in place of the original asm.
2. **Commit each verified unit immediately** (`dk done`), only your own paths, never `git add -A`. A crash then
   loses one function at most.
3. **State in files.** The orchestrator keeps `docs/STATE.md` (template:
   [templates/STATE.md](templates/STATE.md)); every worker keeps a worklog of matches and give-ups with reasons.
   A new session reads those instead of re-deriving anything.
4. **One owner per file.** Parallel workers get disjoint sets of source files; only the integrator runs the
   splitter, renames symbols, edits shared headers or the build.
5. **Fix the toolchain, not the function.** When many functions fail the same way, the cause is almost always a
   compiler flag or an assembler behaviour (see toolchain-forensics). One fix there unblocks hundreds of functions;
   check every fix against all matched functions (`dk all`) before committing it.
6. **Spend tokens where they pay.** Cheap model for the per-function loop, strong model for toolchain forensics;
   near misses go to the permuter (CPU), not to fifteen more manual attempts.
7. **Clean room.** Names and types come from the binary, the game's own data and your analysis; never from leaked
   or copyrighted source code. Never commit game data (ISO, extracted files, generated asm).

Excerpt, first 4,904 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 51ad0e5

Download folder ↗
npx skills add Ketbome/decomp-skills              # current project, asks which agents
npx skills add Ketbome/decomp-skills -g           # user level, every project
npx skills add Ketbome/decomp-skills -a claude-code -a codex -a opencode -a cursor -a gemini-cli -y
git clone https://github.com/Ketbome/decomp-skills && cd decomp-skills
pip install pyelftools tomli

Commands as the repository documents them: shown, never run by us. Our verdict covers commit 51ad0e5bd33c only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
CodexMentioned in its text, not testedSkills for Codex · About Codex
GitHub CopilotMentioned in its text, not testedSkills for GitHub Copilot · About GitHub Copilot
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
Gemini CLIMentioned in its text, not testedSkills for Gemini CLI · About Gemini CLI
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 51ad0e5bd33c

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/ketbome/decomp-skills/badge.svg)](https://modelsatlas.com/skills/ketbome/decomp-skills/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Spec Driven Development✓SAFE

addyosmani/agent-skills

Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when drafting a PRD or requirements document with objectives and scope, or when…

★ 100kGrade B
Test Driven Development!CAUTION

addyosmani/agent-skills

Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when…

★ 100kGrade B
Using Agent Skills✓SAFE

addyosmani/agent-skills

Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are…

★ 100kGrade B
Api And Interface Design✓SAFE

addyosmani/agent-skills

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing…

★ 100kGrade B
Ci Cd And Automation✓SAFE

addyosmani/agent-skills

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

★ 100kGrade B
Code Review And Quality✓SAFE

addyosmani/agent-skills

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it…

★ 100kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/ketbome/decomp-skills/badge.svg)](https://modelsatlas.com/skills/ketbome/decomp-skills/)

Questions about decomp-skills

What does the decomp-skills skill do?
Agent skills for matching decompilation of video games: per-function loop, parallel agents, toolchain forensics, session recovery. Claude Code, Codex, OpenCode, Gemini CLI, Cursor, Copilot.
Is decomp-skills safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can decomp-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does decomp-skills work with?
Its documentation mentions claude-code, codex, copilot, cursor and gemini-cli. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (51ad0e5bd33c), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.