Skip to content
Back to skills

context-budget

ASecurity

Use when the user asks why sessions start heavy, wants to reduce what CLAUDE.md loads automatically, or asks for a context or token budget check of the workspace.

  • 0 votes
  • 0 copies
  • 5 views
  • Added October 18, 2026
ai-agentsgonode

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add NOVALYTH/context-lens --skill context-budget --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of context-budget?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for context-budget
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/novalyth-context-budget/badge)](https://www.skillsdirectory.com/skills/novalyth-context-budget)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context-budget
description: "Use when the user asks why sessions start heavy, wants to reduce what CLAUDE.md loads automatically, or asks for a context or token budget check of the workspace."
---

# Context budget

Goal: shrink what the workspace loads in every session, without deleting information.

1. Run `node scripts/check-workspace.mjs` (or `npm run check`). It lists the `@` imports of `CLAUDE.md`, sums an estimated token count (1 token ~ 4 bytes), and flags skills with invalid YAML.
2. For each import over ~1,500 tokens, ask whether it is needed in EVERY session. If not, remove the `@` line and replace it with a one-line pointer saying when to read the file.
3. Move finished or historical content to an archive file that is never imported (`progress-archive.md`, `errors-archive.md`).
4. Re-run the check and report the before and after numbers as one case, not as a guarantee.

Do not claim a saving that the check did not print. The estimate is a convention, not a tokenizer count.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.