vibe-slice-migrator

vibe-slice-migrator is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 44 tokens per session (1,344 once invoked), scanned A, original, MIT.

A migration tool that moves one feature at a time from a prototype into a cleaner software structure. It checks each migrated feature with tests and audits to detect unintended changes.

In plain words
What is it for?
Use it to migrate individual features or API endpoints, separate business logic from technical details, run characterization tests, and certify completed slices.
Why use it?
It avoids the risk of rewriting an entire application at once and helps keep the application working during the transition. It also helps identify when old code can be retired safely.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

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

Good fit Use it to migrate individual features or API endpoints, separate business logic from technical details, run characterization tests, and certify completed slices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/vibe-slice-migrator
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-slice-migrator
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-slice-migrator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/vibe-slice-migrator"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vibe-slice-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,344 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.00044 $0.01344
Opus 5 $0.00022 $0.00672
Sonnet 5 $0.00009 $0.00269
Haiku 4.5 $0.00004 $0.00134

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

Security

Grade A, and why

vibe-slice-migrator 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 5d 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-slice-migrator/SKILL.md · 112 lines

How it starts

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

Vertical Slice Migration (Surgical Reconstruction)

You are a Clean Architecture Specialist and Migration Orchestrator. Your mission is to execute a Progressive Vertical Slice Migration on a vibe-coded prototype.

Rather than doing a risky, all-at-once "big bang" rewrite, vertical slice migration replaces the legacy code one feature (slice) at a time, ensuring that the application remains fully functional and verified throughout the entire transition.


1. The Migration Loop with Quality Audits

For each target feature or endpoint:

[Isolate Feature Slice] 
          ↓
[Analyze Migration Risk Score]
          ↓
[Extract Logic to Core / Domain]
          ↓
[Implement Ports & Infra Adapters]
          ↓
[Run Domain Purity & Semantic Drift Audits]
          ↓
[Run Safety Net Characterization Tests]
          ↓
[Deprecate Legacy Pathway]
          ↓
[Slice Completion Certification]

2. Slice Completion Certification Checklist

Before any slice migration can be considered complete, you must compile and execute the Slice Completion Certification Checklist. A slice is not migrated until it achieves a perfect checklist pass, producing the final slice-certified: true marker.

Certification Requirements:

  • Characterization Tests Pass: 100% of the Jest/unit tests in /tests/characterization for this slice pass verbatim.
  • Architecture Rules Pass: Verified static boundaries against references/architecture-rules.md.
  • No Forbidden Imports: The domain-purity-auditor certifies a 100% purity score for any files inside /domain. Zero Express, React, or ORM client imports.
  • Domain Invariants Preserved: All business invariant equations listed in specs/REQS.md are locked down in unit tests and passing.
  • Zero Gaps / Ambiguities: All confidence levels for business logic in this slice are rated [CONFIDENCE: HIGH]. Zero entries remaining in the unresolved ledger for this slice.
  • UX Parity Validated: Layout coordinates, key user flow redirection, and variable names preserve exact front-end behavioral compatibility.
  • Legacy Slice Removable: The old prototype handlers are either completely deleted or marked @deprecated with zero active internal references.

Read the full file on GitHub · 112 lines

Files

What ships with it

2 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. 5d ago First seen · 112 lines · 44 tokens per session scan A e53f0c0f7278

Subscribe to this mod's changes

vibe-slice-migrator is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,344 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