okf-harness: Instructions file for Codex

AGENTS.md

okf-harness AGENTS.md is an instructions file for Codex, OpenCode from pumblus/okf-harness. It costs 377 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for OKF Harness, a local command-line toolkit for maintaining wikis with coding agents.

In plain words
What is it for?
Use them when working on the OKF Harness codebase, especially when running tests, type checks, linting, builds, or writing project documentation.
Why use it?
They give agents the project structure, required tools, coding boundaries, and checks to follow before making changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is pumblus/okf-harness's own configuration. It tells Codex and OpenCode how to work on okf-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything okf-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pumblus/okf-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pumblus/okf-harness/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/pumblus/okf-harness

Made for: Codex, OpenCode.

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 okf-harness AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pumblus/okf-harness/agents-md/github.svg)](https://agentmods.dev/instructions/pumblus/okf-harness/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/pumblus/okf-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/pumblus/okf-harness/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.

agentmods 80×15 button for okf-harness AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pumblus/okf-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/pumblus/okf-harness/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 377 This file is loaded in full into every session.
When invoked 377 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00377 $0.00377
Opus 5.5 $0.00151 $0.00151
Sonnet 5.5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

Measured 1mo ago against content hash 3104a8f8cf81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

okf-harness 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.

AGENTS.md · 22 lines

What it actually says

OKF Harness

An agent-first, local-first, terminal-native harness for maintaining OKF-compatible LLM Wikis through coding agents. The unified agent entrypoint is okf-harness; the CLI alias is okfh.

Toolchain

  • pnpm 11 (not npm), Node >= 22. Scripts: pnpm -w run test, pnpm -w run typecheck, pnpm -w run lint, pnpm -w run build (-w targets the workspace root from any directory). Lint is Biome plus the llms docs freshness check.
  • Layering rule: packages/core imports nothing from other packages; packages/cli is the bridge between core and agent-pack.

Repo layout

  • packages/core — harness logic; packages/cli — okfh command surface, --json everywhere; packages/agent-pack — agent guidance renderers and skill templates; packages/setup — universal setup; packages/native-integration — host installers.
  • skills/okf-harness — the unified host entrypoint skill.
  • examples/ — dogfood workspaces whose raw/sources/ are immutable fixtures.
  • docs/, site/, CONTEXT.md — product docs, website sources, glossary.

Read before you act

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. 1mo ago First seen · 22 lines · 377 tokens per session scan A 3104a8f8cf81

Subscribe to this mod's changes

okf-harness AGENTS.md is an instructions file published in the GitHub repository pumblus/okf-harness (38 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 377 tokens to every session, about $0.0015 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-30.

Related

Other instructions, from other repositories