context-budget SKILL.md skillA

context-budget from onewave-ai/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add onewave-ai/claude-skills/context-budget@git:20260920.97b5147

Pins git:20260920.97b5147 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
onewave-ai/claude-skills
Path
context-budget/SKILL.md
Versions recorded
1
Latest version
git:20260920.97b5147, committed Sep 20, 2026
Size
3,773 bytes
Repository stars
421
License
MIT

Use when a coding session is burning context fast, output is drowning in noise, the model keeps forgetting earlier decisions, or the user asks to reduce tokens, stop the verbose narration, work in a huge repo, or make a long session survive. Covers what to read, what to summarize, what to write to disk, and when to start fresh.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Context Budget

Context is the scarcest resource in a long session. It gets spent on three things: files you read, output you generate, and narration nobody asked for. Only the first one is usually worth it.

## Core Behavior

Treat the context window like a budget with a balance. Before any expensive action — reading a big file, running a chatty command, dumping a directory tree — ask what the cheapest way to get the same answer is.

## Spend Rules

**Read narrowly.** `sed -n '120,190p' file.ts` beats reading a 2,000-line file to see one function. Grep for the symbol, then read the 40 lines around it. Read a whole file only when you are about to restructure it.

**Search before reading.** `grep -rn "symbolName" --include="*.ts"` costs a few hundred tokens and tells you which of forty files matters.

**Silence the noisy commands.** Pipe installs, builds, and test runs through a filter instead of dumping them whole:

```bash
npm test 2>&1 | tail -30
npm run build 2>&1 | grep -E "error|Error|warning" | head -20
npm install --silent 2>&1 | tail -5
git diff --stat            # not git diff, unless you need the hunks
```

A passing test suite needs one line of proof, not 400.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add onewave-ai/claude-skills/context-budget@sha256:1183ad0188357a80

The line at the top of this page pins the label git:20260920.97b5147, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mzzb6ljsjtslxxqq.svg)](https://markdownregistry.com/a/art_mzzb6ljsjtslxxqq)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 20, 2026.

versioncommittedcommitsizeaudit
git:20260920.97b5147 latest2026-09-20 97b5147 3,773 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3773 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

onewave-ai/claude-skills · 421 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mzzb6ljsjtslxxqq
GET https://markdownregistry.com/api/v1/resolve?ref=onewave-ai/claude-skills/context-budget
GET https://markdownregistry.com/api/v1/blob/1183ad0188357a80aafb4d4c9e87e6282abe1c295d8d10fbd87c443c6da68c71

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from onewave-ai/claude-skills

accessibility-auditor SKILL.md skill
onewave-ai/claude-skills · accessibility-auditor/SKILL.md · Audit websites for accessibility issues and WCAG compliance. Use when checking accessibility, fixing a11y issues, or…
git:20260608.d82d20f · audit A · 421 stars
agent-army SKILL.md skill
onewave-ai/claude-skills · agent-army/SKILL.md · Deploy a 2-layer parallel agent hierarchy for large, parallelizable work — big refactors, multi-file migrations…
git:20260704.01b429a · audit A · 421 stars
agent-eval-harness SKILL.md skill
onewave-ai/claude-skills · agent-eval-harness/SKILL.md · Use to test whether an AI agent, prompt, or skill actually works before or after it ships — build a small eval set…
git:20260920.97b5147 · audit B · 421 stars
agent-swarm-deployer SKILL.md skill
onewave-ai/claude-skills · agent-swarm-deployer/SKILL.md · Deploys swarms of sub-agents for massive parallel data processing tasks. Unlike agent-army (which is for code changes)…
git:20260608.d82d20f · audit A · 421 stars
agent-team-builder SKILL.md skill
onewave-ai/claude-skills · agent-team-builder/SKILL.md · Designs and deploys custom agent teams for specific business workflows. Interactive discovery of business processes…
git:20260608.d82d20f · audit A · 421 stars
agent-to-agent SKILL.md skill
onewave-ai/claude-skills · agent-to-agent/SKILL.md · Agent-to-Agent (A2A) communication protocol. Connect two or more Claude agents that pass messages, share context…
git:20260608.d82d20f · audit A · 421 stars
ai-coding-guardrails SKILL.md skill
onewave-ai/claude-skills · ai-coding-guardrails/SKILL.md · Use when an AI coding agent is writing or refactoring production code and its known failure modes need to be held in…
git:20260920.97b5147 · audit A · 421 stars
ai-readiness-assessment SKILL.md skill
onewave-ai/claude-skills · ai-readiness-assessment/SKILL.md · Assesses how ready a business is for AI adoption across six dimensions. Evaluates data maturity, tech stack, team…
git:20260608.d82d20f · audit A · 421 stars
animate SKILL.md skill
onewave-ai/claude-skills · animate/SKILL.md · Generate animated videos and motion graphics from natural language descriptions. Creates a standalone Vite + React…
git:20260225.059b9f3 · audit A · 421 stars
api-documentation-writer SKILL.md skill
onewave-ai/claude-skills · api-documentation-writer/SKILL.md · Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication…
git:20260608.d82d20f · audit A · 421 stars
api-endpoint-scaffolder SKILL.md skill
onewave-ai/claude-skills · api-endpoint-scaffolder/SKILL.md · Generate REST API endpoints with proper structure, validation, error handling, and types. Use when creating new API…
git:20260225.309ae7a · audit A · 421 stars
api-load-tester SKILL.md skill
onewave-ai/claude-skills · api-load-tester/SKILL.md · Load tests API endpoints with progressive concurrency. Measures response times, error rates, throughput, and identifies…
git:20260608.d82d20f · audit A · 421 stars

Every file in onewave-ai/claude-skills

Other files named context-budget

context-budget SKILL.md skill
affaan-m/ecc · docs/ja-JP/skills/context-budget/SKILL.md · エージェント、スキル、MCPサーバー、ルールにわたってClaude Codeのコンテキストウィンドウ消費を監査します。肥大化、冗長なコンポーネントを特定し、優先順位付けされたトークン節約の推奨事項を生成します。
git:20260517.ec9ace9 · audit A · 299,696 stars
context-budget SKILL.md skill
coco-research/coco · skills/context-budget/SKILL.md · Audit token consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and…
v0.1.0 · audit A · 629 stars
context-budget SKILL.md skill
ericrisco/rsc-harness · skills/context-budget/SKILL.md · Use when a long-horizon task is filling the context window and you must decide what to keep, offload, drop, or hand off…
git:20260729.3ecb845 · audit A · 505 stars
context-budget SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/context-budget/SKILL.md · Count what a session loads before adding another skill or MCP server. Use when the default prompt is heavy, a new…
git:20261010.682b2ce · audit A · 47 stars
context-budget SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/context-budget/SKILL.md · Analyzes Claude Project context budget under the automatic-RAG-by-window model: knowledge files vs. threshold-exempt…
v6.0.0 · audit A · 40 stars
context-budget SKILL.md skill
felvieira/claude-skills-fv · skills/49-context-budget/SKILL.md · Mede e reduz o peso de contexto carregado pelo agente. Trigger em: "contexto inchado", "context overflow", "quanto…
v1.0.0 · audit A · 28 stars
context-budget SKILL.md skill
univers42/claude-deal-with-the-devil · skills/context-budget/SKILL.md · Measure and cut what a config costs in context every session: always-on rules, invocable descriptions, skills that…
git:20261017.fcaf2cc · audit A · 4 stars
context-budget SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/context-budget/SKILL.md · Audits Claude Code context window consumption across agents, skills, MCP servers, and rules. Identifies bloat…
git:20261028.f3bf4f5 · audit A · 3 stars

Browse by kind, by grade A, or by owner.