/loop-engineering:loop-budgetfrom loop-engineering
Checks token budget and run-log spend before and after each loop iteration. Enforces early exit when over budget or when no actionable work remains.
Ships in loop-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run at the start and end of every loop iteration.
loop-budget.md for daily caps and kill-switch flags.loop-run-log.md (last 24h).tokens_estimate for the active pattern today.STATE.md, yield to the budget-negotiator skill (if installed). Otherwise, if spend ≥ 100% or loop-pause-all is set → exit immediately with a one-line note in STATE.md.Append one JSON object to loop-run-log.md:
{
"run_id": "<ISO8601>",
"pattern": "<pattern-id>",
"duration_s": <number>,
"items_found": <number>,
"actions_taken": <number>,
"escalations": <number>,
"tokens_estimate": <number>,
"outcome": "no-op | report-only | fix-proposed | escalated"
}
max sub-agent spawns/run from loop-budget.md.loop-budget.md under Alerts This Period.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
token-budget, loop-control, run-log, budget-guard, early-exit
7 skills in this plugin
/budget-negotiatorAn advanced skill for L3 autonomous loops. When the token budget nears exhaustion, the agent analyzes its ROI and autonomously drafts a negotiation request for a budget increase rather than silently failing./install-loopInstall Loop Engineering into a project via the unified CLI front door (@cobusgreyling/loop). Prefer this over invoking loop-init / loop-audit separately. Week-one is report-only; never enable auto-merge or unattended fixes unless the human explicitly asks and doctor is healthy.
/loop-constraintsRead loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
npx claudepluginhub cobusgreyling/loop-engineering --plugin loop-engineeringOther plugins' skills for the same job