ai-usagebar: Instructions file for Claude Code

CLAUDE.md

ai-usagebar CLAUDE.md is an instructions file for Claude Code from akitaonrails/ai-usagebar. It costs 6,219 tokens per session, scanned D, original, MIT.

A release guide for Claude Code that lists versioning, changelog, comparison, secret-handling, and API check requirements.

In plain words
What is it for?
Use it when preparing releases, updating Cargo and manifest versions, editing the changelog, checking tags, or running API smoke tests safely.
Why use it?
It reduces release mistakes such as mismatched versions, altered old changelog entries, exposed secrets, or unverified live API changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is akitaonrails/ai-usagebar's own configuration. It tells Claude Code how to work on ai-usagebar itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-usagebar configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/akitaonrails/ai-usagebar/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/akitaonrails/ai-usagebar

Made for: Claude Code.

Wrote 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.

agentmods badge for ai-usagebar CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/akitaonrails/ai-usagebar/claude-md/github.svg)](https://agentmods.dev/instructions/akitaonrails/ai-usagebar/claude-md)
Your own site
<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.

agentmods 80×15 button for ai-usagebar CLAUDE.md

Your own site · 80×15
<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>
Per session 6,219 This file is loaded in full into every session.
When invoked 6,219 The same file — it is already loaded in full.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.06219 $0.06219
Opus 5.5 $0.02488 $0.02488
Sonnet 5.5 $0.01244 $0.01244
Haiku 4.5 $0.00622 $0.00622

Measured 15d ago against content hash f9435bc1dccb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 15d 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.

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
CLAUDE.md · 375 lines

How it starts

The opening of the file, as written. The whole thing — 375 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):

  1. Bump all version surfaces — Cargo.toml version, the root Omarchy manifest.json version, and packaging/scoop/ai-usagebar.json version must match the release tag. The Scoop manifest's URL/hash keep the previous release's values in-tree; publish-scoop rewrites them from the published sidecar at release time (verify-version only gates version — v1.20.0 never shipped because the bump missed this file).
  2. Update CHANGELOG.md:
    • Add a new ## [X.Y.Z] — YYYY-MM-DD section 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 changelog-check now does this comparison for you — it diffs every released section against its own tag and refuses a version file that moved backwards, which is the other half of the same hazard (four branches once came back reading 1.12.0 after v1.13.0 shipped). Run it instead of composing the diff by hand; the manual form below is kept because it documents what the script checks.

Read the full file on GitHub · 375 lines

Changes

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.

  1. 15d ago Changed · +2 lines · +33 tokens per session f9435bc1dccb
  2. 20d ago Changed · +5 lines · +123 tokens per session 94a7c74488b9
  3. 24d ago Changed · +6 lines · +113 tokens per session a899f8801156
  4. 26d ago Changed · +5 lines · +98 tokens per session 19301df7833a
  5. 29d ago Changed · +20 lines · +337 tokens per session 3ee24bb596b0
  6. 1mo ago Changed · +4 lines · +72 tokens per session e59d714f5c4d
  7. 1mo ago Changed · +5 tokens per session 421d4922cd32
  8. 1mo ago Changed · +2 lines · +33 tokens per session a2f015241b65
  9. 1mo ago Changed · +2 tokens per session 4a03394797dd
  10. 1mo ago First seen · 331 lines · 5,403 tokens per session scan D f0988ef994e1

Subscribe to this mod's changes

ai-usagebar CLAUDE.md is an instructions file published in the GitHub repository akitaonrails/ai-usagebar (749 stars, last pushed yesterday), licensed MIT. It adds 6,219 tokens to every session, about $0.0249 per session on Opus 5.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.

Related

ai-usagebar CLAUDE.md compared with instructions from other repositories

ai-usagebar CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-usagebar CLAUDE.mdakitaonrails/ai-usagebarInstructions file749yesterdayMITD6,219Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode