context-budget SKILL.md skillA

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

Install it, pinned
mdr add felvieira/claude-skills-fv/context-budget@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
felvieira/claude-skills-fv
Path
skills/49-context-budget/SKILL.md
Versions recorded
6
Latest version
v1.0.0, committed Oct 30, 2026
First version recorded
May 29, 2026
Size
5,693 bytes
Repository stars
28
License
Apache-2.0

Mede e reduz o peso de contexto carregado pelo agente. Trigger em: "contexto inchado", "context overflow", "quanto contexto estou usando", "sessao lenta", "respostas degradadas", "context budget", "tokens carregados", "custo fixo de contexto", "overhead de rules", "overhead dos agents", "impacto do MCP no contexto", "headroom de contexto".

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

# Skill 49 — Context Budget

## Objetivo

Auditar o peso **observável** de contexto carregado nesta sessão: instruções raiz, saída de hooks, regras ativas, skills invocadas e catálogo de tools MCP habilitadas. Não confunda bytes em disco com tokens enviados ao modelo.

**Distinção crítica:**
- Skill 30 (`cost-tracker`) → rastreia tokens/$ gastos em runtime (completions, tool calls)
- **Skill 49 (`context-budget`)** → audita tokens carregados no contexto antes de qualquer completion (system prompt, CLAUDE.md, rules, skills, MCP descriptions)

## Quando usar

- Sessão com latência alta ou model degradation (possível context overflow)
- Repo novo com `.bot/` — auditoria do que foi instalado
- Antes de habilitar novo MCP server ou subagent
- Após instalar rules system path-scoped — verificar overhead real
- Quando `/savings` mostrar contexto inchado

## Protocolo

### Fase 0 — Identificar componentes carregados

Listar o que está no contexto da sessão:

```
1. Instruções raiz efetivamente carregadas (AGENTS.md/CLAUDE.md, global e projeto, conforme host)
2. Catalogo de skills do plugin: name + description de TODAS as skills habilitadas (todo turno; nao e lazy)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add felvieira/claude-skills-fv/context-budget@sha256:6942468c65ce3701

The line at the top of this page pins the label v1.0.0, 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_wrjngre5krjnnhht.svg)](https://markdownregistry.com/a/art_wrjngre5krjnnhht)

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

Versions

The registry has recorded 6 versions of this file, between May 29, 2026 and Oct 30, 2026, about one every 31 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-10-30 813a629 5,693 BA view · diff
v1.0.02026-10-11 a095182 5,897 BA view · diff
v1.0.02026-09-09 cf0c56c 6,812 BA view · diff
v1.0.02026-09-09 ef96ede 6,423 BA view · diff
v1.0.02026-05-29 0bcf7d4 6,407 BA view · diff
v1.0.02026-05-29 0aead44 5,689 BB 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 (5693 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

felvieira/claude-skills-fv · 28 stars · license Apache-2.0 · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wrjngre5krjnnhht
GET https://markdownregistry.com/api/v1/resolve?ref=felvieira/claude-skills-fv/context-budget
GET https://markdownregistry.com/api/v1/blob/6942468c65ce370165f22973686d4391d6f339abcffc5b8dc5cefea8bf3dcb44

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 felvieira/claude-skills-fv

AGENTS.md AGENTS.md file
felvieira/claude-skills-fv · AGENTS.md
git:20261030.813a629 · audit A · 28 stars
CLAUDE.md CLAUDE.md file
felvieira/claude-skills-fv · CLAUDE.md
git:20260919.b968287 · audit A · 28 stars
po-feature-spec SKILL.md skill
felvieira/claude-skills-fv · skills/01-po-feature-spec/SKILL.md · Especifica requisitos, historias, prioridades e criterios de aceite de produto. Trigger em: "nova feature"…
git:20261030.813a629 · audit A · 28 stars
ui-ux-design SKILL.md skill
felvieira/claude-skills-fv · skills/02-ui-ux-design/SKILL.md · Projeta telas, fluxos e design systems; audita UX, acessibilidade e corrige achados focados. Facelift amplo vai para…
git:20261023.b88926e · audit A · 28 stars
backend-api SKILL.md skill
felvieira/claude-skills-fv · skills/03-backend-api/SKILL.md · Projeta e implementa APIs, dados, autenticacao e logica de backend. Trigger em: "API", "endpoint", "banco de dados"…
git:20261030.813a629 · audit A · 28 stars
frontend-integration SKILL.md skill
felvieira/claude-skills-fv · skills/04-frontend-integration/SKILL.md · Implementa interfaces e integra o frontend com APIs e estados. Trigger em: "React", "Next.js", "componente", "página"…
git:20261031.a8b8354 · audit A · 28 stars
qa-testing SKILL.md skill
felvieira/claude-skills-fv · skills/05-qa-testing/SKILL.md · Skill do QA Engineer para testes unitarios, integracao e E2E. Use quando precisar escrever testes, validar regressao…
git:20261019.20a7571 · audit A · 28 stars
security-review SKILL.md skill
felvieira/claude-skills-fv · skills/06-security-review/SKILL.md · Revisa seguranca de codigo, configuracao e aplicacoes. Trigger em: "segurança", "security review", "vulnerabilidade"…
git:20261030.813a629 · audit A · 28 stars
deploy-docker SKILL.md skill
felvieira/claude-skills-fv · skills/07-deploy-docker/SKILL.md · Prepara imagens, infraestrutura e deploy de aplicacoes. Trigger em: "deploy", "Docker", "Dockerfile", "docker-compose"…
git:20261030.813a629 · audit A · 28 stars
context-manager SKILL.md skill
felvieira/claude-skills-fv · skills/08-context-manager/SKILL.md · Organiza contexto, tarefas e handoff entre sessoes. Trigger em: "criar tarefa", "lista de tarefas", "status"…
git:20261030.813a629 · audit A · 28 stars
orchestrator SKILL.md skill
felvieira/claude-skills-fv · skills/09-orchestrator/SKILL.md · Skill do Tech Lead/Orquestrador do pipeline de desenvolvimento. Trigger em: "nova task", "iniciar", "pipeline de…
git:20261030.813a629 · audit A · 28 stars
documenter SKILL.md skill
felvieira/claude-skills-fv · skills/10-documenter/SKILL.md · Documenta arquitetura, decisoes, uso e operacao do projeto. Trigger em: "documentar", "documentação", "docs", "ADR"…
git:20261030.813a629 · audit A · 28 stars

Every file in felvieira/claude-skills-fv

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