metaplex
Metaplex development on Solana — NFTs, tokens, compressed NFTs, candy machines, token launches, autonomous agents. Use when working with Token Metadata, Core, Bubblegum, Candy Machine, Genesis, Agent Registry, or the mplx CLI.
git clone --depth 1 https://github.com/internet-court/internet-court-skill /tmp/metaplex && cp -r /tmp/metaplex/vendored/metaplex/metaplex ~/.claude/skills/metaplexSKILL.md
# Metaplex Development Skill ## Overview Metaplex provides the standard infrastructure for NFTs and tokens on Solana: - **Agent Registry**: On-chain agent identity, wallets, and execution delegation for MPL Core assets - **Genesis**: Token launch protocol with fair distribution + liquidity graduation - **Core**: Next-gen NFT standard (recommended for new NFT projects) - **Token Metadata**: Fungible tokens + legacy NFTs/pNFTs - **Bubblegum**: Compressed NFTs (cNFTs) using Merkle trees — massive scale at minimal cost - **Candy Machine**: NFT drops with configurable minting rules ## Tool Selection > **Prefer CLI over SDK** for direct execution. Use SDK only when user specifically needs code. | Approach | When to Use | |----------|-------------| | **CLI (`mplx`)** | Default choice - direct execution, no code needed | | **Umi SDK** | User needs code — default SDK choice. Covers all programs (TM, Core, Bubblegum, Genesis) | | **Kit SDK** | User specifically uses @solana/kit, or asks for minimal dependencies. Token Metadata only — no Core/Bubblegum/Genesis support | ## Task Router > **IMPORTANT**: You MUST read the detail file for your task BEFORE executing any command or writing any code. The command syntax, required flags, setup steps, and batching rules are ONLY in the detail files. Do NOT guess commands from memory. | Task Type | Read This File | |-----------|----------------| | Any CLI operation (agent guidelines, batching, explorer links) | `./references/cli.md` | | CLI: Agent Registry (identity, delegation, revocation, token linking) | `./references/cli.md` + `./references/cli-agent.md` | | CLI: Core NFTs/Collections | `./references/cli.md` + `./references/cli-core.md` + `./references/metadata-json.md` | | CLI: Token Metadata NFTs | `./references/cli.md` + `./references/cli-token-metadata.md` + `./references/metadata-json.md` | | CLI: Compressed NFTs (Bubblegum) | `./references/cli.md` + `./references/cli-bubblegum.md` + `./references/metadata-json.md` | | CLI: Candy Machine (NFT drops) | `./references/cli.md` + `./references/cli-candy-machine.md` + `./references/metadata-json.md` | | CLI: Token launch / bonding curve (Genesis) | `./references/cli.md` + `./references/cli-genesis.md` | | CLI: Execute / asset-signer wallets / agent vault | `./references/cli.md` + `./references/cli-core.md` (execute section) | | SDK: Execute / asset-signer PDA / agent vault | `./references/sdk-umi.md` + `./references/sdk-core.md` (execute section) | | CLI: Fungible tokens | `./references/cli.md` + `./references/cli-toolbox.md` | | SDK setup (Umi) | `./references/sdk-umi.md` | | SDK: Core NFTs | `./references/sdk-umi.md` + `./references/sdk-core.md` + `./references/metadata-json.md` | | SDK: Token Metadata | `./references/sdk-umi.md` + `./references/sdk-token-metadata.md` + `./references/metadata-json.md` | | SDK: Compressed NFTs (Bubblegum) | `./references/sdk-umi.md` + `./references/sdk-bubblegum.md` + `./references/metadata-json.md` | | SDK: Token Metadata with Kit | `./references/sdk-token-metadata-kit.md` + `./references/metadata-json.md` | | SDK: Agent Registry (identity, wallets, delegation) | `./references/sdk-umi.md` + `./references/sdk-agent.md` | | SDK: Token launch + bonding curve swaps (Genesis) | `./references/sdk-umi.md` + `./references/sdk-genesis.md` | | SDK: Low-level Genesis (custom buckets, presale, vesting) | `./references/sdk-umi.md` + `./references/sdk-genesis-low-level.md` | | Off-chain metadata JSON format/schema (NFT or token) | `./references/metadata-json.md` | | Account structures, PDAs, concepts | `./references/concepts.md` | | CLI errors, localnet issues | `./references/cli-troubleshooting.md` | ## CLI Capabilities The `mplx` CLI can handle most Metaplex operations directly. **Read `./references/cli.md` for agent guidelines (batching, JSON output, explorer links), then the program-specific file.** > **CLI v0.1.0 breaking changes** (for agents/scripts migrating from older versions): > - `--json <file>` (used to pass an offchain metadata file path) is now `--offchain <file>`. `--json` is now the standard OCLIF flag for machine-readable output. > - All commands now return structured JSON when `--json` is passed — use this for programmatic/agent use. | Task | CLI Support | |------|-------------| | Register agent identity | ✅ | | Fetch agent data | ✅ | | Revoke execution delegation | ✅ | | Set agent token (Genesis link) | ✅ (requires asset-signer mode) | | Create fungible token | ✅ | | Create Core NFT/Collection | ✅ | | Create TM NFT/pNFT | ✅ | | Transfer TM NFTs | ✅ | | Transfer fungible tokens | ✅ | | Transfer Core NFTs | ✅ | | Upload to Irys | ✅ | | Candy Machine drop | ✅ (setup/config/insert — minting requires SDK) | | Compressed NFTs (cNFTs) | ✅ (batch limit ~100, use SDK for larger) | | Execute (asset-signer wallets) | ✅ | | Check SOL balance / Airdrop | ✅ | | Query assets by owner/collection | ❌ SDK only (DAS API) | | Token launch (Genesis) | ✅ | | Bonding curve swap (Genesis) | ✅ | ## Program IDs ``` Agent Identity: 1DREGFgysWYxLnRnKQnwrxnJQeSMk2HmGaC6whw2B2p Agent Tools: TLREGni9ZEyGC3vnPZtqUh95xQ8oPqJSvNjvB7FGK8S Genesis: GNS1S5J5AspKXgpjz6SvKL66kPaKWAhaGRhCqPRxii2B Core: CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d Token Metadata: metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s Bubblegum V1: BGUMAp9SX3uS4efGcFjPjkAQZ4cUNZhtHaMq64nrGf9D Bubblegum V2: BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY Core Candy: CMACYFENjoBMHzapRXyo1JZkVS6EtaDDzkjMrmQLvr4J ``` ## Quick Decision Guide ### Autonomous Agents Use **Agent Registry** to register on-chain identity and execution delegation for MPL Core assets. The **Mint Agent API** (`mintAndSubmitAgent`) is the recommended path — it creates the Core asset and registers identity in a single transaction. For existing assets, use `registerIdentityV1` directly. Any Core asset already has a built-in wallet (Asset Signer PDA) via Core's Execute hook — the registry adds discoverable identity re
Entry point for Internet Court — the trust layer for agent-to-agent commerce. Use whenever an agent needs to transact with another agent or a paid service, or a user mentions agent payments, paid APIs (HTTP 402/x402), wallet custody or trust concerns, spending mandates, delegated permissions (ERC-7710/7715), escrow, agent identity or reputation (ERC-8004), negotiation between agents (A2A), agent jobs (ERC-8183), machine payments (MPP, AP2), supervision of agent behavior, revocation, verification, or dispute resolution (GenLayer) — even if they never say "Internet Court". Routes to the vendored protocol skills and connector skills in this package.
Connect GenLayer Intelligent Contract decisions to ERC-7710-style delegated authority. Use when an agent needs to design the interface, message schema, relayer/bridge path, EVM revocation controller, constraint updates, proof/finality assumptions, and failure handling that turn a GenLayer agent-performance review into ERC-7710 revocation or policy changes.
Internet Court adapter for GenLayer Intelligent Contract supervision. Use to specify agent-performance rubrics, evidence schemas, decision outputs, and ERC-7710 connector expectations, while delegating actual GenLayer contract writing, linting, testing, deployment, and CLI interaction to the official GenLayer skills at https://skills.genlayer.com/.
Design and implement demos combining x402 HTTP payments with ERC-7710 smart contract delegations and ERC-7715 wallet permission requests for subscriptions, bounded agent budgets, recurring spend, pay-per-use APIs, and agentic commerce.
0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI, or decentralized GPU question.
Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.
Use this skill when the user asks to log in or out with a wallet session, fetch a wallet sign-in challenge, verify an externally signed challenge, or troubleshoot AltLLM Portal wallet login for the local altllm CLI. Do NOT use for API key management, billing history, or payment links.
Use this skill when the user asks to inspect AltLLM Portal balance, redeem a promo code, review billing transactions, or view usage analytics by period, model, or API key using the local altllm CLI. Do NOT use for API key lifecycle management or payment-link execution.