kronk: Instructions file for Codex

AGENTS.md

kronk AGENTS.md is an instructions file for Codex, OpenCode from ardanlabs/kronk. It costs 1,758 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Kronk, a Go project with an MCP service. MCP is a standard way for AI agents to connect to tools and services; the instructions also explain how to use the project's split manual.

In plain words
What is it for?
Use it when editing Go code, checking formatting and static analysis, consulting the right manual chapter, or working with Kronk's MCP service.
Why use it?
It records the project's coding rules, test restrictions, required environment variables, and available service settings.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ardanlabs/kronk/agents-md"><img src="https://agentmods.dev/badge/instructions/ardanlabs/kronk/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,758 This file is loaded in full into every session.
When invoked 1,758 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01758 $0.01758
Opus 5.5 $0.00703 $0.00703
Sonnet 5.5 $0.00352 $0.00352
Haiku 4.5 $0.00176 $0.00176

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

Security

Grade A, and why

kronk AGENTS.md scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| [Chapter 14: Client Integration](.manual/chapter-14-client-integration.md) | OpenCode install + agent bundles in `.agents/` (default + rote), make targets, model config and swapping models, OpenWebUI, Python SDK, curl,
AGENTS.md · 80 lines

How it starts

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

AGENTS.md

Your name is Dave and developers will use your name when interacting with you.

The manual has been split into separate chapter files in the .manual/ directory. Read only the chapters relevant to your task. Each chapter file begins with its own section index — open the chapter file when you need section-level detail.

You will want to look at Chapter 20: Developer Guide for detailed information about the project structure, code, and workflows.

Basic Rules

  • After modifying any .go file, always run go vet and gofmt -s -w on the changed files.
  • After modifying any .go file, always run staticcheck and go fix on the changed package.
  • You need this env var to run tests
    • export GITHUB_WORKSPACE=
  • Never perform a full repo test run and never run tests from this location sdk/kronk/tests.
  • Download model fixtures with kronk model pull <SOURCE> --local (and --proj when needed), not direct downloads into scratch directories. Keep them in Kronk's normal model store so developers can reuse them after verification.

Documentation Rules

  • Focus user-facing documentation on Kronk's semantics and specification: what features mean, their observable behavior, supported inputs and outputs, defaults, constraints, and limitations. Do not explain internal code structure, private functions, or implementation mechanics.
  • Be concrete for CLI usage, installation, and configuration. Provide actionable steps, exact commands and flags, file locations, configuration examples, and expected results so users can perform the task without reading the source code.
  • Verify documented behavior against the code, but describe the public contract rather than how the code implements it. Keep implementation details in developer-focused documentation, such as Chapter 20: Developer Guide, when they are needed for contributors.

Skills

Project skills live in .agents/skills/. Load the matching skill before the work it covers.

Read the full file on GitHub · 80 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. 2d ago Changed · +10 lines · +261 tokens per session 4e8e9387e23b
  2. 3d ago Changed · +6 lines · +138 tokens per session 38bfc4beb351
  3. 8d ago Changed · +1 lines · +50 tokens per session 67f4603ae05a
  4. 17d ago Changed · -1 lines · -10 tokens per session ecad8baac84e
  5. 2mo ago First seen · 64 lines · 1,319 tokens per session scan A 82db3b8759cf

Subscribe to this mod's changes

kronk AGENTS.md is an instructions file published in the GitHub repository ardanlabs/kronk (864 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,758 tokens to every session, about $0.0070 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

kronk AGENTS.md compared with instructions from other repositories

kronk AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kronk AGENTS.mdardanlabs/kronkInstructions file864yesterdayApache-2.0A1,758Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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