klimkit: Instructions file for Codex

AGENTS.md

klimkit AGENTS.md is an instructions file for Codex, OpenCode from klimentij/klimkit. It costs 495 tokens per session, scanned A, original, MIT.

Repository-specific instructions for working on Klimkit, including work logs, human-facing HTML reports, explainers, authentication, and release reminders. AGENTS.md is a file that tells coding agents how to work in a repository.

In plain words
What is it for?
It is for recording substantial work in docs/work, preserving user messages, organizing phase artifacts, and following requirements for hosted reports and releases.
Why use it?
It keeps agent work, notes, artifacts, and releases consistent with the project's own rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is klimentij/klimkit's own configuration. It tells Codex and OpenCode how to work on klimkit 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 klimkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to klimentij/klimkit. 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/klimentij/klimkit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/klimentij/klimkit

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 klimkit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/klimentij/klimkit/agents-md"><img src="https://agentmods.dev/badge/instructions/klimentij/klimkit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 495 This file is loaded in full into every session.
When invoked 495 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.00495 $0.00495
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

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

Security

Grade A, and why

klimkit 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 2mo 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 · 40 lines

How it starts

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

AGENTS.md

Repository-local instructions for Klimkit. These supplement the shared home-level agent instructions.

Work log (docs/work)

Substantial human+agent work is journaled live in docs/work/<NNN-DDMMYY-slug>/ (see docs/work/README.md). While working on such a piece: keep the current phase folder's LOG.md updated as beats happen (timestamp, one-liner, who drove, file links), preserve every human message verbatim in exactly one fitting markdown of the work folder, and open a new NNN-DDMMYY-slug/ phase folder when the work enters a new logical iteration. Artifacts always live inside a phase folder — never directly in a work folder (two folder layers under docs/work/, always). Never bulk-load docs/work/ into context — read a LOG.md, descend selectively.

There are no separate memory/log/reflection state files: action history lives in the LOG.md files, reflections and durable decisions are numbered notes inside the fitting work phase, and preferences or process rules that must bind every future session graduate into this AGENTS.md.

HTML reports and explainers — hosted, auth-protected

Any HTML meant for the human driver to view — explainers, proof reports, dashboards, anything HTML in docs/work/ — is deployed by default through the harness's native hosted surface, not just left as a file:

  • Claude Code: publish with the built-in Artifact tool (a claude.ai artifact — authenticated, private to the author by default; republishing updates the same URL).
  • Codex: deploy with Codex Sites (OpenAI-hosted, workspace-authenticated, private by default; save a version, then deploy).

Always keep the default authenticated visibility — private or workspace-only. Never enable public link sharing unless Klim explicitly asks. Record the deployed URL in the phase LOG.md next to the file link. The git-tracked HTML in docs/work/ remains the source of truth; the hosted page is the viewing surface.

Main Release Reminder

Read the full file on GitHub · 40 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. 2mo ago First seen · 40 lines · 495 tokens per session scan A ba19940f3280

Subscribe to this mod's changes

klimkit AGENTS.md is an instructions file published in the GitHub repository klimentij/klimkit (7 stars, last pushed 2mo ago), licensed MIT. It adds 495 tokens to every session, about $0.0020 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.

Related

klimkit AGENTS.md compared with instructions from other repositories

klimkit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
klimkit AGENTS.mdklimentij/klimkitInstructions file72mo agoMITA495Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode