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.
npx skills add roedyrustam/vibes-plug --skill legacy-code-translatorgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote 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.
[](https://agentmods.dev/skills/roedyrustam/vibes-plug/legacy-code-translator)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/legacy-code-translator"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/legacy-code-translator/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.
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/legacy-code-translator"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/legacy-code-translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.02047 |
| Opus 5.5 | $0.00017 | $0.00819 |
| Sonnet 5.5 | $0.00008 | $0.00409 |
| Haiku 4.5 | $0.00004 | $0.00205 |
Grade A, and why
legacy-code-translator 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Legacy Code Translator (Strangler Fig & Refactoring Engine)
English
Orchestration & Integration
- Upstream & Reverse Engineering:
prd-architect(document reverse-engineered business rules intoPRD.md),brainstorming,session-memory-manager. - AST & Codebase Intelligence:
living-codebase-ast-graph(module dependencies & blast radius),scalability-clean-code(Clean Architecture boundaries),typescript-expert(strict type contracts). - Backend & Database Migration:
database-orm-expert(legacy SQL to Prisma/Drizzle schemas),js-backend-expert(Bun/Hono targets),go-programming-expert/rust-programming-expert. - Testing & Anti-Slop Gates:
autonomous-tdd-debugger(shadow execution comparison suites),anti-slop(zero truncation, no stubbed mocks),zero-tech-debt-auditor.
Description
A systematic, risk-mitigated engineering methodology for migrating large, business-critical legacy codebases (PHP 5/7, Python 2, jQuery, old React Class Components, AngularJS) to modern 2026 enterprise stacks (Next.js 15, TypeScript 5.8+, Bun, Rust, Go) without business downtime or regression. Employs the Strangler Fig pattern, Shadow Execution Harnesses, and AST-driven module decomposition to prevent context exhaustion and hallucinated logic.
Trigger Conditions
- Large-scale framework migrations (e.g., PHP monolith -> Next.js + Bun/Hono microservices).
- Translating legacy scripts across languages (e.g., Python 2/3 CPU-bound routines -> Rust/Go).
- Refactoring sprawling React Class components (>1,000 lines) into modern hooks and Server Components.
- Decoupling legacy database queries from direct presentation templates.
The 4-Phase Strangler Migration Protocol
┌────────────────────────────────────────────────────────┐
│ 1. MAP & ISOLATE (AST Boundary Definition) │
│ Document I/O contracts in `migration_plan.md` │
└───────────────────────────┬────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 2. SHADOW HARNESS IMPLEMENTATION │
│ Run legacy and new code in parallel; log diffs │
└───────────────────────────┬────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 3. SIDE-BY-SIDE REFACTORING (Function-by-Function) │
│ Maintain old file while building typed modern clone │
└───────────────────────────┬────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 4. TRAFFIC CUTOVER & CLEANUP │
│ 100% parity verified ──► Deprecate legacy file │
└────────────────────────────────────────────────────────┘
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.
- 6d ago Changed e0fb61ca2352
- 7d ago Changed · +1 lines e5cd60b0bf38
- 10d ago Changed · +76 lines b39b4a45aa8f
- 19d ago Changed ed9a457f6dcb
- 24d ago Changed 20dfdb132f27
- 25d ago Changed d6c0910681e1
- 27d ago Changed · -6 lines · +31 tokens per session 8743989125ed
- 29d ago Changed · +6 lines · -31 tokens per session b66ac5ed2bed
- 1mo ago Changed 84a66f397974
- 1mo ago First seen · 72 lines · 42 tokens per session scan A 7a59b954ddd5
legacy-code-translator is a skill published in the GitHub repository roedyrustam/vibes-plug (115 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 2,047 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
code-reviewer
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
doubt-driven-development
Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high…
discount-review
Inspect the discount policy fixture with a repeatable review checklist and helper script.
code-review
Reviews code for bugs, security issues, and best practices.
triage
A process for reviewing issues and outside pull requests through category and status labels. An issue is a recorded problem or request, while a pull request is a proposed code change for review.
improve-codebase-architecture
A skill that scans a codebase for places where restructuring could make future changes and testing easier, then produces an HTML report for selected improvements.