vibe-reengineer

vibe-reengineer is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 33 tokens per session (2,300 once invoked), scanned A, original, MIT.

An orchestration tool for converting a rapid prototype into a more structured software system through a controlled series of discovery, testing, architecture, and migration steps. It keeps business requirements, observed behaviour, and domain rules as separate sources of truth.

In plain words
What is it for?
Use it to manage prototype discovery, behavioural test capture, requirements, domain extraction, architecture work, and feature-by-feature migration.
Why use it?
It coordinates a complex reengineering process so that important behaviour is documented and protected while the code is reorganised. This helps prevent accidental changes to business logic during the rebuild.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the exploration-cycle-plugin plugin — 20 skills, 15 agents shipped together

Good fit Use it to manage prototype discovery, behavioural test capture, requirements, domain extraction, architecture work, and feature-by-feature migration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/vibe-reengineer
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 richfrem/agent-plugins-skills --skill vibe-reengineer
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install exploration-cycle-plugin, the plugin that ships this one along with the rest of its 20 skills, 15 agents.

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 vibe-reengineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vibe-reengineer/github.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/vibe-reengineer)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/vibe-reengineer"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vibe-reengineer/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 vibe-reengineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/vibe-reengineer"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vibe-reengineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,300 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.00033 $0.02300
Opus 5 $0.00016 $0.01150
Sonnet 5 $0.00007 $0.00460
Haiku 4.5 $0.00003 $0.00230

Measured 2d ago against content hash ef495d9ee78c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

vibe-reengineer 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 2d 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.

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.

plugins/exploration-cycle-plugin/skills/vibe-reengineer/SKILL.md · 158 lines

How it starts

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

Vibe Reengineering Loop (The Reengineering Engine)

You are the Supreme Refactoring Orchestrator. Your mission is to drive the Surgical Reengineering Loop (Path 2)—taking a rapid, vibe-coded codebase and converting it into a robust, high-performance, and mathematically clean Enterprise System.

Rather than just describing the architecture, this loop coordinates active code extraction, automated behavioral capture, domain isolation, and slice migrations, under a strict governance framework that prevents semantic drift and protects runtime safety.


1. Governance & Truth Precedence

Every stage of reengineering must adhere to the Canonical Truth Hierarchy. In any discrepancy, the higher level takes absolute precedence:

  1. specs/REQS.md (Canonical Business Truth): The ultimate source of business logic, invariant equations, terminology, and constraints.
  2. tests/characterization/ (Canonical Behavioral Truth): Executable assertion of behavior. Generated specs may never override executable behavioral evidence.
  3. /domain model (Canonical Architectural Truth): Pure domain logic and rules.
  4. Handoff/Spec docs: Derived artifacts.
  5. Prototype Code: Exploratory evidence only.

Truth Conflict Detector Protocol

Before any migration step or final validation:

  • Action: Programmatically parse quantitative business constraints in specs/REQS.md and cross-reference them against assertions in /tests/characterization/.
  • Mismatches: If a passing test asserts or allows a state or output that is quantitatively forbidden by REQS.md (e.g. allowing negative bounds when REQS.md specifies totalBalance >= 0), flag this as a critical "silent conflict", block migration certification, and record the conflict details in session-memory/ambiguity-ledger.md.

Read the full file on GitHub · 158 lines

Files

What ships with it

5 files 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. 2d ago Changed ef495d9ee78c
  2. 7d ago First seen · 158 lines · 33 tokens per session scan A d152cdeb9337

Subscribe to this mod's changes

vibe-reengineer is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 2,300 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

test-verification

Requires behavioral, failure-path, and durable-seam evidence for tests and review. Use when writing tests, reviewing test coverage, assessing behavioral test quality, or accepting high-risk behavior on test evidence.

Ezra144israel/governed-agent-skills · 43 tokens

test-writing

Write comprehensive tests for code including unit tests, integration tests, and end-to-end tests. Use this to ensure code quality, catch bugs, and validate functionality.

KarmaloopAI/Jiva · 35 tokens

concept-implementation

An implementation skill for turning a confirmed concept model into a modular monolith, a single deployable application split into independent modules.

ontology-of-everything/SemanticSkills · 57 tokens

tdd-xfail

Use when fixing a bug through strict xfail reproduction and needing proof that the test fails for the intended reason.

tony/skills · 27 tokens

a11y-testing

Use this skill when the user asks about accessibility testing, axe-core, jest-axe, "@testing-library", "@axe-core/playwright", "Playwright accessibility testing", "WAVE", "Lighthouse accessibility", "automated a11y tests", "accessibility CI/CD", "eslint-plugin-jsx-a11y", "a11y linting", "axe DevTools", setting up…

RadOrigin-LLC/RAD-Claude-Skills · 130 tokens

fortify

Testing infrastructure, coverage, and verified test quality for any project. Detects stack, installs testing ecosystem, audits untested critical paths, writes thorough tests weighted toward error paths, runs them, verifies via mutation testing. Use when user says '/fortify', 'add tests', 'set up testing', 'I need…

catcatcatstudio/cat-skills · 90 tokens