Borrowing it
Nothing to install: this file belongs to fmind/fkf. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fmind/fkf/main/AGENTS.mdgit clone --depth 1 https://github.com/fmind/fkfWrote 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.
[](https://agentmods.dev/instructions/fmind/fkf/agents-md)<a href="https://agentmods.dev/instructions/fmind/fkf/agents-md"><img src="https://agentmods.dev/badge/instructions/fmind/fkf/agents-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.
<a href="https://agentmods.dev/instructions/fmind/fkf/agents-md"><img src="https://agentmods.dev/badge/instructions/fmind/fkf/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01274 | $0.01274 |
| Opus 5.5 | $0.00510 | $0.00510 |
| Sonnet 5.5 | $0.00255 | $0.00255 |
| Haiku 4.5 | $0.00127 | $0.00127 |
Grade A, and why
fkf AGENTS.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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
FKF is one typed Python package and one console command. Its purpose is to keep a person's or team's knowledge in plain files (Markdown notes, JSON Lines records) and let agents search and read it offline. The README describes the product; this file defines implementation boundaries.
Scope
- Keep only the current configuration and base format. Do not add legacy code, migration tooling, provider SDKs or compatibility command surfaces.
projects/,tasks/andwiki/contain authored Markdown; wiki concepts follow OKF v0.2. Tasks usetasks/YYYY-MM-DD_slug/TASK.mdplusinputs/andoutputs/.records/<source>/<YYYY-MM>.jsonlholds one line per source item, upserted by id (undated.jsonl,snapshot.jsonlfor snapshot sources)..fkf/is a disposable SQLite cache.sources/holds collectors,scripts/,configs/andtests/base maintenance,skills/workflow packages. Onefkf.yaml(version 2) defines the base;~/.config/fkf/config.yamlregisters bases per user and grants collection trust per machine.- Records have
id,title, optionaltext,time,url,links,aliasesandattributes. Provider-specific projection belongs in base-owned collectors. Reserved attributesupdated,observedandpartialdescribe revision provenance. No provider SDK, model, embedding, scheduler, harness installer or plugin framework belongs in the core. - CLI and MCP call the same services. MCP exposes exactly
searchandread, with no execution or write operation.
Invariants
- Search and read never run collectors or contact the network. They may refresh the disposable cache incrementally; a file that fails to parse is skipped and reported, never fatal. FTS uses quoted literal terms; SQL uses parameters.
- Every result carries a readable ref that resolves to a file:
path,path#sectionorsource:id. The cache may locate a record, but the answer always comes from the record file. - Explicit aliases and links provide identity and relationship evidence; prose and name similarity never create relations.
- Use the confined Store for base access. Refuse symlinks and special files below the base, bound traversal and bytes, write atomically, and serialize writers by physical base identity. Private lock, run state, usage counts and collector logs stay outside the base; usage never records queries or refs.
- Collection is explicit, uses direct configured argv from the base root, and requires per-machine trust in the user configuration. Remove loader-injection variables, kill process groups on timeout, cancellation or output overflow, write nothing on provider failure and recover interrupted commits from
records/.pending/, and keep provider stdout/stderr out of errors (stderr goes to a bounded private log). - Files are the only source of truth. Deleting
.fkf/or the state directory loses nothing but convenience.
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.
- 1mo ago Changed · +4 lines · +52 tokens per session 166c0d39ba0c
- 1mo ago Changed · +1 lines · +94 tokens per session e71dd51d8bb9
- 1mo ago Changed · -28 lines · -1,613 tokens per session 986494f0d643
- 1mo ago Changed · +4 lines · +132 tokens per session caf8c1e3faf4
- 2mo ago Changed · +1 lines · +150 tokens per session 9fc0652d7198
- 2mo ago Changed · +3 lines · +328 tokens per session 0e11648fb780
- 2mo ago First seen · 70 lines · 2,131 tokens per session scan A 5c8904a2ec7f
fkf AGENTS.md is an instructions file published in the GitHub repository fmind/fkf (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,274 tokens to every session, about $0.0051 per session on Opus 5.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.
fkf AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fkf AGENTS.mdfmind/fkf | Instructions file | 3 | 1mo ago | MIT | A | 1,274 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |