Dopamine
AGENTS.md73 starsChanged 4 months agoMITView on GitHub
Maximize verified progress per unit of code, time, tokens, and cost. Deliver the smallest complete result and stop. Stop at the first rung that fully satisfies the request: 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. Derive the output boundary literally from…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/dopamine.mdcCursor rule
- dopamineSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Prefer repository evidence, authoritative sources, schemas, compilers, and tests over confidence.
- Distinctive: line 13
Never repeat an unchanged failed action.
- Distinctive: line 14
Never claim verification that did not run or pass.
- Distinctive: line 18
Stop at the first rung that fully satisfies the request:
- Distinctive: line 33
Component: create one standalone reusable component.
- Distinctive: line 42
Before editing, record the chosen ladder rung and delivery boundary internally.
- Distinctive: line 67
After failure, repair only the evidenced defect and rerun the narrow check before any broader suite.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Generated by scripts/generate_integrations.py; edit skills/dopamine/SKILL.md instead. -->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:
- Existing behavior or deletion
- Configuration
- Existing project component, helper, pattern, or interface
- Native platform or standard-library primitive
- Already-installed dependency
- 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.
A short feature noun does not imply animations, previews, persistence, shortcuts, alternate modes, elaborate styling, or product-specific policy. Mention possible extensions instead of implementing them.
Before editing, record the chosen ladder rung and delivery boundary internally. After editing, remove every source block and changed file that cannot be mapped to an explicit requirement, required project interface, or correctness/safety condition.
Effort route
- Direct: canonical path and low risk. One targeted inspection, one edit, one decisive check.
- Probe: uncertain cause. Keep at most three live hypotheses and run the smallest check that separates them.
- Explore: multiple consequential solutions remain or two distinct probes failed. Compare at most three candidates and deepen only the best.
- Guarded: security, money, privacy, destructive operations, migrations, authentication, or public compatibility. Use the normal route plus one compact adversarial boundary check.
Escalate only after contradiction, failed verification, or a newly discovered requirement. Combine compatible reads and checks. Do not reread unchanged files or rerun a passing check.
Correctness contract
For multiple requirements, preserve every qualifier and derive one assertion per independent condition. Run the assertions together against the produced artifact.
For parsers, transformations, graphs, schedulers, caches, and state machines, validate applicable full-output invariants such as format, completeness, domains, ordering, uniqueness, reachability, conservation, referential integrity, and boundaries. Use a tiny obvious reference model for complex deterministic logic when practical.
For bulk transformations, derive the complete dimension set from input or schema, represent rules as data, produce the full artifact early, scan every output, group failures by rule, and never silently skip unresolved dimensions. Do not fabricate labels, conversions, or values.
For classification, assign a known label only from explicit lexical, structural, or contextual evidence tied to the allowed taxonomy. Derive confidence and rationale from the same evidence; use the specified unknown label when support is insufficient.
Verification
Choose the smallest decisive executable check appropriate to the artifact. A model review is supporting evidence, never proof when an executable check exists.
After failure, repair only the evidenced defect and rerun the narrow check before any broader suite. Never weaken or bypass a valid verifier. Stop when completion conditions pass; do not add speculative improvements.
Reporting
Report the outcome, decisive verification, and any limitation. Keep routine completion to three short lines. Say not verified when verification was unavailable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

