Borrowing it
Nothing to install: this file belongs to akitaonrails/ai-usagebar. 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/akitaonrails/ai-usagebar/main/CLAUDE.mdgit clone --depth 1 https://github.com/akitaonrails/ai-usagebarWrote 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/akitaonrails/ai-usagebar/claude-md)<a href="https://agentmods.dev/instructions/akitaonrails/ai-usagebar/claude-md"><img src="https://agentmods.dev/badge/instructions/akitaonrails/ai-usagebar/claude-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/akitaonrails/ai-usagebar/claude-md"><img src="https://agentmods.dev/badge/instructions/akitaonrails/ai-usagebar/claude-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.04777 | $0.04777 |
| Opus 5 | $0.02388 | $0.02388 |
| Sonnet 5 | $0.00955 | $0.00955 |
| Haiku 4.5 | $0.00478 | $0.00478 |
Grade D, and why
ai-usagebar CLAUDE.md scanned grade D with 3 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
the user's choice (and `chmod 600`ed by the Settings overlay), but Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
cp "$t/.SRCINFO-bin" .SRCINFO-bin && rm -rf "$t" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sLO https://github.com/akitaonrails/ai-usagebar/archive/refs/tags/vX.Y.Z.tar.gz How it starts
The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Notes for Claude Code (and humans) about working in this repo. Keep tight: these are invariants we keep almost-forgetting, not a project tour.
Release checklist — must do all of these
When cutting a new version (patch, minor, or major):
- Bump both versions —
Cargo.tomlversionand the root Omarchymanifest.jsonversionmust match the release tag. - Update
CHANGELOG.md:-
Add a new
## [X.Y.Z] — YYYY-MM-DDsection above the previous one. -
Categorize entries by Added / Changed / Fixed / Security (Keep-A-Changelog).
-
Update the
[Unreleased]compare link and add a new release link at the bottom. -
Prove no published section moved, before tagging. Compare the newest released section against its own tag, byte for byte:
prev=$(git describe --tags --abbrev=0) diff <(git show "$prev:CHANGELOG.md" | sed -n "/^## \[${prev#v}\]/,/^## \[/p") \ <(sed -n "/^## \[${prev#v}\]/,/^## \[/p" CHANGELOG.md)Any output means the released section changed. It must compare, not grep for removals. The first version of this check greped
^-and therefore only caught a rewritten entry; #129 branched before v1.8.0 and its[Unreleased]bullet merged in as a pure insertion, adding a feature to a shipped release with no removed line for the grep to find. It passed clean while the section was wrong.make testnow also enforces this without git: a guard test fails if any changelog entry appears under two versions, or if one section repeats a category heading. The manual comparison above stays because it is stronger for the newest section — the guard cannot tell a reworded entry from a new one — but the automated check is what catches a conflict resolution that quietly copies an entry into a published section, which is how it happened the third time.The cause is the same every time: a branch that predates the last tag carries its entries under
[Unreleased], and git merges them cleanly into whatever now sits at that position — which is the section you just published. It happened to v1.6.0 (#127), to v1.8.0 (#129), and to v1.11.0 when a maintainer resolved #152's conflict with a script. A clean merge is not evidence here; the comparison is, and now the guard is too.
-
- Bump
packaging/aur/PKGBUILD—pkgver=X.Y.Z,pkgrel=1, resetsha256sumsto'SKIP'. - Bump
packaging/aur/PKGBUILD-bin— samepkgver,pkgrel=1, reset bothsha256sums_x86_64andsha256sums_aarch64to'SKIP'. - Regenerate both
.SRCINFOs NOW, before tagging — the release workflow'sverify-versionjob rejects the tag ifpackaging/aur/.SRCINFOor.SRCINFO-binstill carry the oldpkgver(learned at v0.17.0, which never shipped for exactly this reason):
The committed files keepcd packaging/aur && makepkg --printsrcinfo > .SRCINFO # PKGBUILD-bin must be named PKGBUILD for makepkg — use a scratch dir: t=$(mktemp -d) && cp PKGBUILD-bin "$t/PKGBUILD" && (cd "$t" && makepkg --printsrcinfo > .SRCINFO-bin) && cp "$t/.SRCINFO-bin" .SRCINFO-bin && rm -rf "$t"sha256sums = SKIP; CI pins the real hashes later. - Run gate before tagging:
make test # cargo test + the desktop JS gate cargo clippy --all-targets -- -D warnings # clean cargo machete # no unused deps omarchy plugin validate . # plugin manifest + entry pointsmake testrather thancargo test: it also runs the GNOME, KDE, and Omarchy frontend contract suites. Ifkde-plasmoid/changed, also bumpKPlugin.Versioninkde-plasmoid/package/metadata.json; it is versioned independently ofCargo.toml, like the GNOMEmetadata.json. - Commit, tag, push:
git commit -m "vX.Y.Z — …" git tag -a vX.Y.Z -m "vX.Y.Z — …" git push origin main && git push origin vX.Y.Z - Wait for CI (3–5 min): the tag push auto-triggers
.github/workflows/release.ymlwhich builds both x86_64 and aarch64 tarballs and publishes a GitHub Release. - AUR push is automated via CI when
AUR_SSH_KEYis set (since v0.4.4). Thepublish-aurjob in.github/workflows/release.ymlruns afterbuild+releasesucceed, pins the real sha256s into both PKGBUILDs (steps 3-4's'SKIP's), regenerates the.SRCINFOs, and pushes viaKSXGitHub/github-actions-deploy-aur. The manual fallback below is for when the secret isn't configured or CI is unavailable.
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 · +21 lines · +380 tokens per session ebe31627c369
- 3d ago Changed · +9 lines · +134 tokens per session 7937d9efdad7
- 11d ago First seen · 264 lines · 4,263 tokens per session scan D c677b3ff095c
ai-usagebar CLAUDE.md is an instructions file published in the GitHub repository akitaonrails/ai-usagebar (429 stars, last pushed yesterday), licensed MIT. It adds 4,777 tokens to every session, about $0.0239 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.