# helper-recovery

The helper-recovery skill for Claude Code identifies and restores inline helpers, accessors, and macros stripped by compilers during decompilation. It rebuilds original source structures.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 231 repo stars
- Author: lemiur
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lemiur/Game-Decompilation-Skill-For-Claude/tree/HEAD/.claude/skills/helper-recovery/SKILL.md
- Updated: 2026-11-01
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/helper-recovery

## What it does

This skill automates the identification of low-level patterns within decompiled functions. It tracks repeated expressions, scoped blocks, and inconsistent type casts to uncover hidden helpers that developers originally implemented. By applying these helpers globally, the skill ensures consistency across the codebase.

During operation, it verifies that the function logic remains sound and that types match the expected signatures. Successful recovery requires iterating through sampled functions and reconciling the helper shape with existing header definitions.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill helper-recovery -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/helper-recovery/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/helper-recovery/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill helper-recovery -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/helper-recovery/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill helper-recovery -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/helper-recovery/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install lemiur/Game-Decompilation-Skill-For-Claude .claude/skills/helper-recovery
```

2. **Manually: put the files in place**
- File: `.github/skills/helper-recovery/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill helper-recovery -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/lemiur/Game-Decompilation-Skill-For-Claude --path .claude/skills/helper-recovery
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/helper-recovery/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/lemiur/Game-Decompilation-Skill-For-Claude/tree/HEAD/.claude/skills/helper-recovery/SKILL.md

## When to use it
- Recover inline accessors and macros
- Refactor repeated expressions into helpers
- Restore abstraction levels in decompiled code
- Apply helpers across the codebase

## Example prompts
- @helper-recovery analyze the function in `src/engine.c`
- @helper-recovery extract the helper from the `Draw` method patterns

## Similar
- [selector-drift-recovery](https://affpapa.org/en/nevibecode/skills/selector-drift-recovery.md) — skill · 1300 installs
- [blitz3d-decomp](https://affpapa.org/en/nevibecode/skills/blitz3d-decomp.md) — skill · 430 installs
- [reverse-engineer-anything](https://affpapa.org/en/nevibecode/skills/reverse-engineer-anything.md) — skill · 18800 installs
- [rev-symbol](https://affpapa.org/en/nevibecode/skills/rev-symbol.md) — skill · 2000 installs
- [debugging-and-error-recovery](https://affpapa.org/en/nevibecode/skills/debugging-and-error-recovery.md) — skill · 79600 installs
- [error-handling-recovery](https://affpapa.org/en/nevibecode/rules/error-handling-recovery.md) — rule · ★ 4719 repo stars

From the same set: [lemiur/game-decompilation-skill-for-claude](https://affpapa.org/en/nevibecode/by/lemiur/game-decompilation-skill-for-claude.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
