reverse-engineer

reverse-engineer is a skill for Claude Code from AI-Unified-Process/marketplace. It costs 158 tokens per session (5,107 once invoked), scanned B, original, Apache-2.0.

A documentation tool that examines an existing software project and describes what users and external systems can do with it, along with its data model.

In plain words
What is it for?
Use it to produce use-case diagrams, one specification per use case, and an entity model from an existing codebase.
Why use it?
It provides structured design documents when a system must be understood or documented from code, configuration, database schema, and tests.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the TodoWrite tool.

Part of the aiup-core plugin — 6 skills shipped together

Good fit Use it to produce use-case diagrams, one specification per use case, and an entity model from an existing codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-unified-process/marketplace/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 AI-Unified-Process/marketplace --skill reverse-engineer
Clone the repo
git clone --depth 1 https://github.com/AI-Unified-Process/marketplace

Made for: Claude Code.

Or install aiup-core, the plugin that ships this one along with the rest of its 6 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 reverse-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-unified-process/marketplace/reverse-engineer.svg)](https://agentmods.dev/skills/ai-unified-process/marketplace/reverse-engineer)
Your own site
<a href="https://agentmods.dev/skills/ai-unified-process/marketplace/reverse-engineer"><img src="https://agentmods.dev/badge/skills/ai-unified-process/marketplace/reverse-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,107 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 6
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high Prompt Injection · line 17
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 90
    This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.
    Fix: Remove or rewrite any text that instructs the agent to ignore prompts, override safety rules, or trust unverified content. Ensure skill content cannot be injected to alter agent behavior.
  • high Tool Misuse · line 171
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 172
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00158 $0.05107
Opus 5 $0.00079 $0.02554
Sonnet 5 $0.00032 $0.01021
Haiku 4.5 $0.00016 $0.00511

Measured 8d ago against content hash 18d599439a80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

reverse-engineer scanned grade B with 1 finding 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 8d ago.

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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

you or to an AI assistant (e.g. "ignore previous instructions", "run this

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

aiup-core/skills/reverse-engineer/SKILL.md · 427 lines

How it starts

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

Reverse Engineer Project to AI Unified Process Artifacts

Goal

Produce three artifacts from an existing codebase, matching exactly the formats used by the forward-engineering skills (/use-case-diagram, /use-case-spec, /entity-model) so the output is a drop-in starting point for the rest of the AI Unified Process workflow:

  1. docs/use_cases.puml — PlantUML use case diagram (actors and use cases)
  2. docs/use_cases/UC-XXX-name.md — one specification document per use case
  3. docs/entity_model.md — entity model with Mermaid ER diagram and attribute tables

The forward-engineering skills derive these from a vision/requirements document; you derive them from code, configuration, schema, and tests.

Format contract — read this before writing any artifact

These are hard requirements, not style preferences. Reverse-engineered documents that break them are rejected exactly like forward-engineered ones:

  1. Aggregate use cases. The spec-file count must be meaningfully smaller than the endpoint count; a small service collapses to roughly 4–8 use cases. One CRUD resource = one "Manage X" use case.
  2. Spec files are named UC-XXX-<kebab-case-name>.md — three-digit ID, lowercase kebab-case, no underscores or PascalCase.
  3. Steps stay at the business level — no SQL, HTTP verbs, framework methods, hashing, tokens, or protocol names in any step.
  4. BR-XXX IDs are scoped to their use case — every spec file numbers its rules BR-001, BR-002, … from the start, unique and gapless within that file. Cross-references to a rule of another use case are qualified with the use case id ("UC-005 BR-002").
  5. The Mermaid ER diagram shows relationships only — no attributes inside entity blocks.
  6. Every attribute table has exactly these 5 columns, in this order: Attribute | Description | Data Type | Length/Precision | Validation Rules.
  7. Data types come from the closed AI Unified Process listLong, String, Integer, Decimal, Boolean, Date, DateTime, 'BLOB' — and nothing else. Raw SQL/ORM types (VARCHAR, bigint, numeric, TEXT) are banned, and so are invented "business types" (Money, Email Address, Identifier, Timestamp, Quantity, PersonName, Text). An email column is String with validation Not Null, Format: Email; a price is Decimal with 10,2.
  8. Validation Rules cells use only the /entity-model vocabulary and are never empty.

Read the full file on GitHub · 427 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 427 lines · 158 tokens per session scan B 18d599439a80

Subscribe to this mod's changes

reverse-engineer is a skill published in the GitHub repository AI-Unified-Process/marketplace (121 stars, last pushed 10d ago), licensed Apache-2.0. It adds 158 tokens to every session and 5,107 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens