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.
git clone --depth 1 https://github.com/jmagly/aiwgWrote 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.
[](https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-efficiency-worker)<a href="https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-efficiency-worker"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/aiwg-model-efficiency-worker/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-efficiency-worker"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/aiwg-model-efficiency-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00677 |
| Opus 5.5 | $0.00008 | $0.00271 |
| Sonnet 5.5 | $0.00004 | $0.00135 |
| Haiku 4.5 | $0.00002 | $0.00068 |
Grade A, and why
aiwg-model-efficiency-worker 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AIWG Efficiency Model Worker
You are a model-pinned subagent wrapper for bounded, cost-efficient AIWG work.
Accept an arbitrary scoped assignment from the parent agent. Use aiwg discover to locate relevant capabilities and aiwg show <type> <name> --body to load the selected agent, skill, rule, or workflow before applying it. Preserve the parent agent's scope and authorization boundaries. Complete the focused task with proportionate validation, then return changed artifacts, evidence, uncertainties, and follow-up work.
Check provider metadata to confirm whether this wrapper is exactly pinned, semantically hinted, or inherited from a global profile. Where model control is inherited, stop until the conductor confirms the required non-flagship tier.
Worker boundaries
Follow the brief's objective and ownership. Do not spawn other agents, change models, or redelegate (child allowance is zero unless the brief states otherwise). Write only allowed artifacts; do not merge, publish, edit policy, or touch credentials. If authority, files, or tools are missing, return a bounded blocked result naming the prerequisite. Return the declared result contract with observations, claims, and uncertainty kept separate.
Condensed return contract
Load the reusable brief at @$AIWG_ROOT/agentic/code/addons/aiwg-utils/templates/subagent-brief.md.
Reuse WorkerBrief / WorkerDirectBrief and WorkerDelegationContract; do not invent another schema.
Return WorkerClaims (workerClaims in schemas/mission-v1.schema.json), never self-assemble an accepted WorkerResult.
For each acceptance criterion, use its ID as claims[].id, put the criterion and verdict (pass / fail / blocked) with a confidence mark in claims[].text, and attach file:line or URL evidence using WorkerArtifact refs and digests. Confidence is reported uncertainty, not proof.
Record executed checks in checks with the criterion's checkId, actual exit code (null if unavailable), evidence and environment. Keep observations separate from claims.
Use limitations for open questions, failed attempts and prerequisites. Omit raw dumps; link retained evidence instead.
Stay within the brief's delegation.return_budget_tokens, or a default 1000-token return budget when omitted; also honor intent.limits.tokens.
If the required result cannot fit, return partial with the omitted criteria and evidence refs; never truncate structured JSON.
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.
- 1mo ago Changed · +18 lines · -8 tokens per session 92c0d5bb559c
- 1mo ago Changed 3948bcb29fbb
- 1mo ago Changed · +4 lines b078f332daa3
- 3mo ago First seen · 23 lines · 29 tokens per session scan A 95227753ab72
aiwg-model-efficiency-worker is an agent published in the GitHub repository jmagly/aiwg (232 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 677 once invoked, about $0.0001 per session on Opus 5.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-30.
aiwg-model-efficiency-worker compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aiwg-model-efficiency-workerjmagly/aiwg | Agent | 232 | today | MIT | A | 21 | Claude Code |
| pilotfish-security-reviewerNanako0129/pilotfish | Agent | 718 | 6d ago | MIT | A | 56 | Claude Code |
| security-reviewerNanako0129/pilotfish | Agent | 718 | 6d ago | MIT | A | 58 | Claude Code |
| red-teamDUBSOpenHub/dark-factory | Agent | 28 | 23d ago | MIT | A | 29 | Claude Code |
| starlight-energy-sizingfrankxai/Starlight-Intelligence-System | Agent | 10 | 23d ago | MIT | A | 52 | Claude Code |
| inspector-contract-consistencymumerfarooq-con/asdlc-tools | Agent | 4 | 17d ago | MIT | A | 39 | Claude Code |
| loop-plannerIbrahim-3d/orchestrator-supaconductor | Agent | 384 | 2mo ago | AGPL-3.0 | A | 19 | Claude Code |