recipe-reverse-engineer

recipe-reverse-engineer is a skill for Claude Code from shinpr/claude-code-workflows. It costs 26 tokens per session (3,953 once invoked), scanned A, original, MIT.

A reverse-engineering workflow for turning an existing codebase into product requirements and design documents. It includes discovery, document generation, verification, and review stages.

In plain words
What is it for?
Use it to inspect a codebase, create a product requirements document and design documents, verify them against the code, and address review findings.
Why use it?
It helps developers document how an existing system works before planning changes or handing the work to others.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Part of the dev-workflows-fullstack plugin — 9 skills shipped together

Good fit Use it to inspect a codebase, create a product requirements document and design documents, verify them against the code, and address review findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shinpr/claude-code-workflows/recipe-reverse-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shinpr/claude-code-workflows --skill recipe-reverse-engineer
Clone the repo
git clone --depth 1 https://github.com/shinpr/claude-code-workflows

Made for: Claude Code.

Or install dev-workflows-fullstack, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recipe-reverse-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/shinpr/claude-code-workflows/recipe-reverse-engineer/github.svg)](https://agentmods.dev/skills/shinpr/claude-code-workflows/recipe-reverse-engineer)
Your own site
<a href="https://agentmods.dev/skills/shinpr/claude-code-workflows/recipe-reverse-engineer"><img src="https://agentmods.dev/badge/skills/shinpr/claude-code-workflows/recipe-reverse-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recipe-reverse-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/claude-code-workflows/recipe-reverse-engineer"><img src="https://agentmods.dev/badge/skills/shinpr/claude-code-workflows/recipe-reverse-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.03953
Opus 5.5 $0.00010 $0.01581
Sonnet 5.5 $0.00005 $0.00791
Haiku 4.5 $0.00003 $0.00395

Measured yesterday against content hash 615145ee09da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recipe-reverse-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

dev-workflows-fullstack/skills/recipe-reverse-engineer/SKILL.md · 406 lines

How it starts

The opening of the file, as written. The whole thing — 406 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Explicit User Instruction: The user explicitly instructs and authorizes every subagent call named in this recipe. Execute each applicable call when its prerequisites are met.

Execute Skill: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts. Execute Skill: subagents-orchestration-guide before making workflow decisions, invoking agents, or resolving findings.

Context: Reverse engineering workflow to create documentation from existing code

Target: $ARGUMENTS

Orchestrator Definition

Core Identity: "I am an orchestrator."

Local authority gate: Make this recipe's workflow decisions and validate each returned result directly; delegate semantic deliverable production to the named specialist.

Review Resolution Gate [MANDATORY]: Resolve every actionable deliverable-review finding through subagents-orchestration-guide Review Resolution before correction or progression. Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.

Execution Protocol:

  1. Invoke named specialists for deliverable production — pass deliverable paths between them and validate their results (see subagents-orchestration-guide "Orchestrator Execution Boundary")
  2. Respect evidence dependencies: Generation precedes verification and review for each unit; revision reruns the affected checks. Independent units may be scheduled without changing these gates.
  3. Preserve evidence while bridging outputs — copy the fields required by the next specialist in their declared form; apply Review Resolution before routing any correction

At each Agent invocation below, build the prompt as a mechanical extraction: copy the named source values into the exact fields, apply only the declared serialization, then invoke immediately.

Execution Gate: Each Design Doc depends on its completed parent PRD and scope mapping. Advance each unit only when its stated evidence and Unit Completion conditions are satisfied; a document path proves generation only. Continue independent units when another has a recorded failure, and report incomplete units explicitly.

Read the full file on GitHub · 406 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +8 lines 615145ee09da
  2. 1mo ago Changed · +1 lines 0106e6a548fe
  3. 1mo ago Changed · -3 lines 38168ec934c0
  4. 1mo ago Changed de1a50a58a2e
  5. 1mo ago First seen · 400 lines · 26 tokens per session scan A b8ad3db00fca

Subscribe to this mod's changes

recipe-reverse-engineer is a skill published in the GitHub repository shinpr/claude-code-workflows (703 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 3,953 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.