Context diet
A button label is not a reason to ingest src/.
Default budget: 12 paths. Lockfiles, dist, and node_modules never count as needed.
node skills/context-diet/scripts/scan.mjs reads.mdStop the agent reading the whole monorepo to change a label. Flags 20+ files, src/** globs, and cat of lockfiles. Triggers: context diet, too many files, don't dump the repo, context window.
Use this Skill: https://skilld.dev/gh/jaysi88/agent-armor/context-diet Nothing lands on disk. Nothing to clean up.
Edit a local copy. It keeps the author and licence.
≈51 tokens for metadata: the name and description. ≈53 when used: this file.
Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.
In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈205 characters, or 2.6%.
The 1% threshold is a size suggestion. Longer descriptions can still fit.
Your model, settings, and other Skills decide how much text your Agent can read.
The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.
Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.
A button label is not a reason to ingest src/.
Default budget: 12 paths. Lockfiles, dist, and node_modules never count as needed.
node skills/context-diet/scripts/scan.mjs reads.mdSource: SKILL.md on GitHub
Runs shell commands
Ships scripts
skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.
skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.
Signed by skilld at 5c82a2f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.
Last checked against GitHub 2 months ago.