dev: Instructions file for Codex

AGENTS.md

dev AGENTS.md is an instructions file for Codex, OpenCode from plasma-ai/dev. It costs 6,117 tokens per session, scanned A, original, Apache-2.0.

Organization-wide instructions for coding agents working on repositories owned by the plasma-ai development organization.

In plain words
What is it for?
Use them as guidance when an agent works in one of the organization's repositories and needs to follow its communication and workflow conventions.
Why use it?
They give agents consistent rules for answering questions, planning work, editing files, and using Git across the organization's projects.

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 plasma-ai/dev's own configuration. It tells Codex and OpenCode how to work on dev 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 dev configures →

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/plasma-ai/dev/agents-md"><img src="https://agentmods.dev/badge/instructions/plasma-ai/dev/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,117 This file is loaded in full into every session.
When invoked 6,117 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.06117 $0.06117
Opus 5.5 $0.02447 $0.02447
Sonnet 5.5 $0.01223 $0.01223
Haiku 4.5 $0.00612 $0.00612

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

Security

Grade A, and why

dev 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 26d 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 · 481 lines

How it starts

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

AGENTS

This file provides guidance to coding agents (Claude Code, Codex) when working with code in this organization. It is the org-wide root file — every repository under the org loads it alongside its own AGENTS.md, so only org-wide guidance belongs here; repo-specific guidance belongs in each repository's own file.

Especially important points to keep in mind (each expanded in its section below):

  • Questions are not edit requests. When a message asks a question without explicitly requesting a change, answer and stop (Communication).
  • Write clear and concise English. Write clear, concise, plain English which can be quickly and easily parsed by the user — answer questions directly in short form unless elaboration is requested (Writing Style).
  • Seek the best solution, not agreement. When you think the user is wrong, don't be afraid to say so — the right answer matters more than the path of least resistance (Pushing Back).
  • Choose solutions that generalize. Define the requirement before choosing an approach. Consider alternatives and base each choice on the problem and known constraints. Do not choose an approach for convenience or overfit it to the cases tried during development (Principled Solutions).

Workflow

Git Workflow

Infer the workflow and authorized Git actions from the user's instructions and the conversation. We provide some common workflows, but tasks may combine them or follow a different arrangement. The user does not need to name a workflow. Follow the agreed scope, and if it is unclear what workflow(s) you should be adopting, it is always better to ask. Once a workflow is adopted, assume that it remains in effect within that scope until the user asks to change it.

  • The user may review as work proceeds. This is common for smaller tasks or consequential changes that need close review. The user stages edits to mark them reviewed, then reviews new unstaged edits separately. Leave your changes unstaged. Do not stage, unstage, stash, discard, commit, or push unless the user authorizes that action. Treat newly staged changes as intentional; do not ask why they were staged or restore an earlier staging state. Only deviate when the user has requested you to do so explicitly.
  • The user may authorize commits and pushes. Work directly in the repo's main checkout on the agreed branch. Stage, commit, and push the task's changes as you go. Before the first push, ask for permission unless the user has already explicitly authorized it. Ask if the scope of that permission is unclear. Use standing authorization within the agreed task scope without asking for each operation.
  • The user may ask for work delivered through a pull request. Use a separate implementation worktree for the PR branch. A request to open or update a PR authorizes the staging, commits, and pushes needed for that PR. Keep the user's main checkout and its staged and unstaged work intact. Merge only when authorized.
  • Preserve work outside your task. Git authorization covers the agreed work. Do not include unrelated changes in commits or disturb the user's work outside that scope. Prefer git show HEAD:<file> or git diff HEAD to inspect earlier code without disturbing the working tree or staging area.
  • No session identifiers or tool footers in anything published. Commit messages end at the co-author trailer (Co-Authored-By: ...) — never append session or conversation identifiers, links back into an agent harness, or trailers of that kind (e.g. Claude-Session:) to commits, PR or issue bodies, comments, release notes, or any committed file. Do not add "Generated with ..." footers or tool badges to PRs or issues either; the co-author trailer is the only attribution that belongs anywhere. Harness trailers found in existing git history are defects, not a pattern to imitate.

Read the full file on GitHub · 481 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. 26d ago Changed · +20 lines · +268 tokens per session 62bfcff5df2b
  2. 1mo ago Changed · +7 lines · +86 tokens per session 3eac321377e6
  3. 1mo ago Changed · +8 lines · +158 tokens per session ef10b1c306c8
  4. 2mo ago Changed · +1 lines · +35 tokens per session 05acbe75f0b1
  5. 2mo ago Changed · +35 lines · +453 tokens per session 8b579f243794
  6. 2mo ago First seen · 410 lines · 5,117 tokens per session scan A 4592a5e84141

Subscribe to this mod's changes

dev AGENTS.md is an instructions file published in the GitHub repository plasma-ai/dev (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 6,117 tokens to every session, about $0.0245 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

dev AGENTS.md compared with instructions from other repositories

dev AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev AGENTS.mdplasma-ai/devInstructions file33d agoApache-2.0A6,117Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot