WeryAI Account
by @weryai-developer
Check WeryAI account credits and API balance through the official WeryAI account endpoint. Use when the user wants to query remaining credits, inspect WeryAI...
clawhub install weryai-accountπ About This Skill
name: weryai-account description: Check WeryAI account credits and API balance through the official WeryAI account endpoint. Use when the user wants to query remaining credits, inspect WeryAI account balance, verify that WERYAI_API_KEY works for account access, or asks how many credits are left before running paid image, video, or music jobs. metadata: { "openclaw": { "emoji": "π³", "primaryEnv": "WERYAI_API_KEY", "paid": false, "network_required": true, "requires": { "env": ["WERYAI_API_KEY"], "bins": ["node"], "node": ">=18" } } }
WeryAI Account
Use this skill for official WeryAI account balance and credits queries. It is intentionally narrow: the only supported public account action in this skill is reading the current API credits balance from WeryAI.
This skill is intentionally strict about secret declaration and input safety: the only runtime secret is WERYAI_API_KEY. This is a read-only account check, not a generation or editing workflow.
Dependencies: scripts/account.js in this directory + WERYAI_API_KEY + Node.js 18+. No other Cursor skills are required.
Example Prompts
Check my remaining WeryAI credits.How many credits are left on this WeryAI API account?Verify that this WERYAI_API_KEY can read the account balance.Before I run a paid image job, show me the current WeryAI balance.Quick Summary
balanceWERYAI_API_KEY runtime-secret policyAuthentication and first-time setup
Before the first real account query:
1. Create a WeryAI account.
2. Open the API key page at https://www.weryai.com/api/keys.
3. Create a new API key and copy the secret value.
4. Add it to the required environment variable WERYAI_API_KEY.
OpenClaw-friendly setup
WERYAI_API_KEY in metadata.openclaw.requires.env and primaryEnv.WERYAI_API_KEY.export WERYAI_API_KEY="your_api_key_here"
Quick verification
Use one safe check before the first real account query:
node {baseDir}/scripts/account.js balance
If the key is valid, the command returns JSON with a numeric balance.
balance confirms that the key is configured and the official account endpoint is reachable.balance is 0, guide the user to recharge or buy credits at https://www.weryai.com/api/pricing before running paid jobs.Prerequisites
WERYAI_API_KEY must be set before running account.js.>=18 is required because the runtime uses built-in fetch.Security, secrets, and API hosts
WERYAI_API_KEY: Treat it as a secret. Configure it only in the runtime environment; never write the secret value into the skill files.WERYAI_BASE_URL defaults to https://api.weryai.com. Only override it with a trusted host.scripts/account.js before production use.Intent Routing
Use this skill when the user asks:
Do not use this skill for:
Those belong to other WeryAI skills.
Preferred Command
node {baseDir}/scripts/account.js balance
Workflow
1. Confirm the user wants account credits or API balance, not generation.
2. Ensure WERYAI_API_KEY is available in the runtime environment.
3. Run node {baseDir}/scripts/account.js balance.
4. Return the JSON result and clearly state the current balance.
Output
The command prints JSON to stdout. Successful output includes:
okphasebalancetopUpRequiredrechargeUrlguidanceFailure output can include:
errorCodeerrorMessageDefinition of done
The task is done when:
0, the recharge guidance is shown with https://www.weryai.com/api/pricing,WERYAI_API_KEY.Re-run behavior
balance is read-only and safe to re-run.References
βοΈ Configuration
WERYAI_API_KEY must be set before running account.js.>=18 is required because the runtime uses built-in fetch.