modernize-assess

modernize-assess is a command for Claude Code from Sivan757/dsh-agent-plugins-market. It costs 18 tokens per session (2,866 once invoked), scanned A, a copy of modernize-assess, MIT.

An assessment of one or more older software systems that records their structure, complexity, technical debt, and relative size. Technical debt is the future maintenance cost created by difficult or outdated code and architecture.

In plain words
What is it for?
Use it to inventory a legacy system or compare several systems, then create a portfolio heat map for planning a modernization program.
Why use it?
It gives teams evidence for deciding which systems to modernize first and how large the effort may be.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; positional $N argument.

Good fit Use it to inventory a legacy system or compare several systems, then create a portfolio heat map for planning a modernization program.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sivan757/dsh-agent-plugins-market/modernize-assess
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.

Clone the repo
git clone --depth 1 https://github.com/Sivan757/dsh-agent-plugins-market

Made for: Claude Code.

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-assess

README.md
[![agentmods](https://agentmods.dev/badge/commands/sivan757/dsh-agent-plugins-market/modernize-assess/github.svg)](https://agentmods.dev/commands/sivan757/dsh-agent-plugins-market/modernize-assess)
Your own site
<a href="https://agentmods.dev/commands/sivan757/dsh-agent-plugins-market/modernize-assess"><img src="https://agentmods.dev/badge/commands/sivan757/dsh-agent-plugins-market/modernize-assess/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-assess

Your own site · 80×15
<a href="https://agentmods.dev/commands/sivan757/dsh-agent-plugins-market/modernize-assess"><img src="https://agentmods.dev/badge/commands/sivan757/dsh-agent-plugins-market/modernize-assess.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,866 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 100% copy Near-identical to another mod 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.00018 $0.02866
Opus 5.5 $0.00007 $0.01146
Sonnet 5.5 $0.00004 $0.00573
Haiku 4.5 $0.00002 $0.00287

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

Security

Grade A, and why

modernize-assess 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 today.

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.

Origin

This is a copy

100% identical to modernize-assess — 306 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/engineering/com.deepseek.harness/commands/modernize-assess.md · 239 lines

How it starts

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

Mode select. If $ARGUMENTS starts with --portfolio, run Portfolio mode against the directory that follows. Otherwise run Single-system mode against the system dir. Parse flags positionally-independently: --show-secrets may appear before or after the system dir — the system dir is the first non-flag token.


Portfolio mode (--portfolio <parent-dir>)

Sweep every immediate subdirectory of the parent dir and produce a heat-map a steering committee can use to sequence a multi-year program.

Preferred — workflow orchestration. If the workflow tool is available in this session (this command invocation is your authorization), enumerate the immediate subdirectories first — the workflow script has no filesystem access — then launch one survey agent per system, all independent:

ls -d <parent-dir>/*/ | xargs -n1 basename   # bare subdir names, not paths

Read ${PLUGIN_ROOT}/workflows/portfolio-assess.meta.json and ${PLUGIN_ROOT}/workflows/portfolio-assess.js, then pass the meta file's contents as meta and the script file's contents (the JavaScript body, with no export const meta line) as script:

workflow({
  meta: <contents of ${PLUGIN_ROOT}/workflows/portfolio-assess.meta.json>,
  script: <contents of ${PLUGIN_ROOT}/workflows/portfolio-assess.js>,
  args: { parentDir: "<parent-dir>", systems: ["<sub1>", "<sub2>", ...] }
})

This is one agent per system (a 30-system estate = 30 agents — tell the user the count before launching; the runtime queues them against its concurrency cap). Each agent returns a structured metrics row and the workflow computes COCOMO-II uniformly in code, so every row uses the identical formula. On return, render rows (plus an "unmeasured" marker row for anything in unmeasured) into the Step P4 heat-map, add the sequencing recommendation yourself, and skip Steps P1–P3. For very long sweeps, note the workflow's runId — if the session dies mid-sweep, relaunch with resumeFromRunId and completed systems return instantly from cache.

Fallback (no workflow tool): run Steps P1–P3 per system yourself, then P4.

Read the full file on GitHub · 239 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. today First seen · 239 lines · 18 tokens per session scan A f1970773a79b

Subscribe to this mod's changes

modernize-assess is a command published in the GitHub repository Sivan757/dsh-agent-plugins-market (13 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 2,866 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to modernize-assess, differing in 306 lines, and is treated as a copy.