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 (3,234 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 — 6 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 6 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 3,234 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.03234
Opus 5.5 $0.00010 $0.01294
Sonnet 5.5 $0.00005 $0.00647
Haiku 4.5 $0.00003 $0.00323

Measured 1mo ago against content hash 13520528ad20, 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 1mo 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 · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 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: Track every checklist item as PENDING, PROVEN with observed outcome evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap. Reading, delegation, tool failure, zero exit status, and self-reported success are not proof. 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, mode, and existing authorization. Complete authorized work before required external approval; ask only consequential unresolved choices. If nobody can answer, report the exact question and apply the skill's gap verdict without waiting or guessing. Cite any blocking instruction and unresolved boundary; never invent approval gates. Scale depth to material risk; preserve mandatory checks, dependencies, and safety order while choosing verification methods. Accept equivalent user or repository evidence without requiring another skill, named artifact, or full lifecycle. Preserve source requirement and decision IDs. Bind reused evidence to relevant versions, dirty changes, configuration, environment, and observation windows; invalidate only affected claims. Choose the primary workflow by outcome and explicit selection. Consume neighboring contracts and valid evidence without duplicating ownership or restarting audits. Split distinct deliverables by scope, not mandatory skill invocation. Broad independent assessments use audit workflows; focused domain reviews remain read-only. On continuation, reconcile task, authorization, state, and gaps. Return a compact continuation record for long work or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Trace applicable requirements to their authoritative owner, planned or implemented change, acceptance evidence and status in the existing artifact or response; no new registry is required. Explicit constraints remain binding until an authorized deviation; risk determines priority, not permission to ignore them. Investigate the causal flow beyond initially named files. Within implementation authority, include structural repair needed for the outcome; minimize total complexity and risk, not changed lines. This does not authorize unrelated cleanup or mutation during review. Before retrieval, define the evidence question; read selectively without skipping applicable instructions. Use tools for mechanical processing; summarize bounded results, errors, coverage, and source paths, keeping full output outside context. Before technical decisions, establish applicability and actual versions; verify version-dependent assumptions against official documentation or specifications. Search and read primary pages for current external recommendations; snippets are not evidence. Version-matched bundled documentation or valid prior evidence suffices. Record decision, version, source, and limitations. Mark unavailable evidence UNVERIFIED; block only essential dependent work. Prefer native mechanisms, justify added tools or abstractions with evidence, and reuse the existing rule owner.

Read the full file on GitHub · 127 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. 1mo ago Changed 13520528ad20
  2. 1mo ago Changed · +4 lines 7d3068f2ca18
  3. 1mo ago Changed · +6 lines 0448f05c2aba
  4. 1mo ago Changed 1ea674e30ce8
  5. 2mo ago Changed ab064c27803b
  6. 2mo 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 (598 stars, last pushed 19d ago), licensed MIT. It adds 25 tokens to every session and 3,234 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

ln-43-code-modernizer compared with skills from other repositories

ln-43-code-modernizer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ln-43-code-modernizerlevnikolaevich/claude-code-skillsSkill59819d agoMITA25Claude Code
babysitmichael-denyer/pstack-claudeSkill5.0ktodayMITA61Claude Code
make-pr-easy-to-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA57Claude Code
thermo-nuclear-code-quality-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA54Claude Code
no-commentsmichael-denyer/pstack-claudeSkill5.0ktodayMITA24Claude Code
thermo-nuclear-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA59Claude Code
thermosmichael-denyer/pstack-claudeSkill5.0ktodayMITA39Claude Code