Model Upgrade Audit

SkillAI & models

Use when a new model is available and you want to detect prompt debt in the workspace.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Model Upgrade Audit skill

What this skill tells your AI

The instructions your AI receives, as published by gonzalezpazmonica/savia in .claude/skills/model-upgrade-audit/SKILL.md and read by ahel’s review.

Analyzes agents, skills, and prompts for workarounds that newer models handle natively. Proposes token-saving simplifications backed by evidence.

Decision Checklist

  1. Is a new model available in config? If NO -> abort, nothing to audit.
  2. Scope defined? (full | list | changed-since) If NO -> default to full.
  3. Are evals available for target components? If NO -> warn, audit without comparison.
  4. Is this a major model jump (e.g., Sonnet -> Opus)? If YES -> recommend full scope.
  5. Has previous audit been run? If YES -> show delta since last audit.

Parameters

ParamRequiredDefaultDescription
scopeNofullfull, agents, skills, rules, or comma-separated list
model_newNo(auto-detect)Model to audit against
changed_sinceNo-Only audit components changed since Era N

Workaround Patterns

PatternSignalSeverity
Emphatic repetitionSame instruction >= 2xMedium
Negative overload>3 "don't/never/avoid" per promptLow
Compensatory few-shotBasic capability examplesMedium
Defensive parsingRegex fallback for bad outputHigh
Coded retriesRetry loops for model failureHigh
Bloated prompt>2000 tokens proceduralMedium

Execution Flow

1. Inventory: glob agents/*.md + skills/*/SKILL.md + rules/domain/*.md
2. For each component:
   a. Count tokens (wc -w * 1.3)
   b. Scan for workaround patterns (regex)
   c. Classify: simplifiable | no_change | review_needed
3. For simplifiable components:
   a. Propose simplified version
   b. Estimate token reduction
4. Generate YAML report -> output/model-audit/
5. Summary in chat (output-first pattern)

Output

Report: output/model-audit/{date}-audit.yaml

Summary:

Model Audit: {model_old} -> {model_new}
Components: {N} audited | {N} simplifiable | {N} no change
Token savings: ~{N} tokens/session ({pct}% reduction)
Risk: {N} low | {N} medium | {N} high

Application Flow

  • APPLY (risk: low) -> auto-apply with backup
  • REVIEW (risk: medium) -> Draft PR for human review
  • SKIP (risk: high) -> log for manual review

Integration

  • Consumes feasibility-probe historical data for comparison
  • Feeds into /agent-efficiency for token tracking
  • Triggers after model config change in pm-config.md

Signals

GitHub stars
50
Forks
12
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
model-upgrade-audit-gonzalezpazmonica
Source
github.com/gonzalezpazmonica/savia