ln-43-code-modernizer

ln-43-code-modernizer is a skill for Claude Code from levnikolaevich/claude-code-skills. It costs 25 tokens per session (2,893 once invoked), scanned A, original, MIT.

A method for updating a bounded part of a codebase to reduce maintenance work, workflow friction, risk, duplicated dependencies, or delivered size.

In plain words
What is it for?
It helps plan and verify focused design changes, isolate migrations, measure their value, and revert changes that do not provide a net benefit.
Why use it?
It distinguishes a justified modernization from routine upgrades or performance tuning, and requires the existing behavior to be preserved.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the implementation-suite plugin — 5 skills shipped together

Good fit It helps plan and verify focused design changes, isolate migrations, measure their value, and revert changes that do not provide a net benefit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer
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 levnikolaevich/claude-code-skills --skill ln-43-code-modernizer
Clone the repo
git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills

Made for: Claude Code.

Or install implementation-suite, the plugin that ships this one along with the rest of its 5 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 ln-43-code-modernizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer/github.svg)](https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer)
Your own site
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer/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 ln-43-code-modernizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-43-code-modernizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,893 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.
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.00025 $0.02893
Opus 5.5 $0.00010 $0.01157
Sonnet 5.5 $0.00005 $0.00579
Haiku 4.5 $0.00003 $0.00289

Measured 7d ago against content hash 1ea674e30ce8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ln-43-code-modernizer 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 7d 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/implementation-suite/skills/ln-43-code-modernizer/SKILL.md · 117 lines

How it starts

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

Code Modernizer

Goal: Modernize a bounded capability only when the new design measurably reduces human workflow friction, maintenance, risk, dependency duplication, or delivered artifact cost. Preserve behavior, isolate migrations, and revert changes that do not create net value.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

Need Preferred tool Use it when Fallback
Current mechanism and consumers Native file search plus language server or host-native code intelligence Mapping contracts, callers, configuration, data, lifecycle, and tests Narrow import, symbol, route, and configuration search with direct reads
Existing platform capabilities Manifests, lockfiles, runtime APIs, and current official documentation Avoiding new dependencies or custom code for an already available feature Repository examples and source inspection; mark capability UNVERIFIED if current docs are unavailable
External replacement candidates Official package registries, source repositories, documentation, releases, advisories, and license data Comparing maintained software with custom implementation Primary-source web research; do not rely on popularity lists alone
Baseline and value Build output, bundle analysis, code inventory, benchmark, defects, or maintenance evidence Defining what modernization must improve Reproducible static counts with documented scope and limitations
Safe migration Git isolation, focused edits, native package manager, and repository generation commands Replacing one bounded capability and its consumers Stop if user changes or generated state cannot be protected
Verification Repository-defined build, lint, type, test, smoke, packaging, and runtime checks Before migration and after every retained step Choose the smallest portfolio action when existing evidence cannot prove a material contract
Delivered artifact analysis Existing bundle analyzer, size report, startup profile, or dependency report Bundle size, load path, or runtime cost is part of the goal Build artifact comparison with reproducible file and compression rules

Read the full file on GitHub · 117 lines

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. 7d ago Changed 1ea674e30ce8
  2. 23d ago Changed ab064c27803b
  3. 27d ago First seen · 117 lines · 25 tokens per session scan A f8272fd7dbd9

Subscribe to this mod's changes

ln-43-code-modernizer is a skill published in the GitHub repository levnikolaevich/claude-code-skills (573 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 2,893 once invoked, about $0.0001 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-13.

Related

Other skills, from other repositories

triage-report

Drain the .review/ report queue. Resolves un-triaged scan/audit reports (producer-agnostic — check-docs-consistency and any other scanner), dispatches the triage-report subagent (Sonnet) one report at a time for per-finding dispositions (promote / patch / dup / needs-investigation / dismiss), then the gateway absorbs…

RockyHong/super-bootstrap · 151 tokens

dev-rc

The last gate before merge — QA, security audit, review and changelog, with objective pass conditions.

ToruAI/toru-claude-agents · 25 tokens

blast-radius

Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', reviewing a small diff you don't trust, or a brief that asserts something about existing code…

michael-denyer/pstack-claude · 87 tokens

no-comments

Spawn the comment-sicko subagent, fix accepted findings, and offer encodings for claimed constraints.

michael-denyer/pstack-claude · 24 tokens

huggingface-vision-trainer

Train object-detection, image-classification, or SAM segmentation models on Hugging Face Jobs. Use for vision fine-tuning and evaluation; use huggingface-llm-trainer for language models.

waybarrios/opencode-power-pack · 48 tokens

huggingface-paper-publisher

Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.

waybarrios/opencode-power-pack · 42 tokens