bnbagent-studio
БесплатноБез исполняемых скриптовНе проверенThe single entry point for bnbagent-studio - a TypeScript CLI (`bag`) for building a blockchain SELLER agent that earns U/USD1/USDC/USDT stable assets on BNB…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
bnbagent-studio (the single entry point)
bnbagent-studio (CLI: bag) wires the @bnbagent/sdk protocol layer (wallet / ERC-8004 / ERC-8183 / Pieverse LLM) into a TypeScript agent project, then deploys it as a single blockchain seller runtime. A2A, MCP, and X402 are composable public faces selected with --protocols; every wallet kind scaffolds A2A + X402 with both ERC-8183 and B402 rails by default (for altana the paid B402 payout lands at the admin address). bag deploy uses scheme C: every new deploy or redeploy explicitly selects BNB, AWS, Azure, or CreateOS; a recorded deployment is used only to offer an explicit update action, never as a silent default. BNB is a 48h testnet trial and is disabled after expiry. AWS and Azure self-deploy into the user's own account. All cloud lifecycle mutations go through the pinned deploy packages (NodeOps uses their Node.js SDK); the optional AWS CLI is used only by the fail-open, read-only AgentCore quota check in bag deploy prepare. AgentCore and Azure Foundry share the unified A2A/X402 entrypoint; Azure rejects MCP. Treat an incompatible provider row as unavailable-do not force through it or mutate the scaffold during deploy.
Invoked as /bnbagent-studio <ask>? Treat <ask> as the user's intent and route it through the decision tree below, exactly like a natural-language ask.
Runtime preflight
This skill requires bag 0.0.17 or newer. Before following any workflow,
run the read-only command bag --version. If bag is missing or older, stop
and ask the user to run npm install -g @bnbagent/studio-cli@latest, then
repeat the version check. Never install or upgrade a global executable without
the user's approval.
The single seller runtime model (the invariants)
One deployed runtime, one signer: a single valuable Agent serves the selected faces (A2A src/unifiedMain.ts on :9000, MCP src/mcpMain.ts on :8000/mcp, or A2A-native src/dualMain.ts on :9000 with tunneled /mcp), holds the key, and signs in-process. The ERC-8183 rail exposes exactly two bounded operations - negotiate (deterministic canonical USD price conversion + EIP-191 sign; no LLM touches money) and notify_funded (verify the funded job → produce the deliverable → submit on-chain; A2A acks then delivers in the background, MCP delivers synchronously in the tool call). The optional x402 rail adds an anonymous HTTP request at /x402; positive prices settle through B402 before work, while explicit zero is FREE passthrough and bypasses the facilitator. It does not expose a general signing tool. Read-only chain tools remain available. ALL signing is fixed entrypoint code in app/agent/src/signing.ts or the runtime's bounded x402 payment handler, never an LLM-callable tool. The encrypted keystore lives at the workspace root .studio/wallets/, outside the deploy codeLocation, and is injected only via the selected provider's delegated secret channel. settle is manual (bag erc8183 settle). Full layout and lifecycle details live in the references below - read them before acting.
Decision tree - which reference to read next
References are plain markdown files installed in THIS skill's directory at references/<name>.md. When a row matches, READ THAT FILE before acting - do not answer from memory.
| User intent | Read / do |
|---|---|
| Create a brand new single seller project from zero | references/bnbagent-studio-scaffolding-agent.md |
| Add wallet / the single seller runtime to an existing TypeScript agent | references/bnbagent-studio-adding-to-project.md |
| Run / debug / dev / doctor / RPC / balance / incident triage | references/bnbagent-studio-operating.md |
| Report a CLI problem or share product feedback | Run bag feedback, check which operation it selected, review the local JSON and missing-information checklist before manually attaching it, and read references/bnbagent-studio-operating.md; Studio never uploads or submits it automatically |
| Implement what the Agent sells, tune pricing, publish over A2A and/or MCP, defend disputes (seller flow) | references/bnbagent-studio-selling-via-8183.md |
| Sell one paid or FREE HTTP request through the selected B402-backed x402 or MPP rail (pricing choice; paid merchant application, RSA key, credentials, IP allowlist, activation) | references/bnbagent-studio-selling-via-b402.md |
| Deploy / redeploy / status / logs / destroy | Run bag deploy and explicitly choose a provider. Non-interactive deploy requires --provider bnb|aws|azure|nodeops --yes (and --allow-multiple when keeping another provider active). Read references/bnbagent-studio-use-bnb-trial.md, references/bnbagent-studio-use-aws-agentcore.md, references/bnbagent-studio-use-azure-foundry.md, or references/bnbagent-studio-use-createos.md for the selected provider. bag deploy status lists every recorded provider; multi-deployment logs/verify/destroy require |
Установить bnbagent-studio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bnbagent-studio?
The single entry point for bnbagent-studio - a TypeScript CLI (`bag`) for building a blockchain SELLER agent that earns U/USD1/USDC/USDT stable assets on BNB Chain via ERC-8004 + ERC-8183 + an x402 or MPP B402 payment face (Pieverse LLM inside). Mainnet USD1 is EIP-3009-only and still requires live-release gates; Testnet USD1 is unavailable. Load this skill whenever the user works in a bnbagent-studio / `bag` project, or wants to create/scaffold, deploy, run, debug, operate, or monetize such a seller agent (composable A2A, MCP, and alternative X402/MPP faces; BNB Chain trial, AWS AgentCore, Azure Foundry, or CreateOS). All detailed playbooks ship as references/ files inside this skill - route via the decision tree in the body. When invoked with arguments, treat them as the user's intent and route the same way.
Как установить скилл bnbagent-studio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bnbagent-studio запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic