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.

Before You Start

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

1

Download the .zip file using the button on any plugin card below.

2

Set DUAL_API_KEY in your shell profile (e.g. ~/.zshrc or ~/.bashrc) and restart your terminal.

3

Install via Claude Code CLI: claude plugins add ./dual-developer-kit.zip

4

The plugin's skills and commands load automatically. No build step needed — the MCP server runs remotely.

5

Test by running one of the plugin's slash commands (e.g. /my-tokens).

DUAL Token Manager

End Users

Manage 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-tokens

View your complete object collection with metadata, grouped by template. Filter by status, template, or ownership.

/transfer

Transfer a token to another wallet. Includes ownership verification, confirmation dialog, and clear success/failure messaging.

/mint

Create 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 guide

Knowledge Skill

dual-token-guideComprehensive guide to DUAL concepts — objects, templates, properties, actions, faces, wallets, and organizations.

How do DUAL tokens work?What is a template?Explain objects and propertiesHow do I transfer tokens?What can I do with my tokens?

Usage Examples

You

Show me my tokens

Claude

Fetches your objects grouped by template with name, properties, and status.

You

Transfer my fire dragon to bob@wallet.address

Claude

Shows confirmation dialog with object details, source, and destination. Waits for explicit 'confirm' before executing.

You

Mint 10 legendary cards from the Collectible template

Claude

Lists property requirements, lets you set values for all 10, then mints with a single confirmation.

Environment Variables

DUAL_API_KEYrequired

Your DUAL authentication API key

DUAL Developer Kit

Developers

Build 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-lookup

Search any DUAL API endpoint by natural language. Returns method, path, parameters, request/response schemas, and authentication requirements.

/scaffold-template

Generate boilerplate for creating a new DUAL template — cURL command, TypeScript SDK code, and JSON schema, with your custom properties baked in.

/generate-webhook

Create 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.md

Knowledge Skill

dual-api-guideComplete API guide covering authentication methods, RESTful conventions, pagination, error handling, and all 14 API categories.

How does DUAL authentication work?What API endpoints are available?DUAL SDK patternsWebhook integration guideAPI rate limiting

Usage Examples

You

How do I create a template in DUAL?

Claude

Returns POST /templates endpoint with required parameters, optional fields, example request/response, and auth requirements.

You

Scaffold a collectible NFT template with rarity and artist properties

Claude

Generates complete cURL command, TypeScript SDK code, and JSON schema with your custom properties pre-filled.

You

Generate webhooks for object.created and object.transferred events

Claude

Creates Express.js endpoint with signature verification, typed event handlers, monitoring, and error recovery.

Environment Variables

DUAL_API_KEYrequired

Your DUAL authentication API key

DUAL_SIGNING_SECREToptional

Webhook signature verification secret

DUAL AI Toolkit

AI / ML Engineers

Wire 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-classifier

Scaffold an AI token classification pipeline. Choose categories, LLM provider (OpenAI or Anthropic), and output format. Generates batch-capable classifier with structured output.

/setup-chatbot

Scaffold a tool-calling conversational assistant. Pick capabilities (query, transfer, search, wallet info) and generate a complete chatbot with safety confirmations.

/setup-guardrails

Generate 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.md

Knowledge Skill

dual-ai-patternsMaster guide covering all five AI integration patterns with architecture, code examples, cost estimates, and best practices.

AI integration with DUALClassify tokens with AIBuild a token chatbotAI webhook handlerSemantic search over tokensAI guardrails for token operations

Usage Examples

You

/setup-classifier for rarity, type, and sentiment categories using OpenAI

Claude

Generates a complete classification pipeline with batch processing, structured JSON output, and property write-back to DUAL.

You

Build me a chatbot that can query and transfer tokens

Claude

Scaffolds a Claude tool-calling assistant with DUAL API tools, conversation loop, and transfer confirmation flow.

You

/setup-guardrails with approval required for transfers over 100 tokens

Claude

Creates permission tiers, rate limiter, async approval queue with configurable thresholds, and audit dashboard endpoint.

Environment Variables

DUAL_API_KEYrequired

Your DUAL authentication API key

OPENAI_API_KEYoptional

For classification and embeddings

ANTHROPIC_API_KEYoptional

For chatbot and webhook AI

PINECONE_API_KEYoptional

For 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.