performance-budgets

performance-budgets is a skill for Claude Code, Codex from Vimalk0703/shipworthy. It costs 27 tokens per session (390 once invoked), scanned A, original, MIT.

A set of limits for keeping software fast and efficient, covering file sizes, page loading, API response times, database queries, images, and caching. An API is a program interface that lets other software request data or actions.

In plain words
What is it for?
Use it when setting project targets, checking frontend build sizes, optimizing images, limiting API responses and queries, and deciding where to add lazy loading or caching.
Why use it?
It makes performance problems measurable before they reach users. The limits help prevent oversized downloads, slow requests, unbounded results, and inefficient database access.

Skill for Claude CodeCodex

Part of the shipworthy plugin — 66 skills, 7 commands, 6 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/vimalk0703/shipworthy/performance-budgets
Any agent
npx skills add Vimalk0703/shipworthy --skill performance-budgets
Clone the repo
git clone --depth 1 https://github.com/Vimalk0703/shipworthy

Made for: Claude Code, Codex.

Or install shipworthy, the plugin that ships this one along with the rest of its 66 skills, 7 commands, 6 agents, 3 hooks.

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 performance-budgets

README.md
[![agentmods](https://agentmods.dev/badge/skills/vimalk0703/shipworthy/performance-budgets.svg)](https://agentmods.dev/skills/vimalk0703/shipworthy/performance-budgets)
Your own site
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/performance-budgets"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/performance-budgets.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00390
Opus 5 $0.00014 $0.00195
Sonnet 5 $0.00005 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 4d ago against content hash 3df73b2518b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

performance-budgets 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.

skills/architecture/performance-budgets/SKILL.md · 46 lines

What it actually says

Performance Budgets

Default Budgets (customize in architecture.md)

Frontend

  • Initial bundle: <250KB gzipped (JavaScript)
  • Per-route chunk: <50KB gzipped
  • Largest Contentful Paint: <2.5s
  • First Input Delay: <100ms
  • Cumulative Layout Shift: <0.1
  • Images: WebP/AVIF, lazy-loaded below fold, explicit width/height

API

  • Response time (p95): <200ms for reads, <500ms for writes
  • Payload size: <1MB per response
  • Database queries per request: <10

Database

  • Query execution: <100ms (log anything slower)
  • Connection pool: sized for expected concurrency

Enforcement Strategies

Frontend

  • Analyze bundle with npx next build / npx vite build — check output sizes
  • Use dynamic imports / React.lazy() for non-critical routes
  • Tree-shake unused code — avoid barrel exports (index.ts re-exporting everything)
  • Prefer CSS over JavaScript for animations

API

  • Paginate list endpoints (never return unbounded results)
  • Use caching headers (Cache-Control, ETag)
  • Compress responses (gzip/brotli)
  • Use database indexes for queried fields

General

  • Measure before optimizing — don't guess at bottlenecks
  • Set budgets early, enforce them in CI
  • Performance regression = bug, not technical debt
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 First seen · 46 lines · 27 tokens per session scan A 3df73b2518b5

Subscribe to this mod's changes

performance-budgets is a skill published in the GitHub repository Vimalk0703/shipworthy (7 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 390 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

hedgehog-core-design

Use on full-stack-app and landing-page alike only when neither shipped core fits a project that is still building something real — picks the stack and designs the layer sequence for it, and writes .hedgehog/core.yaml. Invoked by the planner agent as Phase 0's third outcome, after the vendored BMAD shelf has run; don't…

skyf0xx/hedgehog · 88 tokens

hedgehog-planning-intake

Use on any core for first-run planning intake — Phase 0 runs the vendored BMAD-METHOD planning shelf, shared by every core, and Phase 1 (mining 04-prd.md into intent records plus the Add-ons/sync-and-remote-entities decision) is full-stack-app's and pwa-app's shared procedure — identical mechanics, a different…

skyf0xx/hedgehog · 0 tokens

inbound-triage

Maintainer-only. Use when triaging inbound GitHub issues and pull requests on skyf0xx/hedgehog — "triage the issues", "check the PRs", "review inbound", "what's in the queue". Reads each item read-only, judges it for security and for whether it is real, then fixes and closes or comments and closes. Not part of the…

skyf0xx/hedgehog · 102 tokens

bmad-product-brief

Create, update, or validate a product brief. Use when the user wants help producing, editing, or validating a brief.

skyf0xx/hedgehog · 31 tokens

bmad-deep-recon

Decision-grade research, three ways: draft a deep-research prompt for the user to run in their own tool (ChatGPT, Gemini, Grok, Perplexity, …), process a finished research report — file it, distill a succinct cited summary with metadata that downstream skills consume without reprocessing — or run the research here…

skyf0xx/hedgehog · 167 tokens

bmad-revendor

Maintainer-only. Use when re-vendoring vendor-skills/BMAD/ against a newer BMAD-METHOD commit — "update BMAD", "re-vendor BMAD", "bump the BMAD pin". Not part of the Hedgehog discipline a consuming project copies; this only applies to the Hedgehog repo itself.

skyf0xx/hedgehog · 72 tokens