phleet: Instructions file for Claude Code

CLAUDE.md

phleet CLAUDE.md is an instructions file for Claude Code from anurmatov/phleet. It costs 7,141 tokens per session, scanned D, 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 Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is anurmatov/phleet's own configuration. It tells Claude Code 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.

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/anurmatov/phleet/claude-md"><img src="https://agentmods.dev/badge/instructions/anurmatov/phleet/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,141 This file is loaded in full into every session.
When invoked 7,141 The same file — it is already loaded in full.
Security scan D 2 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.07141 $0.07141
Opus 5.5 $0.02856 $0.02856
Sonnet 5.5 $0.01428 $0.01428
Haiku 4.5 $0.00714 $0.00714

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

Security

Grade D, and why

phleet CLAUDE.md scanned grade D with 2 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 8d 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.

| codex | OAuth via `~/.codex/auth.json` | Persistent `codex app-server --listen stdio://`, JSON-RPC 2.0 over stdio; one ephemeral thread per process | `thread/start` `baseInstructions` (PromptBuilder file contents) | HT

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 · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 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 · 416 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. 8d ago Changed · -13 lines · -476 tokens per session 1e2e13c1486d
  2. 9d ago Changed · +45 lines · +1,242 tokens per session scan C → D 65d7e713e86a
  3. 10d ago Changed · +19 lines · +285 tokens per session 80016a8567ec
  4. 14d ago Changed · +13 lines · +250 tokens per session 61a68c2f7171
  5. 18d ago Changed · +1 lines · +17 tokens per session a85dce4f4bcf
  6. 19d ago Changed · +7 lines · +93 tokens per session 3d2c0022ca39
  7. 20d ago Changed · +27 lines · +424 tokens per session dc0aafee46d5
  8. 22d ago Changed c13f49119476
  9. 24d ago Changed · +16 lines · +363 tokens per session 1d6021b92617
  10. 26d ago First seen · 301 lines · 4,943 tokens per session scan C 2ee63ab29365

Subscribe to this mod's changes

phleet CLAUDE.md is an instructions file published in the GitHub repository anurmatov/phleet (21 stars, last pushed today), licensed MIT. It adds 7,141 tokens to every session, about $0.0286 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.