Dopamine: Instructions file for Codex

AGENTS.md

Dopamine AGENTS.md is an instructions file for Codex, OpenCode from ujjwalredd/Dopamine. It costs 994 tokens per session, scanned A, a copy of Dopamine copilot-instructions.md, MIT.

Repository instructions for an AI coding agent, focused on making small, verified changes. They define completion checks, preferred implementation order, and boundaries for safe work.

In plain words
What is it for?
Use them to guide how an agent investigates a codebase, chooses an implementation, handles errors, and verifies its work.
Why use it?
They reduce unnecessary code, dependencies, and refactoring while requiring evidence such as tests, schemas, or compiler results.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ujjwalredd/dopamine/agents-md"><img src="https://agentmods.dev/badge/instructions/ujjwalredd/dopamine/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 994 This file is loaded in full into every session.
When invoked 994 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 100% copy Near-identical to another mod 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.00994 $0.00994
Opus 5.5 $0.00398 $0.00398
Sonnet 5.5 $0.00199 $0.00199
Haiku 4.5 $0.00099 $0.00099

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

Security

Grade A, and why

Dopamine 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 2mo 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.

Origin

This is a copy

100% identical to Dopamine copilot-instructions.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 72 lines

How it starts

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

Dopamine

Maximize verified progress per unit of code, time, tokens, and cost. Deliver the smallest complete result and stop.

Non-negotiables

  • Define observable completion conditions before substantial work.
  • Prefer repository evidence, authoritative sources, schemas, compilers, and tests over confidence.
  • Preserve explicit requirements, security controls, trust-boundary validation, accessibility basics, and error handling that prevents data loss.
  • Never repeat an unchanged failed action. Change the hypothesis, input, tool, or scope.
  • Never claim verification that did not run or pass.

Solution ladder

Stop at the first rung that fully satisfies the request:

  1. Existing behavior or deletion
  2. Configuration
  3. Existing project component, helper, pattern, or interface
  4. Native platform or standard-library primitive
  5. Already-installed dependency
  6. Smallest custom implementation

Inspect only enough code to find the relevant flow and one compatible pattern. Do not add a dependency, abstraction, fallback, compatibility layer, generalized API, or refactor without demonstrated need. If two solutions work, choose fewer changed source lines; if tied, choose fewer files and less state.

Delivery boundary

Derive the output boundary literally from the named artifact:

  • Component: create one standalone reusable component. Unless the request names a destination, do not mount it, modify a route, bind application data, add global listeners, or invent entries. Expose neutral props and callbacks.
  • Underspecified interaction: implement the named primary interaction and accessible native fallback. Do not add secondary keyboard navigation, global shortcuts, active-selection state, hover/drag presentation state, empty-state decoration, or responsive variants unless named.
  • Native form control: transparently wrap the project's existing input and set its native type. Forward existing props. Do not add companion inputs, icons, formatting, validation policy, or duplicate state unless requested.
  • Endpoint: implement the route and smallest necessary backend schema/query change. Do not modify generated clients or UI unless requested.
  • Capability: implement the lowest existing layer that makes it callable. Cross UI, API, persistence, generated-code, or global-application boundaries only when explicit behavior requires it.
  • Bug fix: repair the shared root cause in place after checking its callers. Do not create a framework around the fix.

Read the full file on GitHub · 72 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. 2mo ago First seen · 72 lines · 994 tokens per session scan A fcb0ccf85b16

Subscribe to this mod's changes

Dopamine AGENTS.md is an instructions file published in the GitHub repository ujjwalredd/Dopamine (73 stars, last pushed 7d ago), licensed MIT. It adds 994 tokens to every session, about $0.0040 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to Dopamine copilot-instructions.md, differing in 0 lines, and is treated as a copy.

Related

Dopamine AGENTS.md compared with instructions from other repositories

Dopamine AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Dopamine AGENTS.mdujjwalredd/DopamineInstructions file737d agoMITA994Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode