bankr-agent---error-handling by bankrbot/claude-plugins
npx skills add https://github.com/bankrbot/claude-plugins --skill 'Bankr Agent - Error Handling'解决 Bankr API 错误和身份验证问题。
向用户展示以下设置说明:
步骤 1:创建 API 密钥
访问 https://bankr.bot/api 创建一个新的 API 密钥
步骤 2:设置环境变量
# 添加到 shell 配置文件 (~/.zshrc 或 ~/.bashrc)
export BANKR_API_KEY=bk_your_api_key_here
步骤 3:重启 Claude Code
关闭并重新打开终端/Claude Code 会话
重要提示:身份验证失败时请不要重试。用户必须先修复 API 密钥。
| 错误 | 原因 | 解决方法 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 余额不足 | 代币数量不够 | 检查余额,减少交易量 |
| 代币未找到 | 无效的代币符号/地址 | 确认该代币在链上存在 |
| 滑点超出限制 | 价格变动过大 | 重试或尝试更小的交易量 |
| 交易被回退 | 链上执行失败 | 检查交易详情 |
| 超出速率限制 | 请求过多 | 等待后重试 |
| 状态码 | 含义 | 操作 |
|---|---|---|
| 400 | 请求错误 | 检查提示格式 |
| 401 | 未授权 | 修复 API 密钥(见上文) |
| 402 | 需要支付 | 确保钱包在 Base 链上有 BNKR |
| 429 | 超出速率限制 | 等待后重试 |
| 500 | 服务器错误 | 延迟后重试 |
bk_ 开头,设置后已重启 Claude Code示例:
您的 Bankr API 密钥未配置。请按以下步骤设置:
1. 访问 https://bankr.bot/api 创建一个 API 密钥
2. 在您的环境中设置 BANKR_API_KEY
3. 重启 Claude Code
每周安装量
0
仓库
GitHub 星标数
70
首次出现
1970年1月1日
Resolve Bankr API errors and authentication issues.
Present these setup instructions to the user:
Step 1: Create an API Key
Visit https://bankr.bot/api to create a new API key
Step 2: Set Environment Variable
# Add to shell profile (~/.zshrc or ~/.bashrc)
export BANKR_API_KEY=bk_your_api_key_here
Step 3: Restart Claude Code
Close and reopen the terminal/Claude Code session
Important : Do NOT retry when authentication fails. User must fix API key first.
| Error | Cause | Resolution |
|---|---|---|
| Insufficient balance | Not enough tokens | Check balance, reduce amount |
| Token not found | Invalid symbol/address | Verify token exists on chain |
| Slippage exceeded | Price moved too much | Retry or try smaller amount |
| Transaction reverted | On-chain failure | Check transaction details |
| Rate limit exceeded | Too many requests | Wait and retry |
| Code | Meaning | Action |
|---|---|---|
| 400 | Bad request | Check prompt format |
| 401 | Unauthorized | Fix API key (see above) |
| 402 | Payment required | Ensure wallet has BNKR on Base |
| 429 | Rate limited | Wait and retry |
| 500 | Server error | Retry after delay |
bk_, Claude Code restarted after settingExample :
Your Bankr API key is not configured. To set it up:
1. Visit https://bankr.bot/api to create an API key
2. Set BANKR_API_KEY in your environment
3. Restart Claude Code
Weekly Installs
0
Repository
GitHub Stars
70
First Seen
Jan 1, 1970
AI代理钱包工具 - 多链资产管理、余额查询、转账签名与交易历史
3,700 周安装
Smithery AI CLI:AI智能体市场命令行工具,连接10万+工具与技能
2,100 周安装
JSON 转 React 组件渲染器 | @json-render/react 动态 UI 生成库
613 周安装
RivetKit SwiftUI客户端:快速连接Rivet Actors构建iOS/macOS应用
2,000 周安装
RivetKit Swift 客户端:连接 Rivet Actors 的 iOS/macOS 开发库
2,000 周安装
Framer Motion动画制作器 - 使用声明式API构建React交互式动画教程
2,100 周安装
Gmail邮件读取工具 - Google Workspace CLI命令,支持JSON/HTML格式和标头提取
2,800 周安装