Repository navigation
Description
Estimated saving: about 2,000-2,500 AIC/week. These nine workflows run on Claude Code's default model, claude-sonnet-5; two also pin it. Route them on Copilot the same way as Sergo, Static Analysis Report and Instructions Janitor (#74190-#74192).
| Workflow | Output | Mode | Agent runs/wk | AIC/run now | Est. saving/wk |
|---|---|---|---|---|---|
| daily-vulnhunter-scan | issue (security audit) | balanced |
7 | ~157 | 520-725 |
| semantic-function-refactor | issue | economy |
7 | ~51 | 290-330 |
| lockfile-stats | discussion | economy |
7 | ~51 | 260-320 |
| step-name-alignment | issue | economy |
7 | ~46 | 235-290 |
| daily-astrostylelite-markdown-spellcheck | PR (spelling fixes) | economy |
6.5 | ~51 | 240-295 |
| daily-safeoutputs-git-simulator | issues, draft test PRs | economy |
7 | ~38 | 190-235 |
| github-mcp-tools-report | PR (tools reference) | economy |
1 | ~135 | 100-125 |
| developer-docs-consolidator | PR (developer.instructions.md) |
balanced |
1 | ~179 | 80-120 |
| daily-elixir-credo-snippet-audit | PR (Credo fixes) | economy |
5 | ~23 | 85-105 |
Why
- Sonnet 5 is the old default. Routing picks a newer Claude model for each run (Haiku 5.5, Sonnet 5.5 or Opus 5.5), and the Claude workflows already routed in gh-aw cost less per run. On
economy, Claude Code User Documentation Review costs 30-50 AIC per run (about 131 before) and Safe Output Health 30-83 (about 381). Onbalanced, Sergo, Instructions Janitor and Static Analysis Report cost 48-202 (170-377 before). economyfor seven. They file issues or discussions, or open PRs whose edits come from a tool (spellcheck, Credo, the MCP server's own tool list) or are draft test fixtures (Git Simulator). For this work, economy picks Haiku 5.5 or Sonnet 5.5.balancedfor two. VulnHunter is a security audit, where a missed finding fails silently. Developer Docs Consolidator rewritesdeveloper.instructions.md, which other agents read, like Instructions Janitor. For this work, balanced picks Opus 5.5 atlowormedium.- No model restrictions. All nine work within one area. Cross-system labels would pick Opus
highorxhigh, which costs more than Sonnet 5 (Copilot Session Insights: 161-381 AIC per run against about 164 before), so fleet-wide analyses such as Example Workflow Analyzer aren't in this issue. - Detection gets cheaper for two. VulnHunter and Semantic Function Refactor pin
claude-sonnet-5, so threat detection inherits it (about 17-18 AIC per run); without the pin it drops to about 1.
Change
In each workflow, set the engine to:
engine:
id: claude
model-provider: github
model-routing:
goal: cost
mode: economy # balanced for daily-vulnhunter-scan and developer-docs-consolidatorand add copilot-requests: write to permissions. Where the workflow has engine: claude, replace that line; where it has an engine: block, add model-provider and model-routing and keep the rest. Delete model: claude-sonnet-5 from daily-vulnhunter-scan.md and semantic-function-refactor.md.
Inference moves from the Anthropic key to Copilot (github.token), as for Sergo (#74191). None of the nine uses Anthropic credentials anywhere else. Keep the prompts, steps, sub-agents (small/large aliases), experiments and safe outputs.
Compile only these nine workflows. On main (f837ed0500) they compile with no new warnings: routing is enabled, and Claude Code uses github.token instead of ANTHROPIC_API_KEY.
Check
- Audit the first routed runs with
gh aw audit <run>against the AIC/run column. - An Opus
highorxhighpick means the run was labelled cross-system. If a workflow keeps getting them and costs more than before, restore its previous engine settings. - Compare PR acceptance (spellcheck, Credo, MCP tools report, docs consolidator) and VulnHunter's findings with recent runs.
Estimates use gh-aw usage from 19 October to 1 November and AWF v0.29.6's routing tables; the routed cost per run is estimated.
Activity