acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batches

Claude Code and agent skill by acking-you/staticflow-account-batch-suite

Trust tier 3
  • community
Source check pending

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-batches

SKILL.md

Approving LLM Gateway Account Batches

Use this skill after public account-contribution requests are already queued as pending. It automates the admin side:

  1. fetch pending requests,
  2. validate each request,
  3. approve and issue each account,
  4. patch the imported account with proxy and request settings,
  5. 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 pending requests.
  • 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:19182
  • http://127.0.0.1:19082
  • Required routes:
  • GET /admin/llm-gateway/account-contribution-requests
  • POST /admin/llm-gateway/account-contribution-requests/{id}/validate
  • POST /admin/llm-gateway/account-contribution-requests/{id}/approve-and-issue
  • PATCH /admin/llm-gateway/accounts/{name}
  • POST /admin/llm-gateway/accounts/{name}/refresh
  • GET /admin/llm-gateway/accounts
  • GET /admin/llm-gateway/proxy-configs

Preferred Workflow

  1. Confirm the batch prefix and expected request count.
  2. Run a dry run first.
  3. Process only matching pending requests.
  4. Validate before issue for every request.
  5. Patch imported accounts immediately after issue.
  6. Refresh each imported account until last_usage_success_at is populated.
  7. Verify all matching requests moved out of pending.

Proxy Assignment Rule

  • Only consider active proxy configs.
  • Count current usage from active Codex accounts with proxy_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 = 3
  • request_min_start_interval_ms = random[100, 1000]
  • proxy_mode = fixed
  • proxy_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:

bash
python3 skills/approving-llm-gateway-account-batches/scripts/approve_account_contribution_batch.py --help

Dry run:

bash
python3 skills/approving-llm-gateway-account-batches/scripts/approve_account_contribution_batch.py \
--admin-base-url "http://127.0.0.1:19182" \
--account-prefix "pickup7_" \
--expected-count 20 \
--admin-note "batch validate and issue"

Real run:

bash
python3 skills/approving-llm-gateway-account-batches/scripts/approve_account_contribution_batch.py \
--admin-base-url "http://127.0.0.1:19182" \
--account-prefix "pickup7_" \
--expected-count 20 \
--admin-note "batch validate and issue" \
--apply

Real run with explicit refresh tuning:

bash
python3 skills/approving-llm-gateway-account-batches/scripts/approve_account_contribution_batch.py \
--admin-base-url "http://127.0.0.1:19182" \
--account-prefix "pickup7_" \
--expected-count 20 \
--admin-note "batch validate and issue" \
--refresh-max-attempts 6 \
--refresh-retry-delay-seconds 2 \
--apply

Notes

  • Prefer local pb-mapper admin access on 127.0.0.1:19182 when 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batches/badge)](https://verified-skill.com/skills/acking-you/staticflow-account-batch-suite/approving-llm-gateway-account-batches)

Something wrong with this skill or its page? Tell us.