context-budget SKILL.md skillA

context-budget from andrewdongminyoo/cc-agents-kit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add andrewdongminyoo/cc-agents-kit/context-budget@git:20261028.f3bf4f5

Pins git:20261028.f3bf4f5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
andrewdongminyoo/cc-agents-kit
Path
plugins/context-handoff/skills/context-budget/SKILL.md
Versions recorded
2
Latest version
git:20261028.f3bf4f5, committed Oct 28, 2026
First version recorded
Aug 18, 2026
Size
6,580 bytes
Repository stars
3
License
Apache-2.0

Audits Claude Code context window consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized token-savings recommendations.

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

Analyze token overhead across every loaded component in a Claude Code session and surface actionable optimizations to reclaim context space.

## When to Use

- Session performance feels sluggish or output quality is degrading
- You've recently added many skills, agents, or MCP servers
- You want to know how much context headroom you actually have
- Planning to add more components and need to know if there's room
- Running `/context-budget` command (this skill backs it)

## How It Works

### Phase 1: Inventory

Scan all component directories and estimate token consumption:

**Agents** (`agents/*.md`)

- Count lines and tokens per file (words × 1.3)
- Extract `description` frontmatter length
- Flag: files >200 lines (heavy), description >30 words (bloated frontmatter)

**Skills** (`skills/*/SKILL.md`)

- Count tokens per SKILL.md
- Flag: files >400 lines
- Check for duplicate copies in `.agents/skills/` — skip identical copies to avoid double-counting

**Rules** (`rules/**/*.md`)

- Count tokens per file
- Flag: files >100 lines
- Detect content overlap between rule files in the same language module

**MCP Servers** (`.mcp.json` or active MCP config)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add andrewdongminyoo/cc-agents-kit/context-budget@sha256:47081afce86f391e

The line at the top of this page pins the label git:20261028.f3bf4f5, 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_v7td4u3e7enusmct.svg)](https://markdownregistry.com/a/art_v7td4u3e7enusmct)

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

Versions

The registry has recorded 2 versions of this file, between Aug 18, 2026 and Oct 28, 2026, about one every 71 days.

versioncommittedcommitsizeaudit
git:20261028.f3bf4f5 latest2026-10-28 f3bf4f5 6,580 BA view · diff
git:20260818.a6e31032026-08-18 a6e3103 6,580 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 (6580 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

andrewdongminyoo/cc-agents-kit · 3 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_v7td4u3e7enusmct
GET https://markdownregistry.com/api/v1/resolve?ref=andrewdongminyoo/cc-agents-kit/context-budget
GET https://markdownregistry.com/api/v1/blob/47081afce86f391ecab68cd44e12200373bf23ed0f128f244008c60fb390e533

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 andrewdongminyoo/cc-agents-kit

CLAUDE.md CLAUDE.md file
andrewdongminyoo/cc-agents-kit · CLAUDE.md
git:20261105.f7870af · audit A · 3 stars
config-gc SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/config-gc/SKILL.md · Garbage collection for the active Claude config root — scans skills, memory, hooks, permissions, MCP servers, and…
git:20260819.a0f4e41 · audit A · 3 stars
handoff SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/handoff/SKILL.md · Use when a session's context is getting long or degrading and you need a detailed, self-contained summary to manually…
git:20261107.22391e5 · audit A · 3 stars
log-it SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/log-it/SKILL.md · Use when the user asks to record what a session discovered or learned ("기록해줘", "로그 남겨줘", "log this", "/log-it"), when a…
git:20261027.caa05e7 · audit A · 3 stars
session-export SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/session-export/SKILL.md · Export a Claude Code session as Markdown, HTML, or JSON. Use when the user wants to save, archive, share, or re-read a…
git:20261027.caa05e7 · audit A · 3 stars
wayfinder SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/context-handoff/skills/wayfinder/SKILL.md · Chart an effort too big for one session as a map of decision tickets under docs/plans/, then resolve one ticket per…
git:20261104.a86dc58 · audit A · 3 stars
ci-babysit SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/ci-babysit/SKILL.md · Use after pushing a branch or opening a PR when CI needs monitoring or authorized make-green work. Keeps watch-only…
git:20261027.caa05e7 · audit A · 3 stars
cspell-triage SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/cspell-triage/SKILL.md · Use when cspell reports unknown words or forbidden words in a repository, when adding entries to a cspell dictionary…
git:20261105.f7870af · audit A · 3 stars
fix-osv-vulnerabilities SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/fix-osv-vulnerabilities/SKILL.md · Use when osv-scanner or trunk check reports dependency vulnerabilities (GHSA-*) in a pnpm/npm/yarn or Bundler project…
git:20261027.caa05e7 · audit A · 3 stars
markdownlint-triage SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/markdownlint-triage/SKILL.md · Use when summarizing Markdownlint logs, selecting useful Markdown rules, or fixing an existing Markdownlint backlog…
git:20261027.caa05e7 · audit A · 3 stars
semantic-commit SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/semantic-commit/SKILL.md · Use when staged/unstaged changes mix multiple unrelated concerns and need splitting into clean conventional commits, or…
git:20261027.caa05e7 · audit A · 3 stars
setup-trunk SKILL.md skill
andrewdongminyoo/cc-agents-kit · plugins/repo-gate/skills/setup-trunk/SKILL.md · Use when integrating trunk.io into a repository for the first time, or when configuring trunk linters, git hooks, and…
git:20261101.9b92b24 · audit A · 3 stars

Every file in andrewdongminyoo/cc-agents-kit

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
onewave-ai/claude-skills · context-budget/SKILL.md · Use when a coding session is burning context fast, output is drowning in noise, the model keeps forgetting earlier…
git:20260920.97b5147 · audit A · 421 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

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