otter-kr: Instructions file for Codex

AGENTS.md

otter-kr AGENTS.md is an instructions file for Codex, OpenCode from tottinge/otter-kr. It costs 491 tokens per session, scanned A, original, MIT.

Repository instructions for otter-kr, including rules for its support server and commit workflow. TDD means writing a test that fails before changing the code, then confirming it passes afterward.

In plain words
What is it for?
Use them during editing or TDD sessions in the otter-kr repository, especially when starting or stopping its support server and preparing a commit.
Why use it?
They prevent multiple support servers from running at once and require workspace and process checks before committing changes.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 otter-kr AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tottinge/otter-kr/agents-md"><img src="https://agentmods.dev/badge/instructions/tottinge/otter-kr/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 491 This file is loaded in full into every session.
When invoked 491 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.00491 $0.00491
Opus 5.5 $0.00196 $0.00196
Sonnet 5.5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

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

Security

Grade A, and why

otter-kr 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 · 45 lines

How it starts

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

Repository workflow

Use the atomic-commit skill for every commit. It is the authoritative procedure for choosing a coherent batch, maintaining a green exact state, resolving untracked files, reviewing the complete staged snapshot, obtaining human approval, and verifying the post-commit workspace.

For this repository, treat the untracked-file disposition assessment as a hard safety boundary: every non-ignored path must be explicitly classified as add, gitignore, or delete, with the chosen action performed before staging. Ignored paths need not be listed unless the ignore rules are changing.

Do not assume a previously clean workspace is still clean without validating it.

TDD and refactoring slice gate

Every feature, fix, or characterization slice must make its evidence explicit:

  1. Before production edits, record the preflight scope, direct callers, and the smallest behavior to admit.
  2. Add or identify the focused test, run it against the unchanged production code, and record the failing (red) result. If no red result can be established, classify the work honestly as characterization, documentation, or a retrospective repair rather than claiming strict TDD.
  3. Make the smallest production change, run the focused test and the complete fast suite, and record the green result.
  4. Refactor the tests for resilient behavior (and the changed production code for representation) while green; then rerun the fast suite.
  5. Perform a scoped post-slice review covering the changed code, siblings, and callers. Record whether it found a follow-up or nothing to do.

Do not advance to the atomic-commit protocol until these checks are complete. The commit summary must state the slice, red/green evidence, test-refactor decision, post-slice review result, and untracked-file dispositions.

MCP support-process lifecycle

During an editing or TDD session, run at most one otter-kr support server. Check for an existing server before starting it; do not launch additional one-shot servers alongside the owned session. The session owner is responsible for stopping the server in a finally/cleanup path before the commit protocol, then verifying the process table contains no otter-kr or FastMCP leftovers. If a child process survives shutdown, terminate that specific child immediately and recheck before continuing.

Read the full file on GitHub · 45 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. 1mo ago Changed · +21 lines · +241 tokens per session 34b3b08685e5
  2. 2mo ago First seen · 24 lines · 250 tokens per session scan A db364803c6b5

Subscribe to this mod's changes

otter-kr AGENTS.md is an instructions file published in the GitHub repository tottinge/otter-kr (1 stars, last pushed 17d ago), licensed MIT. It adds 491 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

otter-kr AGENTS.md compared with instructions from other repositories

otter-kr AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
otter-kr AGENTS.mdtottinge/otter-krInstructions file117d agoMITA491Codex, 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