AgentsBank SDK Skill Definition
БесплатноЗапускает вложенные скриптыНе проверенThis skill provides secure, scoped crypto banking operations for AI agents via the official AgentsBank SDK. It enables agents to manage wallets, check…
от modbender★ 21 звезда на GitHubОб этом скилле
AgentsBank SDK Skill Definition
Version: 1.0.6
Publisher: AgentsBank
Contact: [email protected]
Status: 🟢 Public Release - Production Ready
🎯 PURPOSE & CAPABILITY
This skill provides secure, scoped crypto banking operations for AI agents via the official AgentsBank SDK. It enables agents to manage wallets, check balances, and execute transactions with explicit user control.
✅ Capabilities (Read-Only & Safe)
- ✓ Fetch agent wallet balances across all supported chains (Ethereum, BSC, Solana, Bitcoin)
- ✓ Retrieve transaction history with filtering and pagination
- ✓ Query wallet details, metadata, and account information
- ✓ Sign messages for authentication and verification (no fund transfer)
- ✓ Estimate gas fees before transaction execution
- ✓ List all wallets with pagination support
⚠️ Capabilities (Write/Financial - Requires Explicit User Invocation)
- ⚠️ Send crypto transactions (only if
disableModelInvocation: falseis explicitly overridden by user) - ⚠️ Create new wallets (only if
disableModelInvocation: falseis explicitly overridden by user) - ⚠️ Self-register agents and humans autonomously
❌ NOT Included (Out of Scope)
- OAuth2 delegated access to external wallets
- Webhooks or event subscriptions
- Smart contract deployment
- Sandboxed testing (use testnet chains directly)
- Private key export or management
🔐 CREDENTIALS & ENVIRONMENT VARIABLES
Required Environment Variables
| Variable | Type | Purpose | Example |
|---|---|---|---|
AGENTSBANK_API_URL |
string | API endpoint (primary) | https://api.agentsbank.online |
AGENTSBANK_AGENT_USERNAME |
string | Agent identifier | agent_123456_abc |
AGENTSBANK_AGENT_PASSWORD |
string | Agent credential (secret) | (user-specific) |
⚠️ SECURITY NOTES:
AGENTSBANK_AGENT_PASSWORDmust never be committed to version control- Store in
.envfile (add to.gitignore) - Rotate credentials quarterly or if exposed
- Use a secret manager (e.g., HashiCorp Vault, AWS Secrets Manager) in production
Optional Environment Variables
| Variable | Type | Purpose | Default |
|---|---|---|---|
AGENTSBANK_API_KEY |
string | Alternative to password-based auth | (not set) |
AGENTSBANK_LOG_LEVEL |
string | Logging verbosity | info |
AGENTSBANK_TIMEOUT_MS |
number | Request timeout | 30000 |
🚀 INSTALL & SETUP
1. Install SDK
The published npm package is lightweight (~6.8 KB) with no node_modules included. Installation only fetches dependencies you need:
npm install @agentsbankai/sdk
# or
yarn add @agentsbankai/sdk
# or
pnpm add @agentsbankai/sdk
This will:
- ✅ Download the compiled SDK (CJS + ESM formats)
- ✅ Install required dependencies (axios, ethers, @solana/web3.js, etc.)
- ✅ No bloat: node_modules are excluded from the published package
2. Initialize Environment
Create .env file in your project root:
AGENTSBANK_API_URL=https://api.agentsbank.online
AGENTSBANK_AGENT_USERNAME=agent_123456_abc
AGENTSBANK_AGENT_PASSWORD=your_secure_password_here
3. Create Client Instance
import { AgentsBankSDK } from '@agentsbankai/sdk';
// Initialize SDK with API credentials
const bank = new AgentsBankSDK({
apiUrl: process.env.AGENTSBANK_API_URL || 'https://api.agentsbank.online',
timeout: parseInt(process.env.AGENTSBANK_TIMEOUT_MS || '30000')
});
// Authenticate using agent credentials
const { token, agent } = await bank.login({
agentUsername: process.env.AGENTSBANK_AGENT_USERNAME!,
agentPassword: process.env.AGENTSBANK_AGENT_PASSWORD!
});
console.log('✅ Authenticated as:', agent.agent_id);
4. Use Safe Operations (Always Allowed)
// Get wallet balance (safe, read-only)
const balance = await bank.getBalance(walletId);
console.log('Balance:', balance);
// Get transaction history (safe, read-only)
const history = await bank.getTransactionHistory(walletId, {
limit: 10,
offset: 0
});
console.log('Recent transactions:', history);
// Sign a message (safe, no fund transfer)
const signature = await bank.signMessage(walletId, 'verify-ownership');
console.log('Signature:', signature);
// Estimate gas fees before sending
const gasEstimate = await bank.estimateGas({
walletId,
toAddress: '0x...',
amount: '1.5',
chain: 'ethereum'
});
console.log('Estimated gas:', gasEstimate);
// List all wallets with pagination
const wallets = await bank.listWallets({ limit: 20, offset: 0 });
console.log('Agent wallets:', wallets);
⚠️ RESTRICTED OPERATIONS (Require Explicit User Approval)
The following operations will not execute autonomously and require explicit user invocation:
// ❌ This requires user to explicitly call it
// (disableModelInvo
Установить AgentsBank SDK Skill Definition в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл AgentsBank SDK Skill Definition?
This skill provides secure, scoped crypto banking operations for AI agents via the official AgentsBank SDK. It enables agents to manage wallets, check balances, and execute transactions with explic...
Как установить скилл AgentsBank SDK Skill Definition?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AgentsBank SDK Skill Definition запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic