acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batches
Claude Code and agent skill by acking-you/staticflow-account-batch-suite
- community
Checking that the SKILL.md file is still in the repository.
Use when pending LLM Gateway account-contribution requests need to be validated, issued, patched, and refreshed in bulk through the admin API, including deterministic proxy assignment and per-account concurrency settings.
Install
npx vskill@latest install acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batchesSKILL.md
Approving LLM Gateway Account Batches
Use this skill after public account-contribution requests are already queued as pending. It automates the admin side:
- fetch pending requests,
- validate each request,
- approve and issue each account,
- patch the imported account with proxy and request settings,
- refresh the imported account until it becomes usable.
This skill does not bypass the existing review flow. It only drives the existing admin API in batch form.
When To Use
- The public batch submit step already created
pendingrequests. - You want to process one batch end to end through admin APIs.
- Imported Codex accounts should receive standard settings after issue.
- Imported Codex accounts should be refreshed before the operator treats them
as usable.
Admin API Assumptions
- Admin base examples:
http://127.0.0.1:19182http://127.0.0.1:19082- Required routes:
GET /admin/llm-gateway/account-contribution-requestsPOST /admin/llm-gateway/account-contribution-requests/{id}/validatePOST /admin/llm-gateway/account-contribution-requests/{id}/approve-and-issuePATCH /admin/llm-gateway/accounts/{name}POST /admin/llm-gateway/accounts/{name}/refreshGET /admin/llm-gateway/accountsGET /admin/llm-gateway/proxy-configs
Preferred Workflow
- Confirm the batch prefix and expected request count.
- Run a dry run first.
- Process only matching
pendingrequests. - Validate before issue for every request.
- Patch imported accounts immediately after issue.
- Refresh each imported account until
last_usage_success_atis populated. - Verify all matching requests moved out of
pending.
Proxy Assignment Rule
- Only consider
activeproxy configs. - Count current usage from
activeCodex accounts withproxy_config_id. - Choose the proxy with the lowest current count.
- Break ties by proxy name for deterministic output.
- Update the in-memory count after each assignment so one batch is balanced.
Standard Patch Settings
request_max_concurrency = 3request_min_start_interval_ms = random[100, 1000]proxy_mode = fixedproxy_config_id = selected least-used proxy- post-issue refresh retries through the standalone pending placeholder until
the account reaches a successful usage refresh
Helper Script
Run:
Dry run:
Real run:
Real run with explicit refresh tuning:
Notes
- Prefer local pb-mapper admin access on
127.0.0.1:19182when available. - The script prints per-account progress with immediate flush, so long-running
validate/issue/refresh steps stay observable.
- The script stops neither validation, issue, nor refresh routing logic inside
the backend; it only sequences admin calls.
- The script records one JSON result file under
/tmp/.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/approving-llm-gateway-account-batches/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batches)