af-prime

af-prime is a command for Claude Code, OpenCode from chankov/agent-fleet. It costs 9 tokens per session (244 once invoked), scanned A, a copy of prime, MIT.

A command that loads the foundational context for the agent-fleet repository, a collection of coding-agent skills, specialist roles, and workflow commands.

In plain words
What is it for?
Use it to inspect the project tree, read its core documentation, review skills and agent personas, and summarize how the repository is organized.
Why use it?
It gives an agent a shared understanding of the repository's structure, conventions, and available entry points before work begins.

Command for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it to inspect the project tree, read its core documentation, review skills and agent personas, and summarize how the repository is organized.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chankov/agent-fleet/af-prime
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/chankov/agent-fleet

Made for: Claude Code, OpenCode.

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 af-prime

README.md
[![agentmods](https://agentmods.dev/badge/commands/chankov/agent-fleet/af-prime/github.svg)](https://agentmods.dev/commands/chankov/agent-fleet/af-prime)
Your own site
<a href="https://agentmods.dev/commands/chankov/agent-fleet/af-prime"><img src="https://agentmods.dev/badge/commands/chankov/agent-fleet/af-prime/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 af-prime

Your own site · 80×15
<a href="https://agentmods.dev/commands/chankov/agent-fleet/af-prime"><img src="https://agentmods.dev/badge/commands/chankov/agent-fleet/af-prime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 244 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 100% copy Near-identical to another mod 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.00009 $0.00244
Opus 5.5 $0.00004 $0.00098
Sonnet 5.5 $0.00002 $0.00049
Haiku 4.5 $0.00001 $0.00024

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

Security

Grade A, and why

af-prime 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 3mo 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.

Origin

This is a copy

100% identical to prime — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.versions/0.0.1/.opencode/commands/af-prime.md · 23 lines

What it actually says

Purpose

Orient yourself in agent-fleet — a collection of production-grade engineering skills for AI coding agents, plus pi extensions, specialist agent personas, and lifecycle commands that map to the software development lifecycle.

Workflow

  1. Run git ls-files to see the full project file tree
  2. Read README.md and CLAUDE.md for the project overview and conventions
  3. Read docs/skill-anatomy.md to learn the required skill format
  4. Skim skills/*/SKILL.md — the core skills, grouped by lifecycle phase (Define → Plan → Build → Verify → Review → Ship)
  5. Read agents/*.md — the specialist review personas
  6. Read docs/pi-extensions.md, .pi/extensions/*/README.md (always-on utilities), and .pi/harnesses/*/README.md (selectable session harnesses)
  7. Summarize your understanding: purpose, structure, key files, and entry points

Do this directly — read the files yourself rather than delegating to subagents.

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. 3mo ago First seen · 23 lines · 9 tokens per session scan A 09ae40d69fba

Subscribe to this mod's changes

af-prime is a command published in the GitHub repository chankov/agent-fleet (22 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 244 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to prime, differing in 0 lines, and is treated as a copy.

Related

af-prime compared with commands from other repositories

af-prime next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
af-primechankov/agent-fleetCommand22yesterdayMITA9Claude Code, OpenCode
checklistgithub/spec-kitCommand153kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand153kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand153kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand153kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand153kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand153kyesterdayMITA14Claude Code