Claude Code Plugins
Install DUAL plugins into Claude Code (the CLI) to manage tokens, build integrations, and wire up AI — all through natural conversation. Each plugin bundles slash commands, knowledge skills, and an MCP server connection to the DUAL platform. Designed for terminal-based workflows and headless environments.
All plugins require one environment variable. Set this in your shell profile before installing:
export DUAL_API_KEY="your_api_key"Get your API key from the Developer Kit page, or by calling POST /auth/login (OTP) to get a JWT token.
How to Install a Plugin
Download the .zip file using the button on any plugin card below.
Set DUAL_API_KEY in your shell profile (e.g. ~/.zshrc or ~/.bashrc) and restart your terminal.
Install via Claude Code CLI: claude plugins add ./dual-developer-kit.zip
The plugin's skills and commands load automatically. No build step needed — the MCP server runs remotely.
Test by running one of the plugin's slash commands (e.g. /my-tokens).
DUAL Token Manager
End UsersManage your tokens through conversation
View your token collection, transfer objects to other wallets, mint new tokens from templates, and explore the DUAL network — all through natural language. No API knowledge required.
Commands
/my-tokensView your complete object collection with metadata, grouped by template. Filter by status, template, or ownership.
/transferTransfer a token to another wallet. Includes ownership verification, confirmation dialog, and clear success/failure messaging.
/mintCreate new tokens from a template. Browse available templates, fill in required properties, and batch-create up to 100 objects at once.
File Structure
dual-token-manager/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest (name, version, description)
├── .mcp.json # MCP server connection config
├── commands/
│ ├── my-tokens.md # /my-tokens command definition
│ ├── transfer.md # /transfer command definition
│ └── mint.md # /mint command definition
├── skills/
│ └── dual-token-guide/
│ └── SKILL.md # Token concepts knowledge base
└── README.md # Plugin overview and setup guideKnowledge Skill
dual-token-guide — Comprehensive guide to DUAL concepts — objects, templates, properties, actions, faces, wallets, and organizations.
Usage Examples
Show me my tokens
Fetches your objects grouped by template with name, properties, and status.
Transfer my fire dragon to bob@wallet.address
Shows confirmation dialog with object details, source, and destination. Waits for explicit 'confirm' before executing.
Mint 10 legendary cards from the Collectible template
Lists property requirements, lets you set values for all 10, then mints with a single confirmation.
Environment Variables
DUAL_API_KEYrequiredYour DUAL authentication API key
DUAL Developer Kit
DevelopersBuild on DUAL faster
API reference lookups, template scaffolding, and webhook code generation. Covers all 14 API categories with full parameter documentation, SDK patterns, and production-ready boilerplate.
Commands
/api-lookupSearch any DUAL API endpoint by natural language. Returns method, path, parameters, request/response schemas, and authentication requirements.
/scaffold-templateGenerate boilerplate for creating a new DUAL template — cURL command, TypeScript SDK code, and JSON schema, with your custom properties baked in.
/generate-webhookCreate production-ready Express.js webhook handlers with signature verification, event routing, idempotency, and error handling.
File Structure
dual-developer-kit/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── .mcp.json # MCP server → DUAL API proxy
├── commands/
│ ├── api-lookup.md # /api-lookup command
│ ├── scaffold-template.md # /scaffold-template command
│ └── generate-webhook.md # /generate-webhook command
├── skills/
│ └── dual-api-guide/
│ ├── SKILL.md # API guide knowledge base
│ └── references/
│ ├── full-api-reference.md # All 100 endpoints
│ ├── sdk-patterns.md # TypeScript SDK patterns
│ └── webhook-patterns.md # Webhook implementation guide
└── README.mdKnowledge Skill
dual-api-guide — Complete API guide covering authentication methods, RESTful conventions, pagination, error handling, and all 14 API categories.
Usage Examples
How do I create a template in DUAL?
Returns POST /templates endpoint with required parameters, optional fields, example request/response, and auth requirements.
Scaffold a collectible NFT template with rarity and artist properties
Generates complete cURL command, TypeScript SDK code, and JSON schema with your custom properties pre-filled.
Generate webhooks for object.created and object.transferred events
Creates Express.js endpoint with signature verification, typed event handlers, monitoring, and error recovery.
Environment Variables
DUAL_API_KEYrequiredYour DUAL authentication API key
DUAL_SIGNING_SECREToptionalWebhook signature verification secret
Related Resources
DUAL AI Toolkit
AI / ML EngineersWire up AI to the DUAL platform
Five production-ready patterns for integrating language models with DUAL — token classification, conversational assistants, webhook automation, semantic search, and safety guardrails. Includes scaffold commands, detailed reference guides, and links to companion GitHub repos.
Commands
/setup-classifierScaffold an AI token classification pipeline. Choose categories, LLM provider (OpenAI or Anthropic), and output format. Generates batch-capable classifier with structured output.
/setup-chatbotScaffold a tool-calling conversational assistant. Pick capabilities (query, transfer, search, wallet info) and generate a complete chatbot with safety confirmations.
/setup-guardrailsGenerate AI safety middleware — permission tiers, rate limiting, human-in-the-loop approval queues, and audit logging.
File Structure
dual-ai-toolkit/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── .mcp.json # MCP server connection
├── commands/
│ ├── setup-classifier.md # /setup-classifier command
│ ├── setup-chatbot.md # /setup-chatbot command
│ └── setup-guardrails.md # /setup-guardrails command
├── skills/
│ └── dual-ai-patterns/
│ ├── SKILL.md # AI integration patterns guide
│ └── references/
│ ├── classifier-patterns.md # Classification pipeline patterns
│ ├── chatbot-patterns.md # Tool-calling chatbot patterns
│ ├── webhook-ai-patterns.md # AI webhook automation
│ ├── semantic-search.md # Vector search patterns
│ └── guardrails.md # Safety middleware guide
└── README.mdKnowledge Skill
dual-ai-patterns — Master guide covering all five AI integration patterns with architecture, code examples, cost estimates, and best practices.
Usage Examples
/setup-classifier for rarity, type, and sentiment categories using OpenAI
Generates a complete classification pipeline with batch processing, structured JSON output, and property write-back to DUAL.
Build me a chatbot that can query and transfer tokens
Scaffolds a Claude tool-calling assistant with DUAL API tools, conversation loop, and transfer confirmation flow.
/setup-guardrails with approval required for transfers over 100 tokens
Creates permission tiers, rate limiter, async approval queue with configurable thresholds, and audit dashboard endpoint.
Environment Variables
DUAL_API_KEYrequiredYour DUAL authentication API key
OPENAI_API_KEYoptionalFor classification and embeddings
ANTHROPIC_API_KEYoptionalFor chatbot and webhook AI
PINECONE_API_KEYoptionalFor large-scale semantic search
Claude Code vs Cowork Installation
Claude Code (CLI): Install plugins via terminal using claude plugins add for headless and automation workflows.
Cowork (Desktop): Install plugins via drag-and-drop through the Claude desktop app GUI.
Both use the same .zip format and connect to the same MCP servers. View the Claude Plugins page for Cowork-specific installation steps.
About the MCP Server
All three plugins connect to the DUAL platform through the hosted MCP server at https://mcp.blockv.io/mcp. No local setup is needed — the plugins communicate with the remote server, which proxies requests to the DUAL API. Your API key is sent securely via the X-API-Key header on each request.
For configuration details, see the MCP Server documentation and Setup Guide.
Troubleshooting
"Cannot connect to MCP server"
The plugin connects to the hosted MCP server at mcp.blockv.io. Check your internet connection and that the endpoint is reachable.
"Invalid token" or "Unauthorized"
Verify DUAL_API_KEY is set in your shell profile and hasn't expired. Restart Claude Code after changing environment variables.
Tools return "Resource not found"
Some API endpoints may not be available on all network deployments. Check that your API key has the required permissions.
Plugin not showing in Claude Code
Run `claude plugins list` to verify installation. Ensure the .zip file was valid and extracted properly.