ClaudeBar: Skill for Claude Code

.claude/skills/add-report/SKILL.md

add-report is a skill for Claude Code from tddworks/ClaudeBar. It costs 107 tokens per session (3,247 once invoked), scanned A, original, Apache-2.0.

A guide for adding report cards to ClaudeBar that read local data, calculate metrics, and show comparisons with changes from an earlier value.

In plain words
What is it for?
Use it for reports such as weekly summaries, model breakdowns, and session statistics, or for other cards that aggregate local data.
Why use it?
It defines a consistent way to turn local information into summaries without designing each analytics card from the beginning. It also clarifies that the cards should show both results and comparison changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool; positional $N argument; mentions AGENTS.md.

This is tddworks/ClaudeBar's own configuration. It tells Claude Code how to work on ClaudeBar 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 ClaudeBar configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Check the design first** — the docs are the source of truth ([AGENTS.md](../../../AGENTS.md#design-docs-are-the-source-of-truth)):.

About the project

ClaudeBar is a macOS menu bar application that displays remaining quotas, credits, balances, and reset times for AI coding services. It is for developers who use services such as Claude, Codex, Gemini, Copilot, or Cursor and want to monitor their usage from one place.

tddworks/ClaudeBar · 1,557 stars · on GitHub · claudebar.tddworks.com

Reuse

Borrowing it

Nothing to install: this file belongs to tddworks/ClaudeBar. 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/tddworks/ClaudeBar/main/.claude/skills/add-report/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tddworks/ClaudeBar

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 add-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/tddworks/claudebar/add-report/github.svg)](https://agentmods.dev/skills/tddworks/claudebar/add-report)
Your own site
<a href="https://agentmods.dev/skills/tddworks/claudebar/add-report"><img src="https://agentmods.dev/badge/skills/tddworks/claudebar/add-report/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 add-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/tddworks/claudebar/add-report"><img src="https://agentmods.dev/badge/skills/tddworks/claudebar/add-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 74
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00107 $0.03247
Opus 5.5 $0.00043 $0.01299
Sonnet 5.5 $0.00021 $0.00649
Haiku 4.5 $0.00011 $0.00325

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

Security

Grade A, and why

add-report 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 4d 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.

.claude/skills/add-report/SKILL.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Report Card to ClaudeBar

Add report cards that turn a login's usage history into metrics with comparison deltas, shown in the existing card style, test first.

When to Use

This skill covers report-style features — cards that:

  • Aggregate a login's days of usage (cost, tokens, time, sessions)
  • Compare periods (today vs yesterday, this week vs last week)
  • Read another tool's usage logs (as data in its definition)
  • Display results in cards matching the existing UI

First, which kind of report is it?

Usage history is data now (daily-usage design). A report is almost always a new view over days the login already reads, not new reading code. Place it before anything else:

The person wants… It is You write
a new look at usage this app already reads — this week vs last, cost per model, a 30-day chart a report over days: the page asks account.usageHistory?.days(in: range) and a value in Quotas turns the days into the report a Quotas value + its tests, a card. No reading code
the same history for another tool (its own log files) a usageHistory block in that provider's definition JSON (paths, where, fields, prices), its golden tests — no Swift
history from a log format no reader understands yet a new reader, named for the format, in Modules/DataSources/Sources/Internal/Logs/ the reader, test-first in DataSourcesTests, then the JSON; a row in ENGINE_DESIGN §1
an answer to a different question than "how much did I use?" a capability (CANONICAL §2.1): declared in the definition, a handle on Account that is nil when not declared design first; a runner outside the modules is supplied by the Engine (TARGET_ARCHITECTURE §10)

Never: a field on UsageSnapshot (the kernel is shrinking toward Usage, CANONICAL_MODEL §6), an XxxAnalyzer / XxxAnalyzing protocol, a parser in Sources/Infrastructure, or a vendor-named type in a module.

Read the full file on GitHub · 276 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed 9ddaaac3f2ee
  2. 8d ago Changed bcef0cdc275a
  3. 21d ago Changed · -132 lines · +2 tokens per session 5711318ed9ff
  4. 22d ago Changed · +8 lines 5bbf6a2f61f2
  5. 23d ago Changed · -1 lines a3beb7cf5257
  6. 25d ago Changed · -11 lines 4bfca963574a
  7. 1mo ago First seen · 412 lines · 105 tokens per session scan A b0bc87c09209

Subscribe to this mod's changes

add-report is a skill published in the GitHub repository tddworks/ClaudeBar (1,557 stars, last pushed yesterday), licensed Apache-2.0. It adds 107 tokens to every session and 3,247 once invoked, about $0.0004 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.