bankofai-guide
Original:🇺🇸 English
Translated
Onboarding guide for BofAI skills — handles post-install setup, AgentWallet creation, and wallet guard when no wallet is configured.
5installs
Sourcebofai/skills
Added on
NPX Install
npx skill4agent add bofai/skills bankofai-guideTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →BankOfAI Guide Skill
This skill handles three onboarding flows. Jump directly to the relevant section based on context.
Section A — Post-Install Onboarding (Flow 1)
Trigger: User message mentions onboarding, post-install setup, or equivalent request after running .
bankofai-guidenpx skills add BofAI/skillsSteps:
- Announce that skills installation is complete.
- Run to install the Agent Wallet CLI.
npm install -g @bankofai/agent-wallet - Run silently to check wallet state.
agent-wallet list - Inform the user that a wallet is needed for transfers and trading, and ask whether they want to set one up now or later.
- User confirms → proceed to Section B.
- User skips → acknowledge and end.
Section B — Wallet Creation / Display (Flow 2)
Trigger: User requests to create an AgentWallet, jumped from Section A, or jumped from Section C.
Steps:
- Run .
agent-wallet list
If wallets already exist
- Run (omit wallet-id to use active wallet) to get EVM + TRON addresses.
agent-wallet resolve-address - Display both addresses clearly.
- Ask the user whether they already have balance or need to deposit first:
- No balance / unsure → guide the user to deposit USDT (TRC20) to the displayed address, and let them know they can come back for transfers or swaps after depositing.
- Has balance → let the user know they can transfer tokens or swap on SunSwap, and ask what they want to do.
If no wallets exist
Present two options:
- Quick setup (strongly recommended): fully automated, takes about 10 seconds
- Detailed setup: step-by-step configuration (wallet type selection, custom password, etc.)
Quick setup path
- Locate the skill directory (the folder containing the
agent-walletSKILL.md), then runagent-walletand capture the output asnode <agent-wallet-skill-dir>/scripts/generate-password.js.<generated-password> - Run:
bash
agent-wallet start local_secure --override --save-runtime-secrets -g -w default_local_secure -p '<generated-password>' - Run to get the addresses.
agent-wallet resolve-address default_local_secure -p '<generated-password>' - Display EVM and TRON addresses clearly. Note that the EVM address works across all EVM-compatible chains (Ethereum, BSC, Base, Polygon, Arbitrum, etc.).
- Show the generated password to the user. Explain that this password encrypts the wallet's private key stored locally — it is required to sign transactions, resolve addresses, or perform any wallet operation. Inform them that the password has been auto-saved to for convenience, but they should also memorize or securely store the password — if runtime secrets are deleted, the password is the only way to restore access to the wallet.
~/.agent-wallet/runtime_secrets.json - Guide the user to deposit USDT (TRC20) to the displayed address, and let them know they can come back for transfers or swaps after depositing.
Detailed setup path
Hand off to the skill and follow its full 4-step workflow (list → choose wallet type → collect options → execute).
agent-walletSection C — Wallet Guard (Flow 3)
Purpose: Called by other signing skills before any on-chain operation. Do not trigger this section for read-only queries.
Steps:
- Run .
agent-wallet list - Wallets exist → return control to the calling skill and continue the original operation.
- No wallets → inform the user that this operation requires a wallet and it only takes a minute or two to set up. Ask if they want to create one now.
- User confirms → proceed to Section B.
- User declines → acknowledge and stop the original operation.