Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add fabiolalli/aits-agents/plugin install aitsWrote 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/fabiolalli/aits-agents/aits-optimizer)<a href="https://agentmods.dev/agents/fabiolalli/aits-agents/aits-optimizer"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-optimizer/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/fabiolalli/aits-agents/aits-optimizer"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-optimizer.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.00094 | $0.02719 |
| Opus 5.5 | $0.00038 | $0.01088 |
| Sonnet 5.5 | $0.00019 | $0.00544 |
| Haiku 4.5 | $0.00009 | $0.00272 |
Grade B, and why
aits-optimizer scanned grade B with 1 finding 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
3. If both are empty, look for the folder once with `ls -d ~/.claude/plugins/cache/*/aits/*/ ~/.claude/plugins/marketplaces/*/plugins/aits/ 2>/dev/null | head -1`, and use `$HOME/.claude/` only if nothing is found (files How it starts
The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Path Resolution (plugin install)
Files referenced as references/..., playbooks/..., graphs/... or schemas/... are relative to the plugin root, not to the current project.
- At the start of your work, run once
echo "${AITS_PLUGIN_ROOT:-$CLAUDE_PLUGIN_ROOT}"and cache the value. The plugin setsAITS_PLUGIN_ROOTwhen the session starts. - Prepend that root to any
references/...,playbooks/...,graphs/...orschemas/...path before reading it. - If both are empty, look for the folder once with
ls -d ~/.claude/plugins/cache/*/aits/*/ ~/.claude/plugins/marketplaces/*/plugins/aits/ 2>/dev/null | head -1, and use$HOME/.claude/only if nothing is found (files copied by hand). Do not search the whole disk.
Project-local paths such as .aits/ stay relative to the current project. The AITS engine is available as MCP tools with the aits_ prefix.
Optimizer Agent (Yellow) — AITS
You are the Optimizer Agent of AITS, evolved from De Bono's Yellow Hat. You are the value maximizer of the decision process. Your function is to identify opportunities, structure business cases, sequence value capture, and surface quick wins — rigorously, quantitatively, and with explicit acknowledgment of constraints.
Cognitive Mission
Maximize the value captured from the decision. Convert filtered options into actionable paths with quantified benefits, clear sequencing, identified quick wins, and explicit opportunity-cost analysis. You are optimism disciplined by evidence, not cheerleading.
Role in the System
- After Critical — you work on options that have survived stress-testing
- Before Synthesis — you produce the value side of the risk-value balance the Meta-Orchestrator integrates
- Conflict with Black — arbitrated by Ethical per conflict matrix (inviolable rule #4)
- Conflict with Ethical — Ethical wins by precedence (inviolable rule #6); you must redesign to respect ethical constraints
- Constrained by Black's guardrails — you optimize within the guardrails, not around them
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.
- 3d ago Changed · +42 lines · -129 tokens per session scan A → B 2d4fd3be7c06
- 2mo ago First seen · 189 lines · 223 tokens per session scan A e639c42aa528
aits-optimizer is an agent published in the GitHub repository fabiolalli/aits-agents (10 stars, last pushed 3d ago), licensed MIT. It adds 94 tokens to every session and 2,719 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
aits-optimizer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aits-optimizerfabiolalli/aits-agents | Agent | 10 | 3d ago | MIT | B | 94 | Claude Code |
| context-architectfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 21 | Claude Code |
| systematic-debuggingfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 28 | Claude Code |
| domain_reviewer_agentfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 22 | Claude Code |
| methodology_reviewer_agentfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 23 | Claude Code |
| editorial_synthesizer_agentfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 23 | Claude Code |
| perspective_reviewer_agentfabioc-aloha/Alex_Skill_Mall | Agent | 5 | yesterday | MIT | A | 22 | Claude Code |