Bill cap
Unbounded loops are how a quick fix becomes $47.
Required in the run card:
| Field | Example |
|---|---|
| maxCalls | 20 |
| maxUsd | 2 |
| stopPhrase | STOP SPEND |
node skills/bill-cap/scripts/scan.mjs run.jsonRequire a max tool-call count, max USD, and STOP phrase before a long agent or automation loop. Triggers: bill cap, token budget, this session is expensive, stop spending, cost cap.
Use this Skill: https://skilld.dev/gh/jaysi88/agent-armor/bill-cap Nothing lands on disk. Nothing to clean up.
Edit a local copy. It keeps the author and licence.
≈48 tokens for metadata: the name and description. ≈61 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 ≈192 characters, or 2.4%.
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.
Unbounded loops are how a quick fix becomes $47.
Required in the run card:
| Field | Example |
|---|---|
| maxCalls | 20 |
| maxUsd | 2 |
| stopPhrase | STOP SPEND |
node skills/bill-cap/scripts/scan.mjs run.jsonSource: 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.