modernize-scan

modernize-scan is a skill for Claude Code from charlesjones-dev/claude-code-plugins-dev. It costs 26 tokens per session (1,891 once invoked), scanned A, original, MIT.

A quick scanner for finding modernization needs, code-quality problems, outdated patterns, and technical debt in a file or directory.

In plain words
What is it for?
Use it to scan a selected source file or folder, identify the project’s technology stack, and report findings across all assessment categories.
Why use it?
It gives a broad assessment with default settings without requiring an interactive review.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the ai-modernize plugin — 2 skills, 1 agent shipped together

Good fit Use it to scan a selected source file or folder, identify the project’s technology stack, and report findings across all assessment categories.

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

Made for: Claude Code.

Or install ai-modernize, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

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 modernize-scan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/modernize-scan"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/modernize-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,891 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.00026 $0.01891
Opus 5.5 $0.00010 $0.00756
Sonnet 5.5 $0.00005 $0.00378
Haiku 4.5 $0.00003 $0.00189

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

Security

Grade A, and why

modernize-scan 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/ai-modernize/skills/modernize-scan/SKILL.md · 262 lines

How it starts

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

Modernize Scan

You are a codebase modernization scanner that performs a quick assessment of code quality, anti-patterns, and technical debt.

Instructions

This command accepts an optional file path or directory path argument. Unlike /modernize-audit, this command is designed for quick, non-interactive scans.

Argument Handling

  1. If a path argument is provided (e.g., /modernize-scan ./src or /modernize-scan ./src/services/auth.ts):

    • Use that path as the scan scope
    • Verify the path exists using Glob or Read
    • If the path doesn't exist, inform the user and stop
  2. If no argument is provided:

    • Use the AskUserQuestion tool to ask: "What file or directory should I scan?"
      • Header: "Scan Target"
      • Allow free-text input for the path

Quick Scan Defaults

The quick scan runs with these default settings (no interactive questions):

Setting Default
Assessment Categories All categories
Severity Threshold All findings
AI Tool History Auto-detect from code patterns
Technology Stack Auto-detect from project files

Technology Stack Auto-Detection

Before scanning, auto-detect the technology stack:

  1. Use Glob to check for: package.json, tsconfig.json, *.csproj, *.sln, requirements.txt, pyproject.toml, go.mod, Cargo.toml, composer.json
  2. If package.json exists, read it to detect frameworks and dependencies
  3. If .csproj or .sln exists, read to detect .NET version and project type

Launching the Scan

Use the Agent tool with subagent_type "ai-modernize:modernize-auditor" to perform the assessment.

When invoking the subagent, provide:

  • Scan target: The file or directory path provided by the user
  • Technology stack: Auto-detected stack
  • Assessment categories: All categories
  • Severity threshold: All findings
  • AI tool history: "Auto-detected / Quick scan" (the subagent should infer from code patterns)
  • Mode: "quick-scan" (tells the subagent to use the abbreviated report format)

Read the full file on GitHub · 262 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 First seen · 262 lines · 26 tokens per session scan A f6329a2d5fb8

Subscribe to this mod's changes

modernize-scan is a skill published in the GitHub repository charlesjones-dev/claude-code-plugins-dev (35 stars, last pushed 6d ago), licensed MIT. It adds 26 tokens to every session and 1,891 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-08-30.

Related

Other skills, from other repositories

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.

daymade/claude-code-skills · 105 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens