hud-update-pricing

hud-update-pricing is a skill for Claude Code from johnleeGitHub/claude-hud-enhanced. It costs 14 tokens per session (330 once invoked), scanned A, original, MIT.

A procedure for refreshing a third-party model pricing table from a configured remote source. It validates the downloaded data before saving it and records when the update happened.

In plain words
What is it for?
Use it to fetch, validate, and save updated model-pricing entries for the Claude HUD, including its last update time.
Why use it?
It keeps pricing information current while rejecting responses that do not match the expected format.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-hud-enhanced plugin — 3 skills shipped together

Good fit Use it to fetch, validate, and save updated model-pricing entries for the Claude HUD, including its last update time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnleegithub/claude-hud-enhanced/hud-update-pricing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add johnleeGitHub/claude-hud-enhanced --skill hud-update-pricing
Clone the repo
git clone --depth 1 https://github.com/johnleeGitHub/claude-hud-enhanced

Made for: Claude Code.

Or install claude-hud-enhanced, the plugin that ships this one along with the rest of its 3 skills.

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 hud-update-pricing

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing/github.svg)](https://agentmods.dev/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing)
Your own site
<a href="https://agentmods.dev/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing"><img src="https://agentmods.dev/badge/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing/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 hud-update-pricing

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing"><img src="https://agentmods.dev/badge/skills/johnleegithub/claude-hud-enhanced/hud-update-pricing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 330 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.00014 $0.00330
Opus 5 $0.00007 $0.00165
Sonnet 5 $0.00003 $0.00066
Haiku 4.5 $0.00001 $0.00033

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

Security

Grade A, and why

hud-update-pricing 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.

skills/hud-update-pricing/SKILL.md · 33 lines

What it actually says

Update Pricing

Updates the third-party model pricing table by fetching the latest prices.

Steps

1. Read config and fetch URL

HUDP="$HOME/.claude/plugins/claude-hud-enhanced"
UPDATE_URL=$(node -e "const c=JSON.parse(require('fs').readFileSync('$HUDP/config.json','utf8'));console.log(c.modelPricing?.pricingUpdateUrl||'https://raw.githubusercontent.com/johnleeGitHub/claude-hud-enhanced/master/pricing.json')")
echo "Fetching from: $UPDATE_URL"

2. Fetch and save

node -e "
import('$HUDP/dist/update-pricing.js').then(async m=>{
  const d=await m.fetchPricing('$UPDATE_URL');
  if(!m.validatePricingResponse(d)){console.error('ERROR: invalid pricing');process.exit(1)}
  m.writePricingFile('$HUDP/pricing.json',d);
  const c=JSON.parse(require('fs').readFileSync('$HUDP/config.json','utf8'));
  c.modelPricing=(c.modelPricing||{});c.modelPricing.pricingUpdatedAt=new Date().toISOString();
  require('fs').writeFileSync('$HUDP/config.json',JSON.stringify(c,null,2)+'\n');
  console.log('OK: '+d.entries.length+' entries updated')
}).catch(e=>{console.error(e.message);process.exit(1)})
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 · 33 lines · 14 tokens per session scan A ca5f6005c66f

Subscribe to this mod's changes

hud-update-pricing is a skill published in the GitHub repository johnleeGitHub/claude-hud-enhanced (2 stars, last pushed 6d ago), licensed MIT. It adds 14 tokens to every session and 330 once invoked, about $0.0001 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

polymarket-trading

Use when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools). Covers setup (deposit wallet, funding, approvals), buy/sell with confirm gating, positions, redeeming winnings, geoblock handling, and the end-to-end flow.

BlockRunAI/ClawRouter · 76 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

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 88 tokens

incorporation

A guide for moving from working as an individual business owner to operating through a company in Japan. It covers company types, setup steps, officer pay, taxes, and social insurance.

kazukinagata/shinkoku · 127 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens