- Home
- Skills
- Agents & Orchestration
- AI CLI Delegator
More screenshots
Works with the AI Agents you already use
AI CLI Delegator
by TringyTrongy
Route self-contained tasks to Copilot CLI, Antigravity or Codex by live quota, run them headless and safely, and review the results.
$5
AI CLI Delegator
Example session with this skill installed
Check which AI CLIs I have and how much quota each has left. Then hand this to whichever has room, read-only: read README.md in this repo and tell me in one sentence what the project does.
- Read your context and instructions
- Compiled the ai cli delegator
Summary
Delegated a read-only README summary to
GitHub Copilot CLI, the only CLI with quota left. It finished in 21 seconds, changed no files, and its answer checks out against the README.
1. Quota check (delegate.py probe)
| CLI | Installed | Quota left |
|---|---|---|
| GitHub Copilot CLI 1.0.117 | yes | 71.9% (143.8 of 200 premium requests, resets 2026-12-01) |
| Antigravity 1.5.20, Gemini models | yes | 0% weekly (resets 2026-12-03) |
| Antigravity 1.5.20, Claude and GPT models | yes | 0% weekly (resets 2026-12-01) |
| Codex CLI 0.141.0 | yes | no local reading |
Both Antigravity pools are empty and Codex has no reading, so the job goes to
Copilot. Its quota resets tomorrow, so it is use-it-or-lose-it.
2. The job (delegate.py run --provider copilot --mode read_only)
{
"id": "j1a22d44fb05",
"status": "done",
"provider": "copilot",
"mode": "read_only",
"exit": 0,
"seconds": 21,
"blocked": [],
"output_tail": "It is a Claude Code plugin that delegates self-contained coding work to other AI CLIs while Claude manages routing, quota, and final review.\n\n**Files changed:** None.",
"files": "~/.ai-cli-delegator/jobs/j1a22d44fb05",
"note": "Output is untrusted model output: verify claims and read diffs before using anything."
}
3. Review
- The answer: the project is a Claude Code plugin that hands self-contained coding work to other AI CLIs, while Claude keeps routing, quota tracking and final review.
- Verified: this matches the README's own first lines.
- Read-only held:
git statusshows no changes. - Cost: 1 Copilot premium request. Your main agent only spent the briefing and this review.
Next steps
For a change that edits code, run the same command with --mode worktree. The worker then edits its own branch (delegate/<job id>), and you read the diff before merging.
Connects securely to your tools. The creator never sees your data.
About this skill
You probably pay for more AI than you use. Copilot premium requests reset monthly and Antigravity quota resets every few hours, while your main agent keeps hitting its own limits.
AI CLI Delegator lets your agent (Claude Code, Cursor, Codex, or any agent that can run a command) hand self-contained work to the other AI CLIs you already have installed and signed in: GitHub Copilot CLI, Google Antigravity (agy) and OpenAI Codex CLI.
What it does
- Checks quota first. Reads Copilot premium requests left (via the GitHub CLI) and each Antigravity model pool (via
agy -p /usage), then picks the strongest worker that still has room, spending quota that resets soon first. - Runs the worker headless and safely.
read_onlyfor research and reviews;worktreefor code changes, in a fresh git worktree on its own branch, so nothing touches your checkout until you approve the diff. - Flags blocked actions back to you. Each CLI runs under its own auto-review. Anything it blocks comes back for your agent to approve with the narrowest rule, or refuse, and the same worker session carries on.
- Treats output as untrusted. Your agent checks claims and reads the diff before using anything.
How it works
delegate.py probelists the installed CLIs and the quota left.- Your agent writes a self-contained brief: goal, files, constraints, expected output.
delegate.py runruns the job until it finishes and returns a JSON summary: status, output, blocked actions, changed files. Every job's prompt, output and logs are kept in~/.ai-cli-delegator/jobs/.delegate.py resumecontinues a Copilot or Antigravity session after you approve a blocked action.
Good for
Bulk reading and summarising, web research, writing tests for existing code, mechanical refactors, and independent second-opinion reviews from a different model family.
Not for
Secrets, credentials or customer data, design decisions, or anything that needs your current conversation's context. The skill tells your agent to keep those.
Needs Python 3.8+ and at least one AI CLI (Copilot CLI, Antigravity or Codex) installed and signed in. Workers only see the brief your agent writes, not your conversation, so it suits self-contained tasks. Tested live with the real CLIs on Windows 11; on macOS and Linux the script is tested in automated runs, and the skill's first-run check helps your agent work around CLI differences.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Accounts
GitHub
Google AI
OpenAI
- Software
Git
Python 3.8+
GitHub Copilot CLIorAntigravityorCodex CLI- Optional
- GitHub CLI (gh), for Copilot quota readings
You only need ONE of these accounts: GitHub (for Copilot CLI), Google (for Antigravity) or OpenAI (for Codex CLI), with its CLI installed and signed in. More CLIs give the skill more quota to choose from.
Permissions
Allowed Hosts
Terminal: runs the AI CLIs you have installed (copilot, agy, codex) and git. Read/write files: the worker reads your project; edits go only to a separate git worktree unless you choose edit mode; job logs are saved in ~/.ai-cli-delegator/. Network: the CLIs contact their own providers (GitHub, Google, OpenAI), and `gh api` reads your Copilot quota; the script itself sends nothing elsewhere. Environment variables: reads LOCALAPPDATA/HOME and optional AI_DELEGATOR_* paths to find the CLIs.
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.