# Recharge Skill

> BANK OF AI account query and recharge skill. Use for requests like 'recharge 1 usdt', '给 BANK OF AI 充值 1 USDT', or to query BANK OF AI balance/orders. Recharge uses the remote MCP endpoint https://recharge.bankofai.io/mcp with the single `recharge` tool.

- Skill: `bofai/recharge-skill` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add bofai/recharge-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bofai/recharge-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: bofai (https://skillmd.com/u/bofai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/bofai/recharge-skill

---


# Recharge 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 usdt`
- `recharge 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 balance`
- `list 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 `recharge` for all supported recharge routes such as `USDT`.
- Do not use native `TRX` recharge 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:

1. CLI arguments
2. Environment variables
3. `bankofai-config.json`
4. `~/.bankofai/config.json`
5. `~/.mcporter/bankofai-config.json`

See `bankofai-config.example.json` for an example.

Supported fields:

- `api_key`
- `base_url`
- `timeout_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`
- `node scripts/check_orders.js --format json`
  - Query `order.listOrders`

