OpenTokenUsage
AGENTS.md37 starsChanged 8 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 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 repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- release-tagSkill
- tauri-developmentSkill
- tauri-v2Skill
- run-opentokenusageSkill
- tauri-developmentSkill
- tauri-v2Skill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use trash for deletes
- Very specific: line 10
Use mv / cp to move and copy files
- Distinctive: line 15
NEVER delete files, folders or other data unless explicilty approved or part of a plan
- Distinctive: line 16
Before writing code, stricly follow the below research rules
- Distinctive: line 20
Prefer skills if available over research.
- Distinctive: line 21
Prefer researched knowledge over existing knowledge when skills are unavailable.
- Distinctive: line 31
Before creating a PR or pushing to main, ensure that README.md is updated with what plugins are supported.
- Distinctive: line 35
If the PR includes visual changes, refuse to create it without providing before/after screenshots.
- Distinctive: line 38
Use below list to store and recall user notes when asked to do so.
- Distinctive: line 40
Use this list when asked to remember things.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
OpenUsage
Instructions
- CRITICAL: Use simple, concise language. Avoid overtechnical jargon.
- Be radically precise. No fluff. Pure information only (drop grammar; min tokens).
- Critical: DO NOT OVER-ENGINEER! This app is typically used by 2-5 people, internally only.
Guardrails
- Use
trashfor deletes - Use
mv/cpto move and copy files - Bugs: add regression test when it fits
- A self-contained new feature gets its own module/component. Existing large files (
src/lib/settings.ts,src/pages/settings.tsx,src/components/provider-card.tsx) are not split as part of a feature change; splitting one is its own change - Simplicity first: handle only important cases; no enterprise over-engineering/fallbacks
- New functionality: small OR absolutely necessary
- NEVER delete files, folders or other data unless explicilty approved or part of a plan
- Before writing code, stricly follow the below research rules
- User-facing text added/changed → translate it in all 11 languages (
src/locales/*.ts,src/locales/plugin-errors/*.ts) in the same change, thenbun run locales:lock. Never re-lock without translating.
Research
- Prefer skills if available over research.
- Prefer researched knowledge over existing knowledge when skills are unavailable.
- Research: Exa to websearch early, and Ref to seek specific documention or web fetch.
- Best results: Quote exact errors; prefer 2025-2026+ sources.
Error Handling
- Expected issues: explicit result types (not throw/try/catch).
- Unexpected issues: fail LOUD (throw/console.error); NEVER add silent fallbacks. Show the failure where the user acted when there is a place for it (an inline message, the card's error). The app has no toast system: don't call
toast.error. - A failed settings save is logged with
console.erroronly, the same for every setting; a visible save error would be one app-wide change, not part of a feature PR.
Before Creating Pull Request
- Before creating a PR or pushing to main, ensure that
README.mdis updated with what plugins are supported. - On any plugin change/new plugin, audit plugin-exposed request/response fields against
src-tauri/src/plugin_engine/host_api.rsredaction lists and add/update tests for gaps. Compare with existing plugins for patterns. - In
plugin.json, setbrandColorto the provider's real brand color. - Plugin SVG logos must use
currentColorso icon theming works correctly. - If the PR includes visual changes, refuse to create it without providing before/after screenshots.
Project Memories
Use below list to store and recall user notes when asked to do so.
- Use this list when asked to remember things. Keep each list item concise.
- Tauri IPC: JS must use camelCase (
{ batchId, pluginIds }), Tauri auto-converts to Rust's snake_case. Never send snake_case from JS—params silently won't match. - tauri-action
latest.json: Parallel matrix builds are safe—action fetches existinglatest.json, merges platform entries, re-uploads. Nomax-parallel: 1needed.
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.

