phleet: Instructions file for Claude Code

CLAUDE.md

phleet CLAUDE.md is an instructions file for Claude Code, Codex from anurmatov/phleet. It costs 2,428 tokens per session, scanned C, original, MIT.

A set of development instructions for Phleet, an autonomous AI-agent system. They describe its projects, services, setup files, and commands for building the system.

In plain words
What is it for?
Guiding changes, setup, and builds for Phleet's agents, orchestration services, messaging, memory system, and monitoring dashboard.
Why use it?
They give an AI coding agent the repository structure and operational context needed to work safely across its many components.

Instructions file for Claude CodeCodex

Written for Codex and Claude Code: reads ~/.codex or $CODEX_HOME, but also the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Codex; mentions Gemini CLI.

This is anurmatov/phleet's own configuration. It tells Claude Code and Codex how to work on phleet itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything phleet configures →

Reuse

Borrowing it

Nothing to install: this file belongs to anurmatov/phleet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/anurmatov/phleet/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/anurmatov/phleet

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 phleet CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/anurmatov/phleet/claude-md.svg)](https://agentmods.dev/instructions/anurmatov/phleet/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/anurmatov/phleet/claude-md"><img src="https://agentmods.dev/badge/instructions/anurmatov/phleet/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,428 This file is loaded in full into every session.
When invoked 2,428 The same file — it is already loaded in full.
Security scan C 1 finding. 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.02428 $0.02428
Opus 5 $0.01214 $0.01214
Sonnet 5 $0.00486 $0.00486
Haiku 4.5 $0.00243 $0.00243

Measured today against content hash fc27af413291, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

phleet CLAUDE.md scanned grade C 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 today.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

dir is gitignored — `rm -rf fleet/` to reset.
CLAUDE.md · 187 lines

How it starts

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

Fleet — Autonomous AI Agent System

Repository Structure

src/
├── Fleet.Agent/        — core agent process (Telegram bot + multi-provider executor)
├── Fleet.Orchestrator/ — agent registry, Temporal workflow polling, MCP + REST + WebSocket
├── Fleet.Temporal/     — workflow orchestration bridge (MCP server)
├── Fleet.Bridge/       — RabbitMQ relay for inter-agent messaging
├── Fleet.Memory/       — semantic memory MCP server (Qdrant + embeddings)
├── Fleet.Shared/       — shared utilities
└── fleet-dashboard/    — React SPA for agent monitoring and lifecycle management
Dockerfile              — agent image (multi-stage)
Dockerfile.temporal     — temporal bridge image
entrypoint.sh           — container init script
gh-auth.sh              — GitHub App JWT generation utility
seed.example.json       — example agent bootstrap config (setup.sh copies → ./fleet/seed.json)
docker-compose.example.yml — full stack example (setup.sh copies → ./fleet/docker-compose.yml)
.env.example            — required environment variables (setup.sh copies → ./fleet/.env)
setup.sh                — guided installer
upgrade.sh              — rebuild images + restart (no prompts)
./fleet/                — gitignored runtime data dir (created by setup.sh)

Build Commands

# Build the entire solution
dotnet build

# Build a specific project
dotnet build src/Fleet.Agent/Fleet.Agent.csproj

# Run tests
dotnet test

# Build Docker images (from repo root)
docker build -t fleet:agent .
docker build -t fleet:memory -f src/Fleet.Memory/Dockerfile .
docker build -t fleet:orchestrator -f src/Fleet.Orchestrator/Dockerfile .
docker build -t fleet:temporal-bridge -f Dockerfile.temporal .
docker build -t fleet:bridge -f src/Fleet.Bridge/Dockerfile .
docker build -t fleet:dashboard \
  --build-arg VITE_AUTH_TOKEN=your-token \
  -f src/fleet-dashboard/Dockerfile .

# Dashboard (React)
cd src/fleet-dashboard
npm install
npm run dev    # local dev server
npm run build  # production build

Read the full file on GitHub · 187 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. today Changed fc27af413291
  2. 4d ago Changed · +25 lines · +432 tokens per session 84441f45dd40
  3. 8d ago First seen · 162 lines · 1,996 tokens per session scan C 05b2ffbef78a

Subscribe to this mod's changes

phleet CLAUDE.md is an instructions file published in the GitHub repository anurmatov/phleet (18 stars, last pushed today), licensed MIT. It adds 2,428 tokens to every session, about $0.0121 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories