AKF
CLAUDE.md20 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…
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- akfSkill
- akfSkill
- akfSkill
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
- Very specific: line 53
Use --label confidential for files in */finance/*, */secret/*, */internal/*
- Very specific: line 54
Use --label public for README, docs, examples
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 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.
Files
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 scoresClassification
- Use
--label confidentialfor files in*/finance/*,*/secret/*,*/internal/* - Use
--label publicfor 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 fileakf read <file>— Read trust metadata from any fileakf inspect <file>— Pretty-print trust scoresakf embed <file>— Embed metadata into DOCX/PDF/imagesakf extract <file>— Extract metadata from any formatakf scan <dir>— Security scan a directoryakf audit <file>— Compliance audit (EU AI Act, SOX, NIST)akf trust <file>— Compute effective trust scores
Project Structure
python/akf/— Python SDK sourcetypescript/src/— TypeScript SDK sourcesite/— Website (Vite + React + Tailwind)spec/— Format specification and JSON schemapackages/— Framework integrations (MCP, LangChain, LlamaIndex, CrewAI)extensions/— VS Code, GitHub Action, Office, Google Workspaceskills/— Agent skill files
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
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.

