odin-claude-plugin: Instructions file for Codex

AGENTS.md

odin-claude-plugin AGENTS.md is an instructions file for Codex, OpenCode from OutlineDriven/odin-claude-plugin. It costs 2,521 tokens per session, scanned B, original, Apache-2.0.

Repository instructions for maintaining the ODIN Claude Code plugin and its agent guidance files.

In plain words
What is it for?
Use them when editing agent instructions, synchronising output styles, updating skills, handling submodules, or preparing version changes.
Why use it?
They prevent broken links between instruction files and keep the main agent rules identical across the plugin's output styles.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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 odin-claude-plugin AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/outlinedriven/odin-claude-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/outlinedriven/odin-claude-plugin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,521 This file is loaded in full into every session.
When invoked 2,521 The same file — it is already loaded in full.
Security scan B 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.02521 $0.02521
Opus 5.5 $0.01008 $0.01008
Sonnet 5.5 $0.00504 $0.00504
Haiku 4.5 $0.00252 $0.00252

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

Security

Grade B, and why

odin-claude-plugin AGENTS.md scanned grade B 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Edit both carriers in place. Never commit them from this repository, and never stage `~/.codex/config.toml`; their owning repositories live outside this submodule.
AGENTS.md · 134 lines

How it starts

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

Repository contract

Repository file

Edit AGENTS.md, never CLAUDE.md. CLAUDE.md is a symlink, so replacing it forks the two files.

Canonical baseline

Make every persona or doctrine change in system-prompt-baseline.md; it is the only source of truth. The Claude Code loader resolves no references, so each of the six output styles under plugins/odin-core/output-styles/ embeds the full baseline as its tail, byte-identical from its second <role> through EOF. The generator owns that tail; never hand-propagate it:

  1. Edit system-prompt-baseline.md without changing an output style below its charter <role>.
  2. Run python3 scripts/sync-baseline.py. It replaces each style from its second <role> through EOF and preserves the persona preamble above it.
  3. Run python3 scripts/sync-baseline.py --check. Exit 0 means all styles match; exit 1 names drifted files; exit 2 means the canonical file or a required two-<role> layout is missing.
  4. Stage and commit the canonical file and all six styles together.

Never hand-edit plugins/odin-core/output-styles/benchmark.md. Its margin-runner v0.5.5 header marks it as generated. The baseline generator may change only the embedded cascade below the runner preamble; a hand edit above that region requires explicit user authorization.

Submodule publishing

Commit and push from this repository, not its parent ~/.claude, because this tree is a Git submodule. This checkout's .git is an unwritable submodule pointer, so git operations must run in a clone inside .outline/worktree/<name>, never in /tmp, where work is easily lost.

Never force-push, and that includes every --force-with-lease variant: a lease protects the remote from a stale overwrite and protects nothing from a rewrite you intended. On a branch with an open pull request, rewriting history strands every inline review comment on commits that no longer exist, and no permission error tells you that.

If a push is rejected as non-fast-forward, the answer is to fetch and rebase or to ask, never to reach for a force variant.

Read the full file on GitHub · 134 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 3ad9fe65f848
  2. 1mo ago Changed f50d70893e8f
  3. 1mo ago Changed 8d2a4106795d
  4. 1mo ago Changed · +23 tokens per session 842065c4e3bc
  5. 1mo ago Changed · +1 lines · +281 tokens per session a1053dec313a
  6. 1mo ago Changed · +32 lines · +89 tokens per session 3e8298d6c2c4
  7. 1mo ago First seen · 101 lines · 2,128 tokens per session scan B 1caa59527250

Subscribe to this mod's changes

odin-claude-plugin AGENTS.md is an instructions file published in the GitHub repository OutlineDriven/odin-claude-plugin (40 stars, last pushed 29d ago), licensed Apache-2.0. It adds 2,521 tokens to every session, about $0.0101 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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