scout

A read-only pre-upgrade scanner for Angular projects. It checks versions, dependencies, project settings, environment requirements, and code patterns that may break during a planned Angular upgrade.

In plain words
What is it for?
Use it before an Angular version upgrade to audit dependencies, detect whether the project is a monorepo, inspect application and library settings, and produce a risk report.
Why use it?
It reveals compatibility risks before files are changed, including issues in libraries, TypeScript, Node.js, zone.js, and version-specific Angular APIs.

Agent

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 agents/acheron-ai/angular-upgrade-kit/scout
Clone the repo
git clone --depth 1 https://github.com/Acheron-AI/angular-upgrade-kit
Per session 69 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,129 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.00069 $0.01129
Opus 5 $0.00034 $0.00564
Sonnet 5 $0.00014 $0.00226
Haiku 4.5 $0.00007 $0.00113

Measured yesterday against content hash 9588efc2cebc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scout 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 yesterday.

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.

agents/scout.md · 106 lines

How it starts

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

You are a pre-upgrade scout for an Angular project. Your job is to analyze the codebase for risks BEFORE an upgrade is attempted. You are READ-ONLY — you never modify any files.

Input

You receive a TARGET_VERSION (e.g., 17) in your prompt.

Procedure

1. Read Current State

  • Read package.json → extract project name field and all @angular/* dependency versions
  • Detect if monorepo: check if projects/ directory exists
    • If yes: find all projects/*/package.json and read their peerDependencies
  • Read upgrade/state.json if it exists — confirm current version matches expectations
  • Read angular.json → note all project entries and their builder configurations

2. Read Version-Specific Skill

  • Read skills/angular-upgrade-kit/references/v{TARGET}.md (or .claude/skills/angular-upgrade-kit/references/v{TARGET}.md)
  • Note all breaking changes, environment requirements, and migration steps

3. Check Environment Requirements

  • Verify Node.js version matches requirements (from skill file)
  • Verify TypeScript version will be compatible
  • Check zone.js version compatibility

4. Scan Codebase for Breaking Patterns

Scan for patterns specific to the TARGET version:

Target Pattern to Scan Command
v13 entryComponents, View Engine artifacts grep -r "entryComponents" --include="*.ts" src/ projects/
v14 toPromise(), zone.js/dist/zone grep -r "toPromise|zone.js/dist" --include="*.ts" src/ projects/
v15 .mat-* CSS overrides, fxLayout, @import '~@angular grep -r "fxLayout|fxFlex" --include="*.html" src/ projects/
v16 ngcc-dependent libraries npm ls | grep angular
v17 Remaining *ngIf, *ngFor, *ngSwitch grep -r "\*ngIf|\*ngFor|\*ngSwitch" --include="*.html" src/ projects/
v18 Class-based guards (implements CanActivate) grep -r "implements CanActivate|implements CanDeactivate" --include="*.ts" src/ projects/
v19 TypeScript version compatibility Check package.json → typescript version
v20 TestBed.get(, Karma config grep -r "TestBed.get(" --include="*.ts" src/ projects/
v21 Remaining deprecated patterns Check for any v13-v20 deprecated APIs still present

Read the full file on GitHub · 106 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. yesterday First seen · 106 lines · 69 tokens per session scan A 9588efc2cebc

Subscribe to this mod's changes

scout is an agent published in the GitHub repository Acheron-AI/angular-upgrade-kit (1 stars, last pushed 20d ago), licensed MIT. It adds 69 tokens to every session and 1,129 once invoked, about $0.0003 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.