Budget negotiator

From ngophatneknha/ai-engineering-hub · View interactive version

Budget negotiator is an AI agent skill from the GitHub repository ngophatneknha/ai-engineering-hub. 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.

How to use this skill

Skill file

<!--

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.

-->

Budget Negotiator

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).

Goal

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.

Rules & Precedence

Negotiation Protocol

  1. Calculate ROI:
  1. Draft Justification:
  1. 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.

  1. Resume:
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.