🛠️ Bankofbots
AIエージェントの取引履歴や支払い実績を記録
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Trust scoring for AI agents. Log transactions and submit payment proofs to build a verifiable BOB Score — a trust score (think FICO but for AI Agents) that other agents and services can check to give them confidence before doing business with yours.
🇯🇵 日本人クリエイター向け解説
AIエージェントの取引履歴や支払い実績を記録
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o bankofbots.zip https://jpskill.com/download/4425.zip && unzip -o bankofbots.zip && rm bankofbots.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4425.zip -OutFile "$d\bankofbots.zip"; Expand-Archive "$d\bankofbots.zip" -DestinationPath $d -Force; ri "$d\bankofbots.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
bankofbots.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
bankofbotsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Bankofbots を使って、最小構成のサンプルコードを示して
- › Bankofbots の主な使い方と注意点を教えて
- › Bankofbots を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
セットアップ
最新の bob バイナリを https://github.com/bankofbots/bob-cli/releases/latest からダウンロードし、PATH に配置してください。
すべての API 呼び出しには、以下の認証情報が必要です。
BOB_API_KEY— エージェントの API キーBOB_AGENT_ID— エージェント IDBOB_API_URL—https://api.bankofbots.ai/api/v1
すべてのコマンドは、ok フィールドと、次のコマンドを提案する next_actions を含む構造化された JSON を出力します。
サポートされているレール: lightning と onchain (BTC のみ)。 USD および USDC レールは利用できません。
コアコンセプト
- Agent: 独自のアイデンティティ、ウォレット、および支出ポリシーを持つ AI エージェント
- Wallet: 特定のレール (lightning または onchain) で BTC 残高を保持します
- Policy: エージェントの動作を制限する支出制限、レート制限、およびキルスイッチ
- Transaction: ウォレットへの入出金の記録
- Service Gate: 呼び出し元が完了した支払いインテントを提示することでロックを解除する、価格設定されたアクション
コマンド
自分の身元を確認する
bob auth me
役割 (エージェントまたはオペレーター)、身元詳細、および役割に応じた next_actions を返します。
エージェントの詳細とウォレット残高
bob agent get <agent-id>
レスポンスには、各ウォレットの残高、通貨、レール、およびステータスを含む wallets 配列が含まれます。
ウォレット管理
# エージェントのウォレットを一覧表示する
bob wallet list <agent-id>
# ウォレットの予算 (sats) を取得/設定する
bob wallet budget get <agent-id> --wallet-id <id>
bob wallet budget set <agent-id> --wallet-id <id> --amount <sats>
bob wallet list には、デフォルトのエージェントアドレスが利用可能な場合に bob_address フィールドが含まれます。
ワンショット送信 (自動見積もり + 実行)
bob send <agent-id> <destination> --amount <sats> [--currency BTC]
宛先は自動検出されます。
jade@bankofbots.ai→bob_address(BTC) としてルーティングされますlnbc...→ Lightning インボイスbc1.../tb1...→ オンチェーン BTC アドレス
| フラグ | 説明 |
|---|---|
--amount |
必須。Satoshis |
--priority |
cheapest、fastest、または balanced (デフォルト: balanced) |
--description |
オプションの支払いメモ |
--max-fee |
許容される最大手数料 (sats) |
--rail |
lightning または onchain に固定する |
--destination-type |
自動検出を上書き: raw または bob_address |
見積もりを行い、1つのステップで実行します。intent_id、payment_id、および quote_summary を返します。失敗した場合、next_actions には正確な回復コマンドが含まれます。
CLI 設定の内部調査
# アクティブな api_url、プラットフォーム、設定ファイルのパスとソース (env/config/default) を表示する
bob config show
# 再初期化せずに単一の設定値を更新する
bob config set api-url <url>
bob config set platform <generic|openclaw|claude>
トランザクションを記録する (ウォレットから支出する)
bob tx record <agent-id> --amount <sats> --currency BTC
| フラグ | 説明 |
|---|---|
--amount |
必須。Satoshis |
--currency |
BTC (サポートされている唯一の通貨) |
--rail |
lightning または onchain (デフォルト: auto) |
--endpoint |
ターゲットエンドポイントまたはマーチャント識別子 |
--wallet-id |
デビットする特定のウォレット (省略された場合は自動選択) |
BTC を別のエージェントに転送する
bob tx transfer <from-agent-id> --to-agent-id <to-agent-id> --amount <sats> --currency BTC
| フラグ | 説明 |
|---|---|
--to-agent-id |
必須。宛先エージェント ID |
--amount |
必須。Satoshis |
--description |
オプションのメモ |
支払いの見積もりと実行 (インテントワークフロー)
インテントワークフローは、実行前にルートを見積もり、手数料、ETA、および利用可能なレールに関する可視性を提供します。
# 支払いのルートを見積もる
bob intent quote <agent-id> --amount <sats> --destination-type raw --destination-ref <lnbc...|bc1...>
# 見積もられたインテントを実行する (デフォルトでは最適な見積もりを使用)
bob intent execute <agent-id> <intent-id> [--quote-id <id>]
# インテントのステータスとルートの詳細を確認する
bob intent get <agent-id> <intent-id>
# 最近のインテントを一覧表示する
bob intent list <agent-id>
| フラグ | 説明 |
|---|---|
--amount |
必須。Satoshis |
--destination-type |
raw または bob_address |
--destination-ref |
Lightning インボイス、オンチェーンアドレス、または alias@bankofbots.ai |
--priority |
cheapest、fastest、または balanced (デフォルト: balanced) |
--execution-mode |
auto または pinned (デフォルト: auto) |
--rail |
lightning または onchain に固定する |
--wallet-id |
特定のウォレットに固定する |
--max-fee |
許容される最大手数料 (sats) |
非カストディアル証明の提出
決済を確認し、BOB スコアを構築するために、BTC 支払いの証明を提出してください。
# オンチェーントランザクション証明
bob intent submit-proof <agent-id> <intent-id> --txid <txid>
# Lightning 支払いハッシュ証明
bob intent submit-proof <agent-id> <intent-id> --payment-hash <hash>
# Lightning プリイメージ証明 (最も強力な検証)
bob intent submit-proof <agent-id> <intent-id> --preimage <hex> --proof-ref <payment-hash>
# 金額検証のためのオプションの BOLT11 インボイス付き
bob intent submit-proof <agent-id> <intent-id> --preimage <hex> --proof-ref <payment-hash> --invoice <lnbc...>
# クレジット構築のための履歴証明のインポート
bob agent credit-import <agent-id> --preimage <hex> --proof-ref <payment-hash> --amount <sats> --direction inbound --invoice <lnbc...>
| 証明タイプ | 説明 |
|---|---|
btc_onchain_tx |
オンチェーントランザクション ID |
btc_lightning_payment_hash |
Lightning 支払いハッシュ |
btc_lightning_preimage |
Lightning プリイメージ (支払いハッシュに対して SHA256 で検証され、最も強力な証明) |
履歴のクエリ
# トランザクション
bob tx list <agent-id> --status complete --direction outbound --limit 10
# 転送
bob tx transfers <agent-id>
# 支出の概要
bob spend list <agent-id>
ポリシーの表示
bob policy list <agent-id>
エージェントのクレジットスコアと履歴
# クレジットスコア、ティア、および有効なポリシー制限を表示する
bob agent credit <agent-id>
# クレジットイベントのタイムラインを表示する
bob agent credit-events <agent-id> [--limit 50] [--offset 0]
BOB スコアは 0~1000 の範囲です。新規オペレーターは * から開始します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Setup
Download the latest bob binary from https://github.com/bankofbots/bob-cli/releases/latest and place it on your PATH.
You need these credentials for all API calls:
BOB_API_KEY— your agent API keyBOB_AGENT_ID— your agent IDBOB_API_URL—https://api.bankofbots.ai/api/v1
All commands output structured JSON with an ok field and next_actions that suggest follow-up commands.
Supported rails: lightning and onchain (BTC only). USD and USDC rails are not available.
Core concepts
- Agent: An AI agent with its own identity, wallets, and spending policies
- Wallet: Holds a BTC balance on a specific rail (lightning or onchain)
- Policy: Spend limits, rate limits, and kill switches that constrain agent behavior
- Transaction: A record of money moving in or out of a wallet
- Service Gate: A priced action that callers unlock by presenting a completed payment intent
Commands
Check your identity
bob auth me
Returns your role (agent or operator), identity details, and role-aware next_actions.
Agent details and wallet balances
bob agent get <agent-id>
Response includes a wallets array with each wallet's balance, currency, rail, and status.
Wallet management
# List wallets for an agent
bob wallet list <agent-id>
# Get/set wallet budget (sats)
bob wallet budget get <agent-id> --wallet-id <id>
bob wallet budget set <agent-id> --wallet-id <id> --amount <sats>
bob wallet list includes a bob_address field when a default agent address is available.
One-shot send (auto-quote + execute)
bob send <agent-id> <destination> --amount <sats> [--currency BTC]
Destination is auto-detected:
jade@bankofbots.ai→ routes asbob_address(BTC)lnbc...→ Lightning invoicebc1.../tb1...→ on-chain BTC address
| Flag | Description |
|---|---|
--amount |
Required. Satoshis |
--priority |
cheapest, fastest, or balanced (default: balanced) |
--description |
Optional payment note |
--max-fee |
Maximum acceptable fee in sats |
--rail |
Pin to lightning or onchain |
--destination-type |
Override auto-detection: raw or bob_address |
Quotes then executes in one step. Returns intent_id, payment_id, and quote_summary. On failure, next_actions includes exact recovery commands.
CLI config introspection
# Show active api_url, platform, config file path and source (env/config/default)
bob config show
# Update a single config value without re-init
bob config set api-url <url>
bob config set platform <generic|openclaw|claude>
Record a transaction (spend from your wallet)
bob tx record <agent-id> --amount <sats> --currency BTC
| Flag | Description |
|---|---|
--amount |
Required. Satoshis |
--currency |
BTC (only supported currency) |
--rail |
lightning or onchain (default: auto) |
--endpoint |
Target endpoint or merchant identifier |
--wallet-id |
Specific wallet to debit (auto-selected if omitted) |
Transfer BTC to another agent
bob tx transfer <from-agent-id> --to-agent-id <to-agent-id> --amount <sats> --currency BTC
| Flag | Description |
|---|---|
--to-agent-id |
Required. Destination agent ID |
--amount |
Required. Satoshis |
--description |
Optional note |
Quote and execute payments (intent workflow)
The intent workflow quotes routes before executing, giving you visibility into fees, ETAs, and available rails.
# Quote routes for a payment
bob intent quote <agent-id> --amount <sats> --destination-type raw --destination-ref <lnbc...|bc1...>
# Execute a quoted intent (uses best quote by default)
bob intent execute <agent-id> <intent-id> [--quote-id <id>]
# Check intent status and route details
bob intent get <agent-id> <intent-id>
# List recent intents
bob intent list <agent-id>
| Flag | Description |
|---|---|
--amount |
Required. Satoshis |
--destination-type |
raw or bob_address |
--destination-ref |
Lightning invoice, on-chain address, or alias@bankofbots.ai |
--priority |
cheapest, fastest, or balanced (default: balanced) |
--execution-mode |
auto or pinned (default: auto) |
--rail |
Pin to lightning or onchain |
--wallet-id |
Pin to a specific wallet |
--max-fee |
Maximum acceptable fee in sats |
Non-custodial proof submission
Submit proof of BTC payment to verify settlement and build your BOB Score:
# On-chain transaction proof
bob intent submit-proof <agent-id> <intent-id> --txid <txid>
# Lightning payment hash proof
bob intent submit-proof <agent-id> <intent-id> --payment-hash <hash>
# Lightning preimage proof (strongest verification)
bob intent submit-proof <agent-id> <intent-id> --preimage <hex> --proof-ref <payment-hash>
# With optional BOLT11 invoice for amount verification
bob intent submit-proof <agent-id> <intent-id> --preimage <hex> --proof-ref <payment-hash> --invoice <lnbc...>
# Historical proof import for credit building
bob agent credit-import <agent-id> --preimage <hex> --proof-ref <payment-hash> --amount <sats> --direction inbound --invoice <lnbc...>
| Proof Type | Description |
|---|---|
btc_onchain_tx |
On-chain transaction ID |
btc_lightning_payment_hash |
Lightning payment hash |
btc_lightning_preimage |
Lightning preimage (SHA256 verified against payment hash, strongest proof) |
Query history
# Transactions
bob tx list <agent-id> --status complete --direction outbound --limit 10
# Transfers
bob tx transfers <agent-id>
# Spend summary
bob spend list <agent-id>
View policies
bob policy list <agent-id>
Agent credit score and history
# View credit score, tier, and effective policy limits
bob agent credit <agent-id>
# View credit event timeline
bob agent credit-events <agent-id> [--limit 50] [--offset 0]
The BOB Score runs from 0–1000. New operators start at 350. Tiers: Legendary (925+), Elite (800+), Trusted (650+, 1.5x limits), Established (500+, 1.2x limits), Verified (400+, 1.0x limits), New (300+, 1.0x limits), Unverified (150+, 0.6x limits), Blacklisted (0+, 0.6x limits). When credit tier enforcement is enabled, the tier multiplier adjusts spend and rate limits up or down from the base policy values.
Agent routing profile (autonomous rail preference)
# Inspect current weighting and preferred rail order
bob agent routing-profile <agent-id>
# Update balanced-scoring weights + preferred rails
bob agent routing-profile set <agent-id> \
--cost-weight 0.6 \
--eta-weight 0.4 \
--reliability-weight 0.2 \
--liquidity-weight 0.1 \
--preferred-btc lightning,onchain
Routing profile influences quote ranking for priority=balanced and is applied during intent quote + execute.
Agent webhooks and event stream
# Create/list/get/update/delete webhooks scoped to one agent
bob agent webhooks create <agent-id> --url https://example.com/hook --events payment_intent.complete,payment.failed
bob agent webhooks list <agent-id>
bob agent webhooks get <agent-id> <webhook-id>
bob agent webhooks update <agent-id> <webhook-id> --active true
bob agent webhooks delete <agent-id> <webhook-id>
# Pull recent agent events (paginated)
bob agent events <agent-id> --limit 30 --offset 0
Agent-scoped webhooks/events include payment intent lifecycle events (quoted, executing, submitted, complete, failed) so agents can react asynchronously without polling.
Operator credit controls
# View current operator credit posture
bob operator credit summary
# Force snapshot recompute
bob operator credit refresh
# Toggle runtime enforcement of credit tier multipliers
bob operator credit enforcement set --enabled=true
Operator payment addresses
# Create and inspect address aliases
bob address create --handle ops
bob address list
# Bind destination endpoints
bob address add-endpoint <address-id> --currency BTC --rail lightning --destination-type raw --destination-ref <lnbc...>
# Enable/disable a bound endpoint
bob address set-endpoint-status <address-id> <endpoint-id> --status disabled
# Resolve live routing capabilities
bob address resolve --address ops@bankofbots.ai --currency BTC
Service gates (pay-to-access)
# Create a priced gate (agent must have a payment address)
bob gate create <agent-id> --name "premium-api" --price 1000 --currency BTC
# List active gates
bob gate list <agent-id>
# Get gate details
bob gate get <agent-id> <gate-id>
# Disable/re-enable a gate
bob gate update <agent-id> <gate-id> --status disabled
# Unlock a gate (caller presents a completed payment intent targeting the gate owner)
bob gate unlock <owner-agent-id> <gate-id> --intent-id <payment-intent-id>
# View unlock history
bob gate unlocks <agent-id> <gate-id>
# List gates this agent has unlocked as a caller
bob gate my-unlocks <agent-id>
# Discover another agent's active gates
bob gate discover <agent-id>
| Flag | Description |
|---|---|
--name |
Required. Human-readable gate name |
--price |
Required. Minimum payment amount in sats |
--currency |
BTC |
--intent-id |
Required for unlock. Completed payment intent ID |
--status |
For update: active or disabled |
Output format
Every command returns JSON with this structure:
{
"ok": true,
"command": "bob tx record",
"data": { ... },
"next_actions": [
{
"command": "bob tx list <agent-id>",
"description": "View transaction history"
}
]
}
Always check ok before using data. When ok is false, data.error contains the error message and next_actions provides recovery suggestions.
Error recovery
When ok is false, next_actions provides context-aware recovery suggestions. Key patterns:
- Kill switch active: STOP all transactions immediately. Run
bob policy list <agent-id>to confirm. - Spend/rate limit exceeded: Check
bob spend list <agent-id>to see current usage vs limits. - Insufficient balance: Check
bob wallet list <agent-id>to see available funds. - 403 Forbidden: Check
bob auth meto verify your identity and role. - 409 Conflict: Resource already exists (e.g., agent already registered). Do not retry — run
bob agent get <agent-id>to confirm current state.
Important rules
- Amounts are always in satoshis (BTC).
- Policies set by your operator constrain your spending. If a transaction is denied,
data.errorexplains why. Do not retry denied transactions without changing the parameters. - Kill switch: If you receive a kill switch denial, stop all transaction attempts immediately. The operator has frozen your spending.
- next_actions: Every response includes suggested follow-up commands. Use them to discover what to do next.