ai-plan

ai-plan is a skill for Claude Code, Codex from donaldfilimon/abi. It costs 77 tokens per session (507 once invoked), scanned A, original, Apache-2.0.

A routing guide for ABI's AI features, including model selection, text completion, self-learning, and agent training. It directs each request to the appropriate specialist workflow and records implementation constraints from the codebase.

In plain words
What is it for?
Use it to plan model routing, run a completion, drive the SEA self-learning loop, or plan and train an agent.
Why use it?
It prevents different AI tasks from being handled by the wrong workflow or by assumptions that conflict with the source code. It also clarifies what the learning and safety checks actually do.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to plan model routing, run a completion, drive the SEA self-learning loop, or plan and train an agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/donaldfilimon/abi/ai-plan
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.

Any agent
npx skills add donaldfilimon/abi --skill ai-plan
Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: Claude Code, Codex.

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 ai-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/donaldfilimon/abi/ai-plan/github.svg)](https://agentmods.dev/skills/donaldfilimon/abi/ai-plan)
Your own site
<a href="https://agentmods.dev/skills/donaldfilimon/abi/ai-plan"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/ai-plan/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 ai-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/ai-plan"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/ai-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 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.00077 $0.00507
Opus 5.5 $0.00031 $0.00203
Sonnet 5.5 $0.00015 $0.00101
Haiku 4.5 $0.00008 $0.00051

Measured 15d ago against content hash 33d6337ac3df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-plan 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 15d 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.

.agents/skills/ai-plan/SKILL.md · 34 lines

What it actually says

ai-plan

Entry point for abi's AI subsystem (crates/abi-ai/src/). Routes to the specialist skills instead of duplicating them:

You want to… Use
Smoke-test base local completion (abi complete) complete-base
Drive the SEA self-learning loop (abi complete --learn) sea-learn-loop
Plan + train an agent (abi agent plan / train) agent-plan-train
Deep-dive AI routing/constitution/SEA abi-superpower-ai, abi-superpower-sea, abi-superpower-constitution
Run SEA learning, or inspect the REPL's session-only preference sea-learning-controller (abi complete --learn; /sea is metadata only)

Facts that constrain any AI plan (from source, not marketing)

  • Default model claude-fable-5; crates/abi-ai/src/models.rs is the single source of truth for ids/aliases/provider routing (mod/stub parity).
  • Router selectBestProfile ties resolve abbey > aviva > abi; neutral input routes to abi. analyzeSentiment is prefix-only keyword matching.
  • Constitution audit is observability-only, not a gate — sets audit_passed / audit_vetoed / escore; safety+privacy hard-veto only when either scores < 0.5. Matching is case-insensitive substring (infix), so "harm" fires on "harmless" — it cannot detect novel harm patterns.
  • EMA weights persist only on the --learn/SEA path; plain complete re-runs sentiment each turn with no EMA persistence.

Honest boundary

No energy-efficiency, accuracy, or QPS claims without a repo test/benchmark proving them (see docs/contracts/external-claims-audit.mdx).

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. 15d ago First seen · 34 lines · 77 tokens per session scan A 33d6337ac3df

Subscribe to this mod's changes

ai-plan is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 77 tokens to every session and 507 once invoked, about $0.0003 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-11-15.

Related

ai-plan compared with skills from other repositories

ai-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-plandonaldfilimon/abiSkill185d agoApache-2.0A77Claude Code, Codex
torch-geometricsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A41Claude Code, Codex
pyhealthsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A109Claude Code, Codex
deepchemsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A78Claude Code, Codex
shapsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A109Claude Code, Codex
umap-learnsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A43Claude Code, Codex
zarr-pythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex