/pm-workspace:model-upgrade-auditfrom pm-workspace
Audits agents, skills, and prompts for workarounds that newer models handle natively. Proposes token-saving simplifications with evidence. Run when upgrading models.
Ships in pm-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyzes agents, skills, and prompts for workarounds that newer models handle natively. Proposes token-saving simplifications backed by evidence.
| Param | Required | Default | Description |
|---|---|---|---|
| scope | No | full | full, agents, skills, rules, or comma-separated list |
| model_new | No | (auto-detect) | Model to audit against |
| changed_since | No | - | Only audit components changed since Era N |
| Pattern | Signal | Severity |
|---|---|---|
| Emphatic repetition | Same instruction >= 2x | Medium |
| Negative overload | >3 "don't/never/avoid" per prompt | Low |
| Compensatory few-shot | Basic capability examples | Medium |
| Defensive parsing | Regex fallback for bad output | High |
| Coded retries | Retry loops for model failure | High |
| Bloated prompt | >2000 tokens procedural | Medium |
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)
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
APPLY (risk: low) -> auto-apply with backupREVIEW (risk: medium) -> Draft PR for human reviewSKIP (risk: high) -> log for manual review/agent-efficiency for token trackingWhat SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: dependencies: Invalid input: expected array, received object, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
139 skills in this plugin
/adversarial-securityUsar cuando se necesita auditar la seguridad de un proyecto con pipeline Red Team / Blue Team./agent-code-mapUsar cuando un agente necesita conocer la arquitectura del proyecto sin leer ficheros completos./agent-file-mapUsar cuando se trabaja con ficheros externos al workspace que los agentes deben localizar./agent-messagingUsar cuando un agente debe enviar un mensaje a otro agente con roles y receipts, sin pasar por el usuario. Triggers: mensaje a otro agente, agent-message, notify agent, inbox./agent-runs-boardUsar cuando se lanza, supervisa o consulta un run autónomo (overnight-sprint, code-improvement-loop, tech-research-agent, SDD) y se necesita el ledger operativo con estado derivado. Triggers: 'registra el run', 'board de runs', 'estado del run', 'savia-runs', '¿en qué columna está mi run?', 'ci_failed', 'needs_input', 'merge_conflict'./ai-labor-impactUsar cuando se analiza el impacto de la IA en el trabajo del equipo o la organización.Other plugins' skills for the same job