zero-yx/static_flow / skills/submitting-llm-gateway-account-batches
submitting-llm-gateway-account-batches
VerifiedUse when importing a local directory of Codex auth JSON files into StaticFlow's public LLM Gateway account-contribution review queue, especially when the single public submit endpoint is too slow because of per-request rate limiting.
Submitting LLM Gateway Account Batches
Use this skill to queue many Codex auth JSON files through the public batch
submission API. This skill does not bypass review. It only creates pending
account-contribution requests for later admin validation and approval.
When To Use
- The user has a directory of Codex account JSON files.
- The goal is to make them appear under the LLM Gateway admin review queue.
- The public single-submit endpoint is too slow because it is rate-limited per request.
Public API
- Endpoint:
POST <api-base>/llm-gateway/account-contribution-requests/batch-submit api-baseexamples:http://127.0.0.1:19080/apihttps://ackingliu.top/api- Each batch request still goes through the public submission path and keeps the existing approval workflow.
Preferred Workflow
- Confirm the source directory and count
*.jsonfiles. - Before any real submission, ask the user to confirm the reviewer-facing
contributor_messageand whetherrequester_emailshould be included. - Do not infer
requester_emailorcontributor_messagefrom JSON file contents. - Use the helper script with
--dry-runfirst. - Submit the real batch.
- Report
created_count,invalid_count, andconflict_count. - Do not paste tokens or raw auth JSON into the chat.
Helper Script
Run:
bash skills/submitting-llm-gateway-account-batches/scripts/submit-public-batch.sh --help
Typical dry run:
bash skills/submitting-llm-gateway-account-batches/scripts/submit-public-batch.sh \
--dir "/mnt/c/Users/23946/Downloads/pickup-plus-json (5)" \
--base-url "http://127.0.0.1:19080/api" \
--message "batch submit from local Codex auth JSON files" \
--dry-run
Typical real run:
bash skills/submitting-llm-gateway-account-batches/scripts/submit-public-batch.sh \
--dir "/mnt/c/Users/23946/Downloads/pickup-plus-json (5)" \
--base-url "http://127.0.0.1:19080/api" \
--message "batch submit from local Codex auth JSON files"
Real run with explicit requester email:
bash skills/submitting-llm-gateway-account-batches/scripts/submit-public-batch.sh \
--dir "/mnt/c/Users/23946/Downloads/pickup-plus-json (5)" \
--base-url "http://127.0.0.1:19080/api" \
--message "batch submit from local Codex auth JSON files" \
--requester-email "user@example.com"
Script Behavior
- Scans one directory level for
*.json, sorted by filename. - Derives a safe
account_namefrom the filename stem and appends a short hash so names stay unique and within the backend limit. - Sends each file as one batch item with
auth_jsonequal to the file content. - Uses top-level
contributor_messagefor all items. - Includes
requester_emailonly when the operator passes--requester-email. - Splits oversized directories into batches and waits between batch requests so public rate limiting stays respected.
Notes
- Treat
contributor_messageandrequester_emailas user-confirmed input. - If the user does not want an email attached, omit
--requester-email. - Prefer
--batch-size 200or lower. - Use
--prefixwhen you want a stable namespace for derived account names. - The backend returns per-item statuses:
pending,invalid,conflict.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |