---
skill_id: legacy-modernization-agent
evaluation: free
price_usd_full: 8.99
challenge: https://lvlltd.com/api/pay?skill=legacy-modernization-agent
outline: https://lvlltd.com/skills/legacy-modernization-agent/outline.json
standards: x402, ERC-7857
---

# Free sample — Legacy Modernization Agent

**Skill ID:** `legacy-modernization-agent`  
**Full unlock:** $8.99 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=legacy-modernization-agent  
**Outline JSON:** https://lvlltd.com/skills/legacy-modernization-agent/outline.json

## Summary

Legacy modernization without hero rewrites: characterize behavior, strangler slices, feature flags, and rollback so each step is production-safe.

## When to use

- Monolith modernization
- Fear of rewrite
- Gradual framework migration

## Decision criteria (buy vs skip)

- You need this when: Monolith modernization
- You get capability: Map seams
- Budget fits: full unlock is $8.99 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. Map seams
2. Characterization tests
3. Strangler slice plan
4. Flags and dual-run
5. Rollback
6. Cutover criteria

## Capabilities (preview)

- Map seams
- Characterization tests
- Strangler slice plan
- Flags and dual-run
- Rollback
- Cutover criteria

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/legacy-modernization-agent/outline.json
GET  https://lvlltd.com/api/pay?skill=legacy-modernization-agent   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"legacy-modernization-agent"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# Legacy Modernization Agent

**Price:** $8.99 / unlock
**Category:** Coding

## Summary

Legacy modernization without hero rewrites: characterize behavior, strangler slices, feature flags, and rollback so each step is production-safe.

---

---
name: legacy-modernization-agent
description: Modernize legacy codebases with characterization tests strangler slices and migration rollback plans. Use when legacy modernization agent, strangler fig migration, modernize monolith, legacy rewrite plan, or /legacy-modernization-agent.
---

# Legacy Modernization Agent

Legacy modernization without hero rewrites: characterize behavior, strangler slices, feature flags, and rollback so each step is production-safe.

## Quick Reference
| Item | Value |
|------|-------|
| Category | Coding |
| Unlock | $8.99 USDC (x402 Base) |
| Triggers | legacy modernization, strangler fig, modernize monolith, /legacy-modernization-agent |

## When to use
- Monolith modernization
- Fear of rewrite
- Gradual framework migration

## Core workflow
1. Inventory risk modules
2. Lock behavior with tests
3. Pick smallest slice
4. Implement dual path
5. Verify and expand

## Procedures (non-obvious)
Never mix feature work and pure migration in one PR when avoidable.
Prefer branch-by-abstraction. Each step must be deployable alone.

## Edge cases
- No tests at all write characterization first
- Shared mutable globals introduce facades

## Failure modes
- Big-bang rewrite
- Cutover without rollback drill

## Verification
- Tests green each slice
- Rollback drill documented

## Artifact outputs
- `modernization-plan.md`
- `slice-graph.json`
- `rollback.md`

## Related skills
- code-review-refactor-engine
- spec-driven-development
- ci-cd-pipeline-composer

## Super Alignment Contract
- Scalable oversight method: process supervision + human+AI critique before high-blast actions
- Corrigibility guarantees: shutdown, steerability, non-deception; operator may abort mid-run
- Value model: Partnership Agreement + 5 Behavioral Protocols
- Drift detection: flag invented evidence, skipped verification, or revenue-over-truth optimization
- Red-team surface: prompt injection via retrieved content, tool-result poiso

…(remainder sealed after x402 unlock)…

