Borrowing it
Nothing to install: this file belongs to eugeniughelbur/clearmode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/eugeniughelbur/clearmode/main/AGENTS.mdgit clone --depth 1 https://github.com/eugeniughelbur/clearmodeWrote 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.
[](https://agentmods.dev/instructions/eugeniughelbur/clearmode/agents-md)<a href="https://agentmods.dev/instructions/eugeniughelbur/clearmode/agents-md"><img src="https://agentmods.dev/badge/instructions/eugeniughelbur/clearmode/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.
<a href="https://agentmods.dev/instructions/eugeniughelbur/clearmode/agents-md"><img src="https://agentmods.dev/badge/instructions/eugeniughelbur/clearmode/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01110 | $0.01110 |
| Opus 5.5 | $0.00444 | $0.00444 |
| Sonnet 5.5 | $0.00222 | $0.00222 |
| Haiku 4.5 | $0.00111 | $0.00111 |
Grade A, and why
clearmode 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
clearmode is the CLEAR-100 writing standard, 43 rules on 4 axes, plus the checker that scores them. These are the rules for any agent editing this repo.
The one rule that matters
rules/clear-100.json is the single source of truth. Every other rule-bearing file in this repo is generated from it.
Generated, never hand-edited:
SKILL.mdCLEAR-100.mdreferences/rules.mdreferences/lexicons.md- everything under
targets/
To change a rule, a threshold, a word list, or a gloss:
- Edit
rules/clear-100.json. - Run
python3 scripts/compile_targets.py. - Run
python3 -m unittest discover tests -v. - Commit the JSON and the regenerated targets together.
A pull request that edits a generated file by hand gets closed.
Layout
| Path | What it is |
|---|---|
rules/clear-100.json |
every rule, threshold, and lexicon |
rules/preamble.md |
hand-written intro that heads CLEAR-100.md |
scripts/clearcheck.py |
the checker, stdlib only |
scripts/compile_targets.py |
rule pack in, 18 targets out |
commands/ |
slash commands |
tests/ |
unittest suite and fixtures |
install.sh |
detects your agents and installs the right target |
Constraints
- Stdlib only. No pip, no npm, no lockfile. If a feature needs a dependency, the feature is wrong.
- Python 3.10+. Type hints welcome, not required.
- Deterministic. Same input, same score, every run. No model calls in the checker.
- No em-dashes in prose. The standard bans them, so this repo cannot use them.
tests/fixtures/bad.mdis the exception: it exists to contain tells. - No emoji. Anywhere.
- Every rule states its failure mode. A rule with no
whyand nofixdoes not ship.
Adding a rule
- Add the object to
rules.rules[]in the JSON:id,axis,title,severity,detector,weight,why,fix, and abadandgoodpair. - If the detector is
regex, that is all. Otherwise add a_detectormethod onCheckerand dispatch it fromrun(). - Add a fixture case that the rule catches and one it must not.
- Recompile and test.
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.
- 2mo ago First seen · 99 lines · 1,110 tokens per session scan A 320a27e6804d
clearmode AGENTS.md is an instructions file published in the GitHub repository eugeniughelbur/clearmode (3 stars, last pushed 2mo ago), licensed MIT. It adds 1,110 tokens to every session, about $0.0044 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.
clearmode AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clearmode AGENTS.mdeugeniughelbur/clearmode | Instructions file | 3 | 2mo ago | MIT | A | 1,110 | Codex, OpenCode |
| ai-agent-rules-generator ui-design.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 701 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |