oma:modernize

oma:modernize is a command for Claude Code from aws-samples/sample-oh-my-aidlcops. It costs 80 tokens per session (1,436 once invoked), scanned A, original, MIT-0.

A command that starts a six-stage process for updating an existing legacy workload on AWS. It coordinates workload assessment, strategy selection, target architecture, container packaging, and production cutover, with risk checks and an audit trail between stages.

In plain words
What is it for?
Use it to begin an AWS modernization workflow for an existing workload and coordinate the major planning, packaging, migration, risk-review, and record-keeping stages.
Why use it?
It gives a brownfield project—an existing system rather than a new one—a defined path from assessment to migration. The recorded checks make risks and decisions easier to follow.

Command for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ubuntu/workspace/oh-my-aidlcops/plugins/modernization/CLAUDE.md.

Part of the modernization plugin — 5 skills, 1 command, 1 agent shipped together

Good fit Use it to begin an AWS modernization workflow for an existing workload and coordinate the major planning, packaging, migration, risk-review, and record-keeping stages.

Compare 6 commands from other repositories ↓
About the project

sample-oh-my-aidlcops is a plugin marketplace for Claude Code and Kiro that packages practices for managing the AWS AI-Driven Development Lifecycle, including design correctness and agent safety. It is for teams using agents to develop and operate AWS systems with approval checkpoints. Its catalogue contains the marketplace's plugins, skills, agents, and commands.

aws-samples/sample-oh-my-aidlcops · 19 stars · on GitHub · aws-samples.github.io

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aws-samples/sample-oh-my-aidlcops
Claude Code
/plugin install modernization

Made for: Claude Code.

Or install modernization, the plugin that ships this one along with the rest of its 5 skills, 1 command, 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 oma:modernize

README.md
[![agentmods](https://agentmods.dev/badge/commands/aws-samples/sample-oh-my-aidlcops/oma-modernize.svg)](https://agentmods.dev/commands/aws-samples/sample-oh-my-aidlcops/oma-modernize)
Your own site
<a href="https://agentmods.dev/commands/aws-samples/sample-oh-my-aidlcops/oma-modernize"><img src="https://agentmods.dev/badge/commands/aws-samples/sample-oh-my-aidlcops/oma-modernize.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,436 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 unknown 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.00080 $0.01436
Opus 5 $0.00040 $0.00718
Sonnet 5 $0.00016 $0.00287
Haiku 4.5 $0.00008 $0.00144

Measured 8d ago against content hash 11dcb71cadb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

oma:modernize 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 8d 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/modernization/commands/oma-modernize.md · 94 lines

The source is not reproduced here

Licensed MIT-0

The repository is licensed MIT-0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 8d ago First seen · 94 lines · 80 tokens per session scan A 11dcb71cadb1

Subscribe to this mod's changes

oma:modernize is a command published in the GitHub repository aws-samples/sample-oh-my-aidlcops (19 stars, last pushed today), licensed MIT-0. It adds 80 tokens to every session and 1,436 once invoked, about $0.0004 per session on Opus 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.