local-budget: Skill for Claude Code

.claude/skills/budget-visualizer/SKILL.md

budget-visualizer is a skill for Claude Code from natejswenson/local-budget. It costs 39 tokens per session (2,745 once invoked), scanned A, original, MIT.

A shared set of rules for creating visual budget reports, including how charts, colours, money amounts, and spending flags are rendered.

In plain words
What is it for?
Use it when a budget skill needs to produce a chart or a complete visual report showing spending, budgets, trends, and flagged items.
Why use it?
It keeps budget reports consistent and ensures calculations and classifications come from the same tested data-processing code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

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

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 budget-visualizer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/natejswenson/local-budget/budget-visualizer"><img src="https://agentmods.dev/badge/skills/natejswenson/local-budget/budget-visualizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,745 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.
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.00039 $0.02745
Opus 5 $0.00019 $0.01373
Sonnet 5 $0.00008 $0.00549
Haiku 4.5 $0.00004 $0.00275

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

Security

Grade A, and why

budget-visualizer 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 10d 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/budget-visualizer/SKILL.md · 204 lines

How it starts

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

Budget Visualizer — the shared visual discipline

This is the shared visual discipline any budget-* skill references when the user wants a chart or full visual report. The individual skill still decides WHEN to offer one.

The primary path: render_report

Visual reports are rendered by the deterministic renderer (src/local_budget/report/), not hand-authored per request. The skill that owns the request (normally budget-monthly-brief) calls render_report(period, narrative?) after user confirmation. The renderer:

  • builds the fixed page — masthead → stat strip → spend-vs-budget chart → monthly trend → flags — directly from reports.py/detect.py data, so the over/floor classification, the shared bar scale, the anomaly month-filter, the recurring cross-reference (aliases, bill-like allowlist), and money formatting are all computed once, server-side, and covered by tests (tests/test_report_charts.py, tests/test_report_flags.py);
  • renders in PRESS — the warm-paper editorial brand shared with local-fitness, city-report, devlog, ghostwriter and the résumé. Owned by src/local_budget/report/brand.py (paper #F5F0E6, ink #181510, dim #6E675C, accent #E8501F), overridable via BUDGET_BRAND_FILE, and guarded by tests/test_report_brand.py. web/static/palette.css is the DASHBOARD's colors only — the PDF no longer reads it;
  • writes reports/budget-report-<period>.pdf (gitignored dir, 0700/0600) via headless Chrome discovered automatically (LOCAL_BUDGET_CHROME overrides).

The only LLM-authored content on the page is the optional narrative — 1-3 plain-text sentences grounded in rendered blocks already printed this conversation. It is HTML-escaped into a fixed slot; markup is not rendered.

Chart-content changes (row rules, colors, new sections) are code changes to report/charts.py + its golden tests — relay user requests for them as feedback, don't try to override per request.

An ad-hoc "just one chart" ask outside the monthly report is still served by the full render_report PDF — point the user at it rather than hand-building a one-off (a lone stat row is the only exception worth hand-writing, and even then prefer the tool).

Read the full file on GitHub · 204 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. 10d ago First seen · 204 lines · 39 tokens per session scan A 8cde134eb49d

Subscribe to this mod's changes

budget-visualizer is a skill published in the GitHub repository natejswenson/local-budget (0 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 2,745 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens