Borrowing it
Nothing to install: this file belongs to cleanunicorn/earheart. 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/cleanunicorn/earheart/main/AGENTS.mdgit clone --depth 1 https://github.com/cleanunicorn/earheartWrote 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/cleanunicorn/earheart/agents-md)<a href="https://agentmods.dev/instructions/cleanunicorn/earheart/agents-md"><img src="https://agentmods.dev/badge/instructions/cleanunicorn/earheart/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/cleanunicorn/earheart/agents-md"><img src="https://agentmods.dev/badge/instructions/cleanunicorn/earheart/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.05066 | $0.05066 |
| Opus 5.5 | $0.02026 | $0.02026 |
| Sonnet 5.5 | $0.01013 | $0.01013 |
| Haiku 4.5 | $0.00507 | $0.00507 |
Grade A, and why
earheart 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 yesterday.
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 — 418 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Earheart — Agent guide
Guidance for AI agents (and humans) contributing to Earheart.
Earheart is a hotkey-driven voice dictation app (Electron) that speaks a prompt
into Claude Code, Codex, Cursor, or any focused window, fully local. A change is
done when its code, tests, and docs land together in one reviewed PR with CI
green on Linux, macOS, and Windows. This project follows GitHub flow: main is
always releasable, all work happens on short-lived branches, and every change
lands through a reviewed pull request.
Read README.md for setup, and CONTRIBUTING.md for the full architecture. This file is the operational checklist for how to work here.
Prerequisites
- Node.js ≥ 22.12 + npm — the locked Electron toolchain needs 22.12.
.nvmrcis provided, sonvm usepicks up the newest Node 22. - The
ghCLI — for opening PRs. - A display for the smoke checks — on Linux, the
makesmoke targets already wrap Electron inxvfb-run -a(install Xvfb); on macOS and Windows run the underlyingnpx electron …commands directly, as CI does. - GNU Make — for the
maketargets (on Windows, run the underlying commands instead). uv— only if you touch the optional Python server instt-server/.- No keys needed. Built-in models download to Electron's
userData/modelson first use; tests and smoke checks don't need them present.
Commands
The Makefile wraps most tasks; make help lists them all.
- Install / bootstrap:
make install(npm ci, exactly as locked, then fetches the Electron binary, as CI does). To add or bump a dependency, usemake deps-update(npm install) and commit the updatedpackage-lock.json. - Run locally:
make run - Lint / format / type-check: none — plain JavaScript, no linter configured.
- Test (all):
make test(node --testwith a 30 s per-test timeout, no framework) - Test (single file):
node --test --test-timeout=30000 test/pipeline.test.js - Smoke checks (Linux):
make smoke,make engine-smoke,make overlay-smoke,make settings-smoke(each wrapsxvfb-run -a) - Smoke checks (macOS / Windows): the same commands without
xvfb-run:npx electron . --smoke-test --no-sandbox, thennpx electron scripts/<engine|overlay|settings>-smoke.js --no-sandbox - STT server tests:
make test-stt(runsuv run --locked --extra test python -m pytestinstt-server/) - Cleanup model benchmark (optional; needs a downloaded GGUF, not part of
the gate):
node scripts/bench-cleanup.mjs --out=<dir outside the repo> <model.gguf>;--probe <owner/repo> <file.gguf>checks a candidate on Hugging Face without downloading it, and--report <dir>rebuilds the comparison tables from saved runs. Method and recorded numbers: docs/cleanup-models.md - Technical dictation eval (optional; needs a downloaded GGUF, not part
of the gate):
node scripts/eval-technical.mjs [--gpu] --out=<dir outside the repo> [--prompt=<base prompt file>] <model.gguf>, then `--report - Long-recording STT measurement (optional; needs Electron and the
scripts/eval-stt.jscorpus/model cache, not part of the gate):xvfb-run -a npx electron scripts/eval-long-decode.js --no-sandbox --cache-dir <cache> --out <file outside the repo> --single; exits 1 when a long recording loses words.--beforeadds the old cut-at-every-pause splitter side by side, and--dictation [--seed N]runs dictation-shaped recordings (hesitations, clicks, breaths). Method and recorded numbers: docs/long-recordings.md - Build:
make dist(current platform) - Release merged PRs:
make releasedispatches the catch-up release workflow on remotemainusing authenticatedgh. It creates one version for all pending merged PRs; local changes are excluded. Track completion withgh run list --workflow auto-release.yml.
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.
- yesterday Changed · +9 lines · +155 tokens per session e02f25d571fc
- 12d ago Changed · +6 lines · +127 tokens per session 397f26540ae5
- 13d ago Changed · +2 lines · +29 tokens per session 422a600bb62b
- 27d ago Changed · +7 lines · +118 tokens per session aab50c4e83b7
- 29d ago Changed · +13 lines · +236 tokens per session ab642f512603
- 1mo ago Changed · +2 lines · +46 tokens per session 0988f1a5754c
- 1mo ago Changed · +5 lines · +74 tokens per session fa3a77f69633
- 1mo ago Changed · +20 lines · +336 tokens per session 5e3539603490
- 1mo ago Changed · +4 tokens per session 636a3e372aa8
- 1mo ago First seen · 354 lines · 3,941 tokens per session scan A 006a2e8e734d
earheart AGENTS.md is an instructions file published in the GitHub repository cleanunicorn/earheart (34 stars, last pushed yesterday), licensed MIT. It adds 5,066 tokens to every session, about $0.0203 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-30.
earheart AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| earheart AGENTS.mdcleanunicorn/earheart | Instructions file | 34 | yesterday | MIT | A | 5,066 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |