code-comments
Skill20k starsChanged 3 days agoMITView on GitHub
Applies the ccusage comment rule when writing, reviewing, or deleting code comments in any repository language, including source files, configuration, workflows, and build scripts.
35 other projects use a version of this; 1 new project in the last 4 weeks, against 0 the 4 before.
Adopted by
Surging: 1 new project took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Livinglist/Hackitheir own version, first seen Nov 30, 2026
- ccusage/ccusageword for word, first seen Nov 29, 2026
- TheAxeC/ordotheir own version, first seen Nov 29, 2026
- cheap-pets/skillstheir own version, first seen Nov 29, 2026
- tonanywhere/my-favorite-promptstheir own version, first seen Nov 29, 2026
- bmsuisse/skillstheir own version, first seen Nov 27, 2026
Who's talking about ryoppippi/ccusage
- Mikołaj Abramczuk“Jak działa Claude Code? Wszystko, co musisz wiedzieć”YouTube · Mar 17, 2026 · 60k views
- Greg Baugues“ccusage: The Claude Code cost scorecard that went viral”YouTube · Jul 10, 2025 · 20k views
- AI Coding Daily“Claude Code 5-hour Session: How Many Tokens Used/Left?”YouTube · Jul 29, 2025 · 13k views
- AI Coding Daily“I Tried CodeBurn: Where My Tokens Go in Claude Code / Codex?”YouTube · Apr 15, 2026 · 5.3k views
- Matt Palmer“Anthropic's NEW pricing for Claude Code”YouTube · May 14, 2026 · 5.2k views
The biggest 5 of 73 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 73
Talked about on GitHub, YouTube, Bluesky, Hacker News and the web (73 times).
On GitHub · 31
- Jun 7, 20255 hours sessions tracker — ccusage/ccusage11 reactions · 6 comments
- Aug 23, 2025feat: adding configurable token limits — ccusage/ccusage3 reactions · 3 comments
- Jun 23, 2025Show potential cost even when using subscription — anomalyco/opencode3 reactions · 5 comments
- Apr 4, 2026fix(better-ccusage): use absolute session glob paths on Windows — cobra91/better-ccusage2 reactions · 4 comments
- Sep 17, 2025feat: codex — ccusage/ccusage2 reactions · 13 comments
26 more on GitHub
- Jul 29, 2025Add weekly usage command — ccusage/ccusage2 reactions · 6 comments
- Jun 19, 2025Evaluation: check tokens saved due to serena on selected tasks — oraios/serena2 reactions
- Jun 6, 2026ci(nix): cache the dev-shell closure and drop unused cachix — ccusage/ccusage1 reaction · 11 comments
- Jun 1, 2026Support Claude Desktop Cowork usage — ccusage/ccusage1 reaction · 5 comments
- Jun 1, 2026Sharpen README first viewport — grnbtqdbyx-create/contextforge1 reaction
- May 31, 2026feat(usage): Claude/Codex usage monitoring via ccusage sidecar — AkaraChen/aghub1 reaction · 8 comments
- May 27, 2026chore(deps): bump the npm-major group across 1 directory with 39 updates — goodwiins/NOUS-Research-Assistant1 reaction · 4 comments
- May 25, 2026chore(deps): bump the npm-major group with 38 updates — goodwiins/NOUS-Research-Assistant1 reaction · 3 comments
- May 24, 2026fix(deps): update all non-major dependencies (patch) — shunkakinoki/dotfiles1 reaction · 3 comments
- May 10, 2026feat: add implementation time (active + calendar) to PR cost stamp — ahrenatechnology/ahrena1 reaction
- Apr 14, 2026Codex usage can be severely overstated for fork-heavy users until @ccusage/codex is updated — ohong/straude1 reaction · 8 comments
- Mar 20, 2026Cache creation cost underestimated: 1-hour cache writes priced at 5m rate (1.25x) instead of 2x — ccusage/ccusage1 reaction · 4 comments
- Mar 6, 2026Expose /fast mode usage in session logs — openai/codex1 reaction · 1 comment
- Feb 21, 2026Feature: Add cost ($) to token usage — matt1398/claude-devtools1 reaction · 1 comment
- Dec 3, 2025ccusage compatibility for session logs — earendil-works/pi1 reaction · 3 comments
- Oct 13, 2025docs: Include information about the default value for the log retention period in a NOTICE block — ccusage/ccusage1 reaction · 3 comments
- Sep 9, 2025feat: add intelligent file caching and time-based filtering for statu… — ccusage/ccusage1 reaction · 6 comments
- Jul 21, 2025Add items to readme — jooooel/TIL1 reaction
- Jul 6, 2025fix(live-monitor): exclude cache tokens from burn rate indicators — ccusage/ccusage1 reaction · 3 comments
- Jun 20, 2025ccusage: init at 15.2.0 — NixOS/nixpkgs1 reaction · 14 comments
- May 21, 2026Investigate if integration with ccusage would benefit — richardbenson/claude-plan-executor0 reactions
- May 13, 2026Automatically track usage across all vendors — warpdotdev/warp0 reactions · 3 comments
- Aug 25, 2025claude code使用技巧 — SkyWongHZ/review_fe0 reactions
- Jul 22, 2025ccusageを使って、1日のClaudeの利用料金や使用量などをグラフで見たい — kwmt/ClaudeCodeManager0 reactions
- Jul 16, 2025Differentiate between Sonnet and Opus calls — suzuki0430/ccusage-vscode-extension0 reactions
- Jun 22, 2025feat: add ccusage for Claude Code usage monitoring — atxtechbro/dotfiles0 reactions
On YouTube · 21
- Mar 17, 2026Jak działa Claude Code? Wszystko, co musisz wiedzieć — Mikołaj Abramczuk60k views · 156 comments
- Jul 10, 2025ccusage: The Claude Code cost scorecard that went viral — Greg Baugues20k views · 56 comments
- Jul 29, 2025Claude Code 5-hour Session: How Many Tokens Used/Left? — AI Coding Daily13k views · 6 comments
- Apr 15, 2026I Tried CodeBurn: Where My Tokens Go in Claude Code / Codex? — AI Coding Daily5.3k views · 9 comments
- May 14, 2026Anthropic's NEW pricing for Claude Code — Matt Palmer5.2k views · 18 comments
16 more on YouTube
- Oct 19, 2026Testing AgentPlay: The good, the bad, and the cost #aiagents #coding — DIY Smart Codesays it tested it3.5k views · 3 comments
- Oct 14, 2026Can your gaming PC replace your $200 AI subscription? — KernelBrief1.9k views · 7 comments
- Jun 8, 2026🔍 ccusage — Claude Code のコストをローカルで丸見えにする OSS #claude #claudecode #ccusage — ☕ Claude Code Cafe1.2k views
- Sep 7, 2026ccusage CLI: Track Claude Code + Codex Token Usage and Cost (Free, +6 Agents) — CloudYeti | Practical AI Engineering1k views · 8 comments
- Aug 17, 2025Claude Code Tutorial for Beginners (AI Code Editor) — TechKevin800 views · 4 comments
- Oct 27, 2026Is Claude Code Worth It? API vs Subscription Cost — Simply Raoul794 views · 3 comments
- May 7, 2026ccusage - GitHub Trending Today — GitHub Trending Digest665 views
- Nov 3, 2026Seu Limite do Claude Code Acaba Rápido? Descubra Pra Onde Foi 🔍 #shorts #claudecode — Vitor Menoli363 views
- May 10, 2026ccusage: See How Much Claude Code Actually Costs You — DevDrop323 views
- Sep 18, 2026🗝️ Three Ways to See Where Your Tokens Went — Claude Code #claude #claudecode — ☕️ Claude Code Cafe217 views
- Mar 31, 2026How To Stop Wasting Claude Tokens & Get More From Your Pro / Max Plan — The Vibe Coding Lab178 views
- Jul 19, 2025GitHub - ryoppippi/ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files. — GitHub Daily Trend AI Podcast161 views
- Aug 8, 2026Claude Code Did $3,500 Of Work On My Laptop — Renato Dinis | Build With AI133 views
- Jul 24, 2026Your AI agent is spending your money right now (put a meter on it) — AITechZco Pulse64 views
- Nov 6, 2026Your AI coding limit hits with zero warning. Every fix, ranked — Claudesseus16 views
- Nov 2, 2026This Free Command Shows Exactly How Much Your Claude Code Habit Really Costs — Santiago "Jimmy" Garcia III15 views · 1 comment
On Bluesky · 14
- Nov 3, 2025I think a lot of people don't know you can use pay-as-you-go with an API key in every tool and not commit to a monthly sub. and you can… — @davidcrespo.bsky.social4 likes and reposts
- Jun 19, 2025ryoppippi 라는 일본쪽 개발자 분을 neovimconf.live에서 발표했을때 인연으로 지나친 적 있어서 일방적으로(?) 알고 있긴 한데, ccusage 같은 것도 만드시고 한국 기업인 뤼튼테크놀로지에서도 잠깐 일하시기도 하셨더라...… — @kodingwarrior.hackers.pub.ap.brid.gy3 likes and reposts
- Apr 20, 2026Want to see your #Claude and #Codex app 📈usage❓ Use the ccusage #npm app. For Codex open your 🖥️ terminal and enter: 𝚗𝚙𝚡… — @dmenis.bsky.social2 likes and reposts
- Jul 18, 2025Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files | Discussion — @hackernewsbot.bsky.social2 likes and reposts
- Jun 11, 2025github.com/ryoppippi/cc... — @mitsuhiko.at2 likes and reposts · 1 reply
9 more on Bluesky
- Jun 7, 2025Funny to use github.com/ryoppippi/cc... to see how many Opus $ I've spent so far :D I'm currently running a Claude Max subscription — @icepuma.dev2 likes and reposts
- Jun 10, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 ryoppippi / ccusage ⭐ 15,893 (+102) 🗒 Rust Analyze coding (agent) CLI token usage and costs from local… — @github-trending-rs.bsky.social1 likes and repost
- Jun 4, 2026ryoppippi / ccusage: Analyze coding (agent) CLI token usage and costs from local data. ★15535 https://github.com/ryoppippi/ccusage — @rusttrending.bsky.social1 likes and repost
- May 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ryoppippi / ccusage ⭐ 14,954 (+227) 🗒 Rust Analyze coding (agent) CLI token usage and costs from… — @github-trending-rs.bsky.social1 likes and repost · 1 reply
- May 15, 2026probably accurate / approaching accuracy. This is here is from my private device - hence only hobby coding after work. Tool:… — @fubits.dev1 likes and repost
- Jan 21, 2026📦 ryoppippi / ccusage ⭐ 10,025 (+40) 🗒 TypeScript A CLI tool for analyzing Claude Code/Codex CLI usage from local JSONL files. — @github-trending-js.bsky.social1 likes and repost
- Jul 21, 2025Claude Codeの利用状況を解析/表示するCLIツール。昨日homebrewに追加されてbrew install ccusageでインストールできるようになった模様。 — @matsuu.bsky.social1 likes and repost
- Jul 28, 2025This one will show you how much token and how much you should have to pay if you’re using the API github.com/ryoppippi/cc... — @zaher.dev0 likes and reposts · 1 reply
- Jun 22, 2025ryoppippi/ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files. https://github.com/ryoppippi/ccusage #claudecode — @x.laoda.ge.ap.brid.gy0 likes and reposts · 1 reply
On Hacker News · 4
- Jul 18, 2025Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files75 points · 30 comments
- Jul 14, 2025Claude Code token usage and costs from local JSONL files4 points · 1 comment
- Jun 7, 2025Ccusage: CLI tool for analyzing Claude Code usage4 points
- Jun 10, 2025ccusage: A CLI tool for analyzing Claude Code usage2 points
On the web · 3
- Nov 6, 2026ccusage | AI Native Landscape — landscape.jimmysong.io
- May 19, 2026"ccusage v20 is out!!!! this is the biggest release ever(yes, ... — x.com
- May 29, 2025ccusage · 19.5k Observability - AgentList — agentlist.top
Used with
Projects with it also use codebase-design, improve-codebase-architecture and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcodebase-design
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
Also in 5 projects that use this
GoogleSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 5 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
HashiCorpSkillchangelog
Add a Changie change fragment (`.changes/<major>.x/unreleased/*.yaml`) for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
- +1 more from google
Other versions35 projects use a version of this.
Word for word · 1
- ccusage/ccusage★ 20k100% same
Edited · 0
None found.
Wrote their own version · 34
- Livinglist/Hacki★ 1.6ksame name
- bholmesdev/hubble.md★ 1.5ksame name
- KittyCAD/modeling-app★ 1.4ksame name
- overmind-core/overmind★ 798same name
- AllayMC/Allay★ 346same name
- pensarai/apex★ 339same name
- portabletext/editor★ 290same name
- petekp/claude-code-setup★ 50same name
- keitakn/engineering-skills★ 17same name
- caidanw/skills★ 11same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agent-sourcesSkill
- ast-grepSkill
- blacksmith-testboxSkill
- cmux-debugSkill
- commitSkill
- create-prSkill
- developmentSkill
- docsSkill
- fix-ciSkill
- nushellSkill
- profileSkill
- reduce-similaritiesSkill
- rust-binary-sizeSkill
- rustSkill
- skill-creatorSkill
- tddSkill
- testingSkill
- typescriptSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Default to no comment. Keep a comment only for a fact a reader cannot derive from the code and would otherwise undo by mistake.
- Distinctive: line 18
No comments after code on the same line.
- Distinctive: line 19
Put change history and reasons for config entries or small diffs in commits.
“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Comments
- Default to no comment. Keep a comment only for a fact a reader cannot derive from the code and would otherwise undo by mistake.
- Use
// NOTE(YYYY-MM-DD[, <agent CLI> <version>][, #<issue or PR>]): <fact>. <why>.with the language's line-comment prefix (#for Nushell, shell, Nix, TOML, YAML and just,;for Babashka). Date the fact when it was found or verified. Name the agent CLI and version used to verify any claim about its log format. Include the issue or PR when one exists. The source must be clear. - Allow
// SAFETY:immediately above a Rust unsafe block. Allow///onpubitems that another crate uses as API and on the schema structs and their fields inconfig_schema.rs. Allow//!at crate roots only. - No comments after code on the same line. No TODO, FIXME, HACK or XXX markers. Put change history and reasons for config entries or small diffs in commits.
- Exempt shebangs and tool directives such as
#!,# shellcheck,// biome-ignore,# yaml-language-serverand Cargo, rustfmt and Clippy configuration syntax. Give@ts-expect-errora dated reason. - Exempt Renovate version tags after 40-hex SHA-pinned
uses:entries in YAML under.github/. - Exempt just recipe docs shown by
just --list, Nushelldefhelp and parameter comments, licensing headers, generated files, test fixture data and golden snapshots.
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.

