sub2api-admin
Manage Sub2API through its administrator API using a bundled command-line tool. Inspect and update accounts, manage redeem codes, groups, and proxies, import or export accounts, and verify changes with follow-up reads.
OriginalShow the original description
Manage Sub2API admin APIs for accounts, redeem codes, groups, proxies, error passthrough rules, TLS fingerprint profiles, imports, exports, batch updates, and raw administrator API calls. Use when the user mentions Sub2API, admin API keys, account management, redeem code management, recharge codes, invitation codes, bulk account import/export, keeping or deleting accounts, refreshing accounts, clearing errors, CRS sync, or managing Sub2API backend settings through the admin API.
Run score Not tested
See how to installGood for
- Reviewing account details and usage before updating settings
- Importing, exporting, or updating multiple accounts
- Generating and redeeming recharge or balance codes
- Managing proxies, error rules, and TLS fingerprint profiles
Overview
What it does
Use the bundled command-line tool to work with the Sub2API administrator API. You can list accounts, inspect account details and usage, update multiple accounts, and import or export account data. You can also manage redeem codes, groups, and proxies, along with rules that return errors as-is and profiles that specify TLS connection characteristics. For administrator API features without a dedicated command, you can provide the HTTP method and path.
When it helps
This skill is useful when you need to change settings across several accounts or manage codes for balances and recharges. The workflow starts by reading current information. Before a bulk change or deletion, it identifies the target names and IDs, then reads the information again to check the result.
Example requests
- “Show me the account list and usage.”
- “Change the concurrency limit for these accounts in bulk, then verify the result.”
- “Generate a balance redemption code.”
Notes
Node.js and a Sub2API endpoint are required. Authentication needs either SUB2API_ADMIN_API_KEY or the administrator JWT in SUB2API_JWT. Account exports include credentials and tokens, so saving them to a file is recommended. For payment or recharge code creation and redemption, use --idempotency-key to prevent duplicate processing.
This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.
Document check
AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).
- SafetyAre sending data, deleting files, and running commands disclosed?
- AGoodIt specifies target checks, follow-up reads, file storage for exports, and idempotency keys.
- Easy setupDoes it need few tools or API keys, and are they documented?
- BPartly lackingNode.js, an endpoint, and an API key or JWT are required; setup instructions are limited.
Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 25, 2026. Treat it as a guide and read the original before installing.
Disagree? Request a re-evaluation
Files included (4)
- SKILL.md2.8 KB
- agents/openai.yaml246 B
- references/admin-cli.md9.8 KB
- scripts/sub2api-admin.js26.0 KB
SKILL.md (original)
Review the instructions the agent will receive before you install.
Reviews
No reviews yet. Tell others what you thought.
Comments
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.