upgrade-to

upgrade-to is a command for coding agents from Acheron-AI/angular-upgrade-kit. It costs 15 tokens per session (873 once invoked), scanned A, original, MIT.

A command that guides a project through one Angular version upgrade using several cooperating coding agents. Angular is a framework for building web applications, and a monorepo is one repository containing multiple apps or libraries.

In plain words
What is it for?
Use it to upgrade to the next Angular version, scan for known breaking changes, update code across apps and libraries, build the project, and run tests.
Why use it?
Angular upgrades can break dependencies, application code, libraries, or tests; the command checks the project structure and coordinates work to find and fix those problems.

Command

Part of the angular-upgrade-kit plugin — 3 skills, 8 commands, 8 agents shipped together

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.

agentmods
npx agentmods add commands/acheron-ai/angular-upgrade-kit/upgrade-to
Clone the repo
git clone --depth 1 https://github.com/Acheron-AI/angular-upgrade-kit

Or install angular-upgrade-kit, the plugin that ships this one along with the rest of its 3 skills, 8 commands, 8 agents.

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 upgrade-to

README.md
[![agentmods](https://agentmods.dev/badge/commands/acheron-ai/angular-upgrade-kit/upgrade-to.svg)](https://agentmods.dev/commands/acheron-ai/angular-upgrade-kit/upgrade-to)
Your own site
<a href="https://agentmods.dev/commands/acheron-ai/angular-upgrade-kit/upgrade-to"><img src="https://agentmods.dev/badge/commands/acheron-ai/angular-upgrade-kit/upgrade-to.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00873
Opus 5 $0.00008 $0.00436
Sonnet 5 $0.00003 $0.00175
Haiku 4.5 $0.00002 $0.00087

Measured 4d ago against content hash c4d00d112bc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upgrade-to 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.

commands/upgrade-to.md · 73 lines

How it starts

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

Orchestrate a full Angular version upgrade to v$ARGUMENTS using Agent Teams.

Read package.json to get the project name and current Angular version. Read upgrade/state.json to confirm current version. If current is not exactly one below $ARGUMENTS, STOP and tell which version to run first.

If $ARGUMENTS is 15: STOP. Tell user "v15 is Material MDC. Run /upgrade-mdc instead."

Detect Project Structure

  • Read angular.json → identify all projects (libraries and apps)
  • Check if projects/ directory exists (monorepo detection)
  • Find all library projects (projectType: "library") and note their names

Agent Team: "angular-upgrade-v$ARGUMENTS"

Spawn these teammates. They will appear in tmux split panes so the user can watch all agents working simultaneously.

Teammate: @scout "You are the pre-upgrade scout targeting Angular $ARGUMENTS. Read the version reference skill file for v$ARGUMENTS breaking changes. Read package.json for all dependencies. If this is a monorepo, also read all projects/*/package.json. Grep for patterns that break at v$ARGUMENTS (check the skill for what to scan). Write findings to upgrade/reports/scout-v$ARGUMENTS.md with verdict CLEAR or BLOCKED. Message @upgrader with your verdict and summary when done."

Teammate: @upgrader "You are the upgrade executor. Wait for @scout to send CLEAR. If BLOCKED, message @main with blockers and stop. When CLEAR:

  1. If monorepo: update all projects/*/package.json peerDependencies to ^$ARGUMENTS.0.0
  2. npx ng update @angular/core@$ARGUMENTS @angular/cli@$ARGUMENTS --allow-dirty --force
  3. npx ng update @angular/cdk@$ARGUMENTS @angular/material@$ARGUMENTS --allow-dirty --force (if Material is used)
  4. Update ng-packagr if in devDependencies
  5. Read the version reference skill file — apply ALL fixes listed
  6. Message @builder with UPGRADE_APPLIED when done."

Teammate: @builder "You are the build-fix-test agent. Wait for @upgrader to send UPGRADE_APPLIED. Then:

  1. Build all libraries first (detected from angular.json), then app
  2. If fails: read errors, apply fixes (consult version reference skills), rebuild. Up to 3 cycles.
  3. Build application with --configuration production
  4. If fails: analyze, fix, rebuild. Up to 3 cycles.
  5. If builds pass: ng test --watch=false --browsers=ChromeHeadless
  6. Write build report to upgrade/reports/build-v$ARGUMENTS.md
  7. Write test report to upgrade/reports/tests-v$ARGUMENTS.md
  8. Message @main with BUILD_PASSED or BUILD_FAILED, test summary"

Read the full file on GitHub · 73 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. 4d ago First seen · 73 lines · 15 tokens per session scan A c4d00d112bc2

Subscribe to this mod's changes

upgrade-to is a command published in the GitHub repository Acheron-AI/angular-upgrade-kit (1 stars, last pushed 22d ago), licensed MIT. It adds 15 tokens to every session and 873 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.