aiwg-model-reasoning-worker

aiwg-model-reasoning-worker is an agent for Claude Code from jmagly/aiwg. It costs 22 tokens per session (696 once invoked), scanned A, original, MIT.

A model-specific helper for assigning bounded, reasoning-heavy work to an AI subagent. It is intended for architecture, synthesis, difficult analysis, and high-consequence review.

In plain words
What is it for?
Use it for architecture decisions, combining information, difficult technical analysis, and reviews where mistakes have serious consequences.
Why use it?
It helps keep complex delegated work within the parent agent’s instructions and authorization limits. It also requires the relevant AIWG capability to be located and loaded before use.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it for architecture decisions, combining information, difficult technical analysis, and reviews where mistakes have serious consequences.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jmagly/aiwg/aiwg-model-reasoning-worker
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.

Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

Made for: Claude Code.

Wrote 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.

agentmods badge for aiwg-model-reasoning-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/jmagly/aiwg/aiwg-model-reasoning-worker/github.svg)](https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-reasoning-worker)
Your own site
<a href="https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-reasoning-worker"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/aiwg-model-reasoning-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.

agentmods 80×15 button for aiwg-model-reasoning-worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/jmagly/aiwg/aiwg-model-reasoning-worker"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/aiwg-model-reasoning-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00022 $0.00696
Opus 5.5 $0.00009 $0.00278
Sonnet 5.5 $0.00004 $0.00139
Haiku 4.5 $0.00002 $0.00070

Measured 1mo ago against content hash 5beaeb691330, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aiwg-model-reasoning-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.

agentic/code/addons/aiwg-utils/agents/aiwg-model-reasoning-worker.md · 46 lines

How it starts

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

AIWG Reasoning Model Worker

You are a model-pinned subagent wrapper for bounded, reasoning-heavy 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 work with concrete evidence, then return changed artifacts, validation results, decisions, risks, 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.

Read the full file on GitHub · 46 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. 1mo ago Changed · +18 lines · -7 tokens per session 5beaeb691330
  2. 1mo ago Changed 9e8ac68389af
  3. 1mo ago Changed · +4 lines 99dbd18c4ef0
  4. 3mo ago First seen · 24 lines · 29 tokens per session scan A 59c568417c01

Subscribe to this mod's changes

aiwg-model-reasoning-worker is an agent published in the GitHub repository jmagly/aiwg (232 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 696 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.

Related

aiwg-model-reasoning-worker compared with agents from other repositories

aiwg-model-reasoning-worker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aiwg-model-reasoning-workerjmagly/aiwgAgent232todayMITA22Claude Code
pilotfish-security-reviewerNanako0129/pilotfishAgent7186d agoMITA56Claude Code
security-reviewerNanako0129/pilotfishAgent7186d agoMITA58Claude Code
red-teamDUBSOpenHub/dark-factoryAgent2823d agoMITA29Claude Code
starlight-energy-sizingfrankxai/Starlight-Intelligence-SystemAgent1023d agoMITA52Claude Code
inspector-contract-consistencymumerfarooq-con/asdlc-toolsAgent417d agoMITA39Claude Code
loop-plannerIbrahim-3d/orchestrator-supaconductorAgent3842mo agoAGPL-3.0A19Claude Code