fleet-memory CLAUDE.md

fleet-memory CLAUDE.md is an instructions file for coding agents from Holetron-lab/fleet-memory. It costs 2,991 tokens per session, scanned A, original, MIT.

A repository instruction file that tells Claude Code about the Hindsight project, its development commands, and how to run its API and user interface.

In plain words
What is it for?
Use it when developing, testing, linting, or starting the Hindsight API and control-panel interface locally.
Why use it?
It gives the coding agent the project context and repeatable commands it needs to work consistently in the repository.

Instructions file

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.

agentmods
npx agentmods add instructions/holetron-lab/fleet-memory/claude-md
Clone the repo
git clone --depth 1 https://github.com/Holetron-lab/fleet-memory

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 fleet-memory CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/holetron-lab/fleet-memory/claude-md.svg)](https://agentmods.dev/instructions/holetron-lab/fleet-memory/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/holetron-lab/fleet-memory/claude-md"><img src="https://agentmods.dev/badge/instructions/holetron-lab/fleet-memory/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,991 This file is loaded in full into every session.
When invoked 2,991 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02991 $0.02991
Opus 5 $0.01496 $0.01496
Sonnet 5 $0.00598 $0.00598
Haiku 4.5 $0.00299 $0.00299

Measured 3d ago against content hash ccd27eb4fb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fleet-memory CLAUDE.md 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 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.

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.

CLAUDE.md · 306 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Hindsight is an agent memory system that provides long-term memory for AI agents using biomimetic data structures. Memories are organized as:

  • World facts: General knowledge ("The sky is blue")
  • Experience facts: Personal experiences ("I visited Paris in 2023")
  • Mental models: Consolidated knowledge synthesized from facts ("User prefers functional programming patterns")

Development Commands

Local Development (API + UI)

# Start both API server and control plane UI
./scripts/dev/start.sh

API Server (Python/FastAPI)

# Start API server only (loads .env automatically)
./scripts/dev/start-api.sh

# Run all tests (parallelized with pytest-xdist)
cd hindsight-api-slim && uv run pytest tests/

# Run specific test file
cd hindsight-api-slim && uv run pytest tests/test_http_api_integration.py -v

# Run single test function
cd hindsight-api-slim && uv run pytest tests/test_retain.py::test_retain_simple -v

# Lint and format
cd hindsight-api-slim && uv run ruff check .
cd hindsight-api-slim && uv run ruff format .

# Type checking (uses ty - extremely fast type checker from Astral)
cd hindsight-api-slim && uv run ty check hindsight_api/

Control Plane (Next.js)

./scripts/dev/start-control-plane.sh
# Or manually:
cd hindsight-control-plane && npm run dev

Documentation Site (Docusaurus)

./scripts/dev/start-docs.sh

Generating Clients/OpenAPI

# Regenerate OpenAPI spec after API changes (REQUIRED after changing endpoints)
./scripts/generate-openapi.sh

# Regenerate all client SDKs (Python, TypeScript, Rust)
./scripts/generate-clients.sh

Benchmarks

# Accuracy benchmarks
./scripts/benchmarks/run-longmemeval.sh
./scripts/benchmarks/run-locomo.sh

# Performance benchmarks
./scripts/benchmarks/run-consolidation.sh
./scripts/benchmarks/run-retain-perf.sh --document <path>  # Requires API server running

# Results viewer
./scripts/benchmarks/start-visualizer.sh  # View results at localhost:8001

Read the full file on GitHub · 306 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. 3d ago First seen · 306 lines · 2,991 tokens per session scan A ccd27eb4fb48

Subscribe to this mod's changes

fleet-memory CLAUDE.md is an instructions file published in the GitHub repository Holetron-lab/fleet-memory (0 stars, last pushed 5d ago), licensed MIT. It adds 2,991 tokens to every session, about $0.0150 per session on Opus 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-08-31.

Related

Other instructions, from other repositories

pragma AGENTS.md

AGENTS.md instructions for pqpo/pragma, covering agents.md, 项目定位, 技术基线, 目录结构 and package 命名.

pqpo/pragma · 13,318 tokens

fusionpact-vectordb AGENTS.md

AGENTS.md instructions for FusionpactTech/fusionpact-vectordb, covering agents.md — fusionpact integration guide for ai agents, identity, capabilities, 1. hybrid retrieval engine and 2. agent memory (4 types).

FusionpactTech/fusionpact-vectordb · 2,037 tokens

m_flow AGENTS.md

AGENTS.md instructions for FlowElement-xinliuyuansu/m_flow, covering m-flow — developer & agent reference, 1. repository map, extension points, 2. local development and python backend (requires python 3.10 – 3.13).

FlowElement-xinliuyuansu/m_flow · 1,075 tokens

kungfu copilot-instructions.md

Copilot instructions for kungfu-systems/kungfu: Read and follow AGENTS.md before proposing or running changes. It is the shared agent router for this repository, including the canonical Shifu development and build entrypoint.

kungfu-systems/kungfu · 45 tokens

second-brain AGENTS.md

Instructions for LindaHaviv/second-brain, covering instructions for ai coding agents, what to read first, the rules (non-negotiable), common tasks, the sanctioned way and enforcement, not just instructions.

LindaHaviv/second-brain · 1,686 tokens

Agent-Memory-Bridge AGENTS.md

Instructions for zzhang82/Agent-Memory-Bridge, covering agent memory bridge contributor instructions, setup and checks, architecture boundaries, mutation and migration invariants and benchmark expectations.

zzhang82/Agent-Memory-Bridge · 1,089 tokens