fkf AGENTS.md

Project instructions for fkf, a Go tool that collects JSON and Markdown files from Git repositories and makes them available to coding agents.

In plain words
What is it for?
Use them when changing collection, linking, retrieval, configuration, evidence records, or contributor workflows in fkf.
Why use it?
They define the project’s data format, workflow, testing rules, and boundaries, reducing the risk of incompatible changes or untrusted tests.

Instructions file for CodexOpenCode

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/fmind/fkf/agents-md
Clone the repo
git clone --depth 1 https://github.com/fmind/fkf

Made for: Codex, OpenCode.

Per session 2,131 This file is loaded in full into every session.
When invoked 2,131 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.02131 $0.02131
Opus 5 $0.01066 $0.01066
Sonnet 5 $0.00426 $0.00426
Haiku 4.5 $0.00213 $0.00213

Measured yesterday against content hash 5c8904a2ec7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 yesterday.

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.

AGENTS.md · 70 lines

How it starts

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

AGENTS.md (Project)

This repository builds fkf: one Go module, one binary, and two embedded skills. A base is a git repository of JSON and Markdown that FKF collects, links as URIs, and retrieves for coding agents. README.md explains the product; this file defines the contributor contract.

Status

The design is implemented. Do not add a compatibility path, migration, or second spelling. Configuration and collected evidence each use fkf: 1; the containing file identifies the contract. The evidence envelope is permanent and additive because providers may no longer retain old records. A change that requires forced re-collection is the wrong design.

Workflow

  1. Use .agents/skills/fkf-contribute/SKILL.md as the route map. This file is authoritative if they disagree.
  2. Run focused tests after behavior changes, then mise run all. Never weaken, skip, or hide a failing check.
  3. Do not commit, push, publish, rename, delete outside the working tree, or take an irreversible action unless explicitly asked.
  4. Keep tests hermetic: use a temporary HOME, unset FKF_BASE, fake every declared command through Runner, and use synthetic fixtures. The narrow exceptions are tests of core/shell, the synthetic relative-base helper regression, and invariant or status-policy tests that run local go list or git.

Product boundaries

  • One module and binary. The root module is github.com/fmind/fkf; do not add go.work, a nested module, plugin, provider SDK, or second shipped command. docs/go.mod only pins the Hugo theme.
  • POSIX execution. FKF supports Linux and macOS; run:, test:, and body: are direct argv and a helper's shebang selects its interpreter. Cancellation uses POSIX process groups. WSL2 is Linux; native Windows is out of scope.
  • One base boundary. <base>/fkf.yaml plus ignored fkf.local.yaml are the only configuration. There is no global config, profile, bundle, visibility, sensitivity, capture, or policy layer.
  • Plain durable data. Bases contain JSON, Markdown, and the generated graph TSV. Never store rendered commands, planner state, or mutable execution metadata in evidence.
  • Published paths only. Resolve paths through Store.Resolve. It admits enabled layers, graph artifacts, fkf.yaml, and AGENTS.md; it rejects every other root file and any symlink below the base.
  • Small, typed Go. Keep cancellation explicit, split natural seams rather than line counts, and prefer a pure helper to a framework.

Read the full file on GitHub · 70 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. yesterday First seen · 70 lines · 2,131 tokens per session scan A 5c8904a2ec7f

Subscribe to this mod's changes

fkf AGENTS.md is an instructions file published in the GitHub repository fmind/fkf (2 stars, last pushed 2d ago), licensed MIT. It adds 2,131 tokens to every session, about $0.0107 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

siyuan AGENTS.md

AGENTS.md instructions for siyuan-note/siyuan, covering agents.md, 1. non-negotiable constraints, do not hand-edit, verification and prohibited operations and 2. project-specific rules.

siyuan-note/siyuan · 4,668 tokens

stashbase AGENTS.md

Instructions for liliu-z/stashbase, covering agent maintenance contract for this repo, github access for this repository, temporary worktrees, electron launch environment and documentation route.

liliu-z/stashbase · 1,893 tokens

Starcat AGENTS.md

Instructions for starcat-app/Starcat, covering agents.md, 🚨 硬性铁律(每次写代码前必读,违反即返工), 🌿 git 分支与 worktree(强制), 🧭 主进度索引(每次开工前必读) and 状态符号(与功能实现总览.md 同步).

starcat-app/Starcat · 7,077 tokens

Starcat CLAUDE.md

Instructions for starcat-app/Starcat, covering claude.md, 🚨 硬性铁律(每次写代码前必读,违反即返工), 🌿 git 分支与 worktree(强制), 🧭 主进度索引(每次开工前必读) and 状态符号(与功能实现总览.md 同步).

starcat-app/Starcat · 6,398 tokens

llm-wiki-newsroom AGENTS.md

Instructions for alfadur7/llm-wiki-newsroom, covering llm wiki newsroom — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

alfadur7/llm-wiki-newsroom · 1,675 tokens

llm-wiki-newsroom GEMINI.md

Instructions for alfadur7/llm-wiki-newsroom, covering llm wiki newsroom — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

alfadur7/llm-wiki-newsroom · 1,282 tokens