Home / onewave-ai / claude-skills · context-budget/SKILL.md · GitHub

context-budget skillA

context-budget is agent-read markdown (skill) from onewave-ai/claude-skills: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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

Latest version
mdr add onewave-ai/claude-skills/context-budget@git:20260920.97b5147
Exact content
mdr add onewave-ai/claude-skills/context-budget@sha256:1183ad0188357a80

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

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

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 · 306 stars · license MIT · pushed 2026-09-23 · 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 agent 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.

More from onewave-ai/claude-skills

accessibility-auditor 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 · 306 stars
agent-army 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 · 306 stars
agent-eval-harness 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 · 306 stars
agent-swarm-deployer 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 · 306 stars
agent-team-builder 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 · 306 stars
agent-to-agent 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 · 306 stars
ai-coding-guardrails 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 · 306 stars
ai-readiness-assessment 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 · 306 stars
animate 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 · 306 stars
api-documentation-writer 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 · 306 stars
api-endpoint-scaffolder 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 · 306 stars
api-load-tester 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 · 306 stars

Every file in onewave-ai/claude-skills

Other files named context-budget

context-budget skill
affaan-m/ecc · docs/ja-JP/skills/context-budget/SKILL.md · エージェント、スキル、MCPサーバー、ルールにわたってClaude Codeのコンテキストウィンドウ消費を監査します。肥大化、冗長なコンポーネントを特定し、優先順位付けされたトークン節約の推奨事項を生成します。
git:20260517.ec9ace9 · audit A · 266,832 stars
context-budget 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 · 478 stars
context-budget skill
felvieira/claude-skills-fv · skills/49-context-budget/SKILL.md · Audita o peso de contexto carregado na sessão — CLAUDE.md, agents, MCP descriptions, rules ativas, skills invocadas e…
v1.0.0 · audit A · 23 stars

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