install-loop
Install Loop Engineering into a project via the unified CLI front door (@cobusgreyling/loop). Prefer this over invoking loop-init…
An 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.
Claude Code
$ npx -y skills add cobusgreyling/loop-engineering --skill budget-negotiator --agent claude-code
Codex
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a codex -y
Cursor
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a cursor -y
Gemini CLI
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a gemini-cli -y
GitHub Copilot
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a github-copilot -y
OpenCode
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a opencode -y
Windsurf
$ npx skills add cobusgreyling/loop-engineering --skill budget-negotiator -a windsurf -y
name: budget-negotiator description: An 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.
<!-- NOTE: This template is a mirror of skills/budget-negotiator/SKILL.md. Any changes made here must be kept byte-identical to the source skill. -->
When you detect that you are nearing your daily token cap (e.g., ≥90% spend) via the `loop-budget` skill, DO NOT just exit silently. You must negotiate for an extension based on your Return on Investment (ROI).
Ensure that critical work is not arbitrarily blocked by token budgets if the loop has demonstrated a high success rate and the remaining work is critical.
1. **Calculate ROI**:
2. **Draft Justification**:
3. **Escalate to Humans**:
`[BUDGET NEGOTIATION] I have burned 95k/100k tokens for the 'Daily Triage' loop today. However, I have successfully executed 4 actions with a 'fix-proposed' outcome. There is 1 critical CI failure remaining on the main branch. I request a temporary bump of 'Daily Triage' max tokens/day by +50k to resolve it.`
4. **Resume**:
Stop prompting. Design the loop. Get a score. Start in 5 minutes · Quickstart · What do you want to do? · Refactor path · 中文 · Pattern picker --tool defaults to claude if you omit it. Swap for grok, codex, or opencode. Week one is report-only.
Install Loop Engineering into a project via the unified CLI front door (@cobusgreyling/loop). Prefer this over invoking loop-init…
Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no…
Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill.…
Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop…
Independent verification agent for loop-produced changes. Finds reasons to reject. Runs tests. Confirms diff scope. Use after…
Produce the smallest possible code change that fixes a specific, well-scoped issue (CI failure, reviewer comment, typo). Use only…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.