agentleFS
HMAKT99HMAKT99/AKF/CLAUDE.md

AKF

CLAUDE.md19 starsChanged 9 months agoMITView on GitHub

AKF is the trust metadata standard for AI-generated content. Stamps are notes agents leave for the next agent: what was done, what was verified, and how much to trust it. A stamp costs ~15 tokens; re-verifying costs thousands. Evidence is auto-classified and drives trust: "42/42 tests passed" (test_pass), "mypy: 0 errors" (type_check), "reviewed by @user" (human_review), "CI green" (ci_pass). Only claim evidence you actually observed — a stamp that says tests passed when they didn't poisons every agent that trusts…

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use --label confidential for files in */finance/*, */secret/*, */internal/*

    line 53
  2. Very specific:

    Use --label public for README, docs, examples

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

AKF — Agent Knowledge Format

AKF is the trust metadata standard for AI-generated content. Stamps are notes agents leave for the next agent: what was done, what was verified, and how much to trust it. A stamp costs ~15 tokens; re-verifying costs thousands.

The protocol

Before building on an existing file — check it

akf check <file>
  • OK — fresh stamp with verified evidence. Build on it; skip re-verification.
  • STALE — modified after stamping. Re-verify before trusting.
  • LOW — stamped but unverified (no test/review evidence). Verify before trusting.
  • UNSTAMPED — no metadata. Treat as unverified.

After creating or modifying files — stamp what you verified

akf stamp <file> --agent claude-code --evidence "<evidence>"

Evidence is auto-classified and drives trust: "42/42 tests passed" (test_pass), "mypy: 0 errors" (type_check), "reviewed by @user" (human_review), "CI green" (ci_pass). Only claim evidence you actually observed — a stamp that says tests passed when they didn't poisons every agent that trusts it.

Deeper inspection when needed

akf read <file>          # Full trust metadata
akf inspect <file>       # Pretty-printed trust scores

Classification

  • Use --label confidential for files in */finance/*, */secret/*, */internal/*
  • Use --label public for README, docs, examples
  • Default is internal

Available Commands

  • akf check <file> — One-line trust check (OK/LOW/STALE/UNSTAMPED, exit codes 0/1/2)
  • akf stamp <file> — Add trust metadata to any file
  • akf read <file> — Read trust metadata from any file
  • akf inspect <file> — Pretty-print trust scores
  • akf embed <file> — Embed metadata into DOCX/PDF/images
  • akf extract <file> — Extract metadata from any format
  • akf scan <dir> — Security scan a directory
  • akf audit <file> — Compliance audit (EU AI Act, SOX, NIST)
  • akf trust <file> — Compute effective trust scores

Project Structure

  • python/akf/ — Python SDK source
  • typescript/src/ — TypeScript SDK source
  • site/ — Website (Vite + React + Tailwind)
  • spec/ — Format specification and JSON schema
  • packages/ — Framework integrations (MCP, LangChain, LlamaIndex, CrewAI)
  • extensions/ — VS Code, GitHub Action, Office, Google Workspace
  • skills/ — Agent skill files

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.