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.
npx agentmods add commands/acheron-ai/angular-upgrade-kit/upgrade-mdcgit clone --depth 1 https://github.com/Acheron-AI/angular-upgrade-kitWrote 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.
[](https://agentmods.dev/commands/acheron-ai/angular-upgrade-kit/upgrade-mdc)<a href="https://agentmods.dev/commands/acheron-ai/angular-upgrade-kit/upgrade-mdc"><img src="https://agentmods.dev/badge/commands/acheron-ai/angular-upgrade-kit/upgrade-mdc.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.00803 |
| Opus 5 | $0.00008 | $0.00402 |
| Sonnet 5 | $0.00003 | $0.00161 |
| Haiku 4.5 | $0.00002 | $0.00080 |
Grade A, and why
upgrade-mdc 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Execute the Angular 15 Material MDC upgrade using Agent Teams with 4 parallel workers.
Read package.json to get the project name and verify current Angular version is 14.
If not v14, tell user to run /upgrade-to for missing versions first.
Read angular.json to detect all project entries, libraries, and their paths.
Phase 1: Core Upgrade (main session — sequential)
- If monorepo: update all library peerDependencies to ^15.0.0
- npx ng update @angular/core@15 @angular/cli@15 --allow-dirty --force
- npx ng update @angular/cdk@15 @angular/material@15 --allow-dirty --force
- ng generate @angular/material:mdc-migration (accept all defaults)
- Do NOT build yet.
Phase 2: Parallel Fixes — Agent Team "mdc-upgrade"
Spawn 4 teammates. All work on DIFFERENT file types so no conflicts.
Teammate: @sass-rewriter
"Rewrite Angular Material Sass theming for v15.
Read the material-mdc skill file for exact new syntax.
Scan for all *.scss files containing @import '@angular/material' or @import '~@angular/material'.
For each found file:
- Detect the existing primary/accent palette colors from the current theme definition
- Rewrite from @import to @use syntax, preserving the detected colors
- If palette cannot be detected, use Material's default indigo/pink palette and add a TODO comment Keep all custom styles below the theme include. When done, mark your task complete and message @main."
Teammate: @css-migrator "Migrate all .mat-* CSS CLASS selectors to .mat-mdc-* in SCSS files. Read the material-mdc skill file for the full mapping table. ONLY change CLASS selectors (.mat-X), NOT element selectors (mat-X). Scan all .scss files in src/ and any library source directories found in angular.json. Flag ambiguous cases in upgrade/reports/css-manual-review.md. When done, mark task complete and message @main with count of changes."
Teammate: @flex-remover "Remove all fxLayout, fxFlex, fxLayoutAlign, fxLayoutGap attributes from HTML templates. Replace with CSS flexbox equivalents (see the material-mdc skill file for mapping). Scan ALL .html files in src/ and all library source directories. When done, mark task complete and message @main with count."
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.
- 4d ago First seen · 71 lines · 16 tokens per session scan A 0074febe4f9a
upgrade-mdc is a command published in the GitHub repository Acheron-AI/angular-upgrade-kit (1 stars, last pushed 22d ago), licensed MIT. It adds 16 tokens to every session and 803 once invoked, about $0.0001 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-31.
Other commands, from other repositories
create-workflow
Scaffold a custom workflow — generates a mode skill and shortcut command.
update-workflow
Regenerate an existing custom workflow's shortcut command wiring from the current swarm template.
create
Scaffold a new plugin with directory structure, manifests, and marketplace registration.
bugfix
TDD-driven bugfix workflow: tester writes failing test (RED) → developer fixes (GREEN) → developer refactors (REFACTOR) → reviewer validates. Accepts issue number, description, or both. Auto-creates PR unless --no-pr flag is passed.
develop
Implement skill development issues with TDD-governed workflow.
refine
Run recursive refinement on the current branch and PR.