About recharge-skill
A skill for managing BANK OF AI account queries locally and sending recharge requests through a remote MCP endpoint. It keeps the account API key in the local agent layer rather than the server.
Key features
- 01Query point balance locally
- 02List account orders
- 03Recharge through remote MCP
- 04Configure API access locally
Use cases
- 01Check a BANK OF AI balance
- 02Review past account orders
- 03Recharge a supported TRC20 token
MCP support
Recharge requests use the remote MCP endpoint https://recharge.bankofai.io/mcp and its `recharge` tool. Balance and order queries are made directly to BANK OF AI by local scripts.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ bofai/ skills --skill recharge-skillAfter installing, type/recharge-skillin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
.gitignorebankofai-config.example.jsonREADME.mdscripts/check_balance.jscheck_orders.jsscripts/lib/bankofai_config.jsDetails
From the project READMERecharge Skill
This skill owns the local BANK OF AI account query layer and the remote BANK OF AI recharge flow. The server must not store the user's account API key.
When To Use
Use this skill for requests such as:
recharge 1 usdtrecharge my BANK OF AI account with 1 usdt- Chinese requests such as
给 BANK OF AI 充值 1 USDT - Chinese requests such as
通过 https://recharge.bankofai.io/mcp 给 BANK OF AI 充值 1 usdt check my BANK OF AI balancelist my BANK OF AI orders
Scope
- The BANK OF AI API key is managed by the local agent / skill.
- Balance and order queries should call BANK OF AI directly from local scripts.
- Recharge and payment flows should use the remote MCP endpoint
https://recharge.bankofai.io/mcp. - Use the MCP tool
rechargefor all supported recharge routes such asUSDT. - Do not use native
TRXrecharge flows from this skill. - If the requested token is not a supported TRC20 token, return the server validation error to the user.
Recharge Flow
For a request like recharge 1 usdt, use the remote MCP endpoint directly and call:
recharge(amount="1", token="USDT")
Return the settlement status, transaction hash, token, and amount to the user after the MCP call completes.
Local Configuration
This skill is configured for BANK OF AI production.
Resolution order:
- CLI arguments
- Environment variables
bankofai-config.json~/.bankofai/config.json~/.mcporter/bankofai-config.json
See bankofai-config.example.json for an example.
Supported fields:
api_keybase_urltimeout_ms
Recommended production value:
base_url = https://chat.ainft.com
Available Scripts
node scripts/check_balance.js --format json- Query the user's point balance with
api_key
- Query the user's point balance with
node scripts/check_orders.js --format json- Query
order.listOrders
- Query