A Claude Code plugin that auto-wires the BitBadges builder MCP server and teaches Claude how to leverage the BitBadges CLI + docs to build, review, simulate, and query tokens.
The plugin is a thin harness on top of the CLI. It does not redefine token types or duplicate skill content — every workflow ultimately routes to bitbadges-cli commands, the bitbadges-builder MCP, or the public docs at https://docs.bitbadges.io. Source of truth stays in the SDK; the plugin just makes Claude reach for the right tool at the right time.
The BitBadges chain binary + CLI are the canonical way to interact with BitBadges. Install them first:
curl -fsSL https://install.bitbadges.io | shThis installs bitbadgeschaind (the chain binary), bitbadges-cli (the JS SDK CLI that exposes 106+ API routes plus the bitbadges-builder MCP server), and a friendly bb alias that wraps bitbadgeschaind. This plugin is a Claude Code convenience layer on top of those — it does not replace them.
After install, bb is the single user-facing name. Every SDK command lives at the top level — no cli infix needed. The plugin skills standardize on this short form:
| Form | What it covers | When skills use it |
|---|---|---|
bb <subcmd> (preferred) |
Everything. The full SDK surface — build, deploy, api, auctions, intents, auth, account, pools, pairs, dev, settings, etc. — plus every Cosmos-native surface (tx, query, keys) on the same binary. |
Every skill. |
bitbadges-cli <subcmd> (direct) |
Same SDK surface as bb <subcmd>, just the underlying JS binary. Use only when the chain binary isn't on PATH or a script pins the JS-only entry. |
Fallback only. |
bb cli <subcmd> (deprecated alias) |
Same as bb <subcmd>. Kept for one release so existing scripts and demos keep working — emits a one-line deprecation banner to stderr. Set BB_QUIET=1 to suppress. |
Never — examples have all moved to bb <subcmd>. |
Rule of thumb: when in doubt, use bb <subcmd>. Chain-native surfaces (tx, query, keys) live there too — bb --help groups them as "Chain operations" so you can tell at a glance which side of the binary owns each command.
Get an API key at bitbadges.io/developer and configure it once:
bb settings set apiKey YOUR_KEYAfter the prerequisites above:
/plugin marketplace add BitBadges/bitbadges-plugin
/plugin install bitbadges
Then run /bitbadges:setup once to verify everything is wired and /bitbadges:status whenever you want a health check.
- MCP tools —
bitbadges-builderregistered automatically (no separateclaude mcp addstep). Exposes 50+ session-based per-field token construction tools, queries, validation, review, and simulation. - 8 skills — guides that route Claude to the right CLI command, MCP tool, or docs page for each common BitBadges workflow:
build— meta-guide for building any token type. Discovers viabb dev skills, loads canonical instructions from the SDK, constructs via per-field MCP tools.review,simulate,explain— pre-broadcast safety net. Wrapsbb check, MCPsimulate_transaction, andbb explain.query,address,claim— runtime ops. Wraps the API routes, address derivations, and claim builder respectively.broadcast— hard-railed signer. Picks one of four signing paths based on what wallet the user has (chain binary, browser bridge via/sign, throwaway burner, or programmaticbb deploy --gen-payload). Dry-run by default, explicit confirmation for live.
- 2 slash commands —
/bitbadges:setup(one-time prereq check + API key wiring) and/bitbadges:status(health check). bitbadges-buildersubagent for focused builder loops.- SessionStart pre-warm so the first MCP-tool call doesn't pay npx download latency.
The skills don't duplicate token-type knowledge from the SDK. They tell Claude where to find that knowledge (CLI / MCP / Gitbook) and how to combine it. The full Gitbook docs at https://docs.bitbadges.io are also fair game — fetch what you need.
If bitbadges-cli and bitbadges-builder aren't on your PATH (because you skipped the prerequisites), the plugin falls back to npx -y -p bitbadges bitbadges-builder for the MCP server. This works for read-only LLM workflows but is a degraded path — a globally installed CLI is faster, more reliable, and what /bitbadges:setup will recommend.
The plugin reads ~/.bitbadges/config.json first if you've already configured the BitBadges CLI. Otherwise /bitbadges:setup prompts.
Get an API key at bitbadges.io/developer.
If you previously ran:
claude mcp add bitbadges-builder -- npx -y -p bitbadges bitbadges-builder
Remove the user-scope entry before installing the plugin to avoid duplicate MCP servers:
claude mcp remove bitbadges-builder
/bitbadges:setup will detect duplicates and offer to clean up.
- Skills inventory and detailed reference: docs.bitbadges.io/for-developers/ai-agents/claude-code-plugin
- MCP server source: bitbadgesjs/packages/bitbadgesjs-sdk/src/builder
- CLI source: bitbadgesjs/packages/bitbadgesjs-sdk/src/cli
- Chain binary: bitbadgeschain
CC BY-NC-SA 4.0 — see LICENSE. Matches the parent bitbadgesjs and bitbadgeschain projects.