Skip to content
Automation
Skill

/onchainkit

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments

From plugin
cloddsbot
651120 skills
Install
$ npx -y skills add alsk1992/CloddsBot --skill onchainkit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ†’
  • You can call itInvoke it directly when you want it.
  • Slash command/onchainkit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments

SKILL.md

onchainkit.SKILL.md
name: onchainkit
description: "Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments"
command: onchainkit
emoji: "๐Ÿ”—"

OnchainKit - Build Onchain Apps

Build production-ready onchain applications using Coinbase's React component library.

Overview

OnchainKit provides ready-to-use components that abstract blockchain complexity:

  • No backend infrastructure required
  • Works automatically on Base
  • Cost-effective transactions (< $0.01 fees)

Commands

Project Setup

/onchainkit create <project-name>    Create new onchain app
/onchainkit add <component>          Add component to project

Templates

/onchainkit template wallet          Wallet connection template
/onchainkit template swap            Token swap app template
/onchainkit template nft             NFT minting template
/onchainkit template checkout        Payment processing template

Docs

/onchainkit docs wallet              Wallet integration docs
/onchainkit docs identity            Identity components docs
/onchainkit docs swap                Token swap docs
/onchainkit docs transaction         Transaction building docs

Core Components

Wallet Connection

import { Wallet, ConnectWallet } from '@coinbase/onchainkit/wallet';
<Wallet><ConnectWallet /></Wallet>

Identity Display

import { Identity, Avatar, Name } from '@coinbase/onchainkit/identity';
<Identity address={address}><Avatar /><Name /></Identity>

Token Swap

import { Swap, SwapButton } from '@coinbase/onchainkit/swap';
<Swap><SwapButton /></Swap>

Quick Start

# Create new app
npm create onchain@latest

# Or add to existing project
npm install @coinbase/onchainkit

Configuration

export NEXT_PUBLIC_CDP_API_KEY="..."        # Coinbase API key
export NEXT_PUBLIC_WC_PROJECT_ID="..."      # WalletConnect ID

Resources

  • Docs: https://onchainkit.xyz
  • GitHub: https://github.com/coinbase/onchainkit
Read more
Ships withcloddsbot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

Get the whole plugin