claudine: Instructions file for Codex

AGENTS.md

claudine AGENTS.md is an instructions file for Codex, OpenCode from salam/claudine. It costs 723 tokens per session, scanned A, original, MIT.

A set of instructions for working on Claudine, including rules for commits, specifications, issue fixes, releases, and testing. It also defines project-cleanliness and file-safety requirements.

In plain words
What is it for?
Use it when implementing, testing, documenting, or committing changes in the Claudine project.
Why use it?
It keeps agent work consistent with the repository's development and release practices and helps avoid unsafe changes.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/salam/claudine/agents-md"><img src="https://agentmods.dev/badge/instructions/salam/claudine/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 723 This file is loaded in full into every session.
When invoked 723 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.00723 $0.00723
Opus 5.5 $0.00289 $0.00289
Sonnet 5.5 $0.00145 $0.00145
Haiku 4.5 $0.00072 $0.00072

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

Security

Grade A, and why

claudine 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 · 52 lines

How it starts

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

  • When interacting with the user, print ▸ before answering anything else.
  • Keep the project folder clean.
  • Never commit secrets.
  • Never touch, edit or move CLAUDE.md, AGENT.md and AGENTS.md files.
  • Place shell scripts, if not necessary otherwise, in the folder ./tools/
  • Create a ./RELEASE_NOTES.md file for each new feature implemented. Use user-targeted language, short and brief bullet points. Create a new section ## Release 1.2 (Mon, Jan 19 09:39) for every 4 hours. E.g.

Version 1.0.3 (Feb 7 2025, 17:53)

  • Feature 1
  • Feature 2
  • Always compile and run tests before considering a prompted task as done.

  • Keep a .GIT_NEXT_COMMIT_MESSAGE.md file that contains a summary and diff of staged changes since the last commit and is used to prefill the commit message.

  • Use plain english when explaining (technical) concepts, and still refer to the professional computer science terminology in brackets.

  • Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user. Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.

  • NEVER edit .env or any environment variable files—only the user may change them.

  • Coordinate with other agents before removing their in-progress edits—don't revert or delete work you didn't author unless everyone agrees.

  • Moving/renaming and restoring files is allowed.

ATOMIC COMMITS

  • Keep commits atomic: commit only the files you touched and list each path explicitly. For tracked files run git commit -m "<scoped message>" -- path/to/file1 path/to/file2. For brand-new files, use the one-liner git restore --staged :/ && git add "path/to/file1" "path/to/file2" && git commit -m "<scoped message>" -- path/to/file1 path/to/file2

SPECS

  • When a new specification is given, check for contradictions and highlight them to the prompting user.
  • If a given specification is incomplete, ask for clarifications if necessary.
  • For a given specification, write a short todo list in the FEATURES.md file.
  • For a given specification, write a unit test that covers different scenarios.

Read the full file on GitHub · 52 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 First seen · 52 lines · 723 tokens per session scan A 6871079e84fd

Subscribe to this mod's changes

claudine AGENTS.md is an instructions file published in the GitHub repository salam/claudine (21 stars, last pushed 6mo ago), licensed MIT. It adds 723 tokens to every session, about $0.0029 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