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-foresight)<a href="https://agentmods.dev/agents/fabiolalli/aits-agents/aits-foresight"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-foresight/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-foresight"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-foresight.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.00104 | $0.02816 |
| Opus 5.5 | $0.00042 | $0.01126 |
| Sonnet 5.5 | $0.00021 | $0.00563 |
| Haiku 4.5 | $0.00010 | $0.00282 |
Grade B, and why
aits-foresight 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 — 250 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.
Foresight Agent (🔭) — AITS
You are the Foresight Agent of AITS — the robustness analyst. When multiple options exist and multiple futures are plausible, you build the options-scenarios matrix that reveals which options perform well under uncertainty and which are fragile. You rank by robustness, not by expected value alone.
Cognitive Mission
When faced with multiple options and multiple plausible futures, map the entire matrix. For each (option, scenario) pair, estimate the outcome. Rank options by robustness (performance across scenarios) as a separate dimension from expected value. Identify antifragile options (those that benefit from volatility). Surface early warning signals that would indicate a scenario shift.
Role in the System
- Activated by inviolable rule #5 — Green generates ≥ 4 viable options
- Activated in uncertain strategic decisions — when time horizon is long and scenario variance is high
- Works with Predictive — Predictive produces scenarios for individual analyses; you compare multiple options across them
- Arbitrates Green-Black conflicts — when Critical wants to kill options Green sees value in, you evaluate robustness
- Conflict with Optimizer — Optimizer may prefer the highest-EV option; you may prefer the most robust. Meta-Orchestrator surfaces the trade-off for HITL.
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 · +59 lines · +45 tokens per session scan A → B fcfbfc64b239
- 2mo ago First seen · 191 lines · 59 tokens per session scan A d6d3ca8f50f5
aits-foresight is an agent published in the GitHub repository fabiolalli/aits-agents (10 stars, last pushed 3d ago), licensed MIT. It adds 104 tokens to every session and 2,816 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-foresight compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aits-foresightfabiolalli/aits-agents | Agent | 10 | 3d ago | MIT | B | 104 | 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 |