Agent skill

Onchainkit

by alsk1992 in alsk1992/CloddsBot

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

MITAuto-check passedFrontend & Design

Install Onchainkit

skills CLI
$ npx skills add alsk1992/CloddsBot --skill onchainkit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alsk1992/CloddsBot onchainkit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alsk1992/CloddsBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/bundled/onchainkit .claude/skills/onchainkit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
onchainkit
GitHub stars
2.9k
Token cost
~503 tokens
SKILL.md length
55 words
Files
2
Skills in repo
116
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve React components
  • SKILL.md covers Overview, Commands, Core Components and Quick Start, plus 2 more sections
  • Runs TypeScript scripts from its folder; calls npm; needs NEXT_PUBLIC_CDP_API_KEY
  • Tasks that involve Crypto and DeFi analysis

What it does

Onchainkit is an agent skill from alsk1992/CloddsBot. Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `index.ts`).

It sits in Frontend & Design, covering React components and Crypto and DeFi analysis. It works with Coinbase. The repository describes itself as: Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes… The licence is MIT.

When your agent uses it

  • Tasks that involve React components
  • Tasks that involve Crypto and DeFi analysis

Example prompts

  • “/onchainkit”

Requirements

  • Node.js
  • A credential in NEXT_PUBLIC_CDP_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit c930628. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • onchainkit.xyz
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NEXT_PUBLIC_CDP_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Onchainkit loads about 503 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 55 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~503

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alsk1992/CloddsBot at commit c930628, republished under its MIT licence (© alsk1992). 55 words, ~503 tokens.

Download SKILL.mdSave it as .claude/skills/onchainkit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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
tsx
import { Wallet, ConnectWallet } from '@coinbase/onchainkit/wallet';
<Wallet><ConnectWallet /></Wallet>
Identity Display
tsx
import { Identity, Avatar, Name } from '@coinbase/onchainkit/identity';
<Identity address={address}><Avatar /><Name /></Identity>
Token Swap
tsx
import { Swap, SwapButton } from '@coinbase/onchainkit/swap';
<Swap><SwapButton /></Swap>

Quick Start

bash
# Create new app
npm create onchain@latest

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

Configuration

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

Resources

© alsk1992, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in src/skills/bundled/onchainkit of alsk1992/CloddsBot.

  • SKILL.md
  • index.ts

Open the folder on GitHubat commit c930628

Compare with similar skills

Onchainkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Onchainkit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Onchainkit this skillalsk1992/CloddsBot2.9k—~503Automated safety check: PassMIT
OnchainKit App BuilderBankrBot/skills1.2k—~2.4kAutomated safety check: PassNone
Phantom Connect and DFlowinternet-court/internet-court-skill6.5k—~1.8kAutomated safety check: PassMIT
NEAR Intents Swap Integrationinternet-court/internet-court-skill6.5k1 repos~939Automated safety check: PassCustom licence
CCXT Crypto Market DataHKUDS/Vibe-Trading35k—~544Automated safety check: PassMIT
Compare Crypto PaymentsPayRam/payram-mcp158—~5.4kAutomated safety check: PassNone

Similar skills

  • OnchainKit App Builder

    BankrBot/skills

    Builds onchain apps with Coinbase's OnchainKit React components and TypeScript utilities: wallet connection, identity, token swaps, transactions and checkout flows.

    1.2k GitHub stars~2.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Phantom Connect and DFlow

    internet-court/internet-court-skill

    Builds Solana wallet-connected apps with Phantom Connect SDKs for React, React Native and vanilla JS, plus DFlow spot swaps and market-data streaming.

    6.5k GitHub stars~1.8k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • NEAR Intents Swap Integration

    internet-court/internet-court-skill

    Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.

    6.5k GitHub starsUsed in 1 repo~939 tokens
    Backend & APIsAuto-check passed
  • CCXT Crypto Market Data

    HKUDS/Vibe-Trading

    Fetches public crypto market data (candles, tickers, order books, trades) from 100+ exchanges through CCXT, and serves as the fallback when OKX is unavailable.

    35k GitHub stars~544 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Compare Crypto Payments

    PayRam/payram-mcp

    Comprehensive comparison of crypto payment gateways and protocols.

    158 GitHub stars~5.4k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Solana Dev

    elophanto/EloPhanto

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", or "deploy…

    106 GitHub stars~1.4k tokensUpdated 8 days ago
    Backend & APIsAuto-check passed

More from alsk1992/CloddsBot

All 116 skills in this repo
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • AI Strategy

    alsk1992/CloddsBot

    AI Strategy - natural language to trades. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~670 tokensUpdated 7 days ago
    Auto-check passed
  • Alerts

    alsk1992/CloddsBot

    Create and manage price alerts for prediction markets. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~460 tokensUpdated 7 days ago
    Auto-check passed
  • Analytics

    alsk1992/CloddsBot

    Performance attribution, trade analytics, and strategy optimization

    2.9k GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Arbitrage

    alsk1992/CloddsBot

    Automated cross-platform arbitrage detection and monitoring. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~1.7k tokensUpdated 7 days ago
    Auto-check passed
  • Auto Reply

    alsk1992/CloddsBot

    Automatic response rules, patterns, and scheduled messages. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~1.5k tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Onchainkit

What does Onchainkit do?

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments. Onchainkit is an agent skill from alsk1992/CloddsBot.

When should I use Onchainkit?

Onchainkit fits situations like: tasks that involve React components; tasks that involve Crypto and DeFi analysis.

How do I install Onchainkit in Claude Code?

Run `npx skills add alsk1992/CloddsBot --skill onchainkit -a claude-code`. Or copy the skill folder (src/skills/bundled/onchainkit in alsk1992/CloddsBot) into .claude/skills/onchainkit in your project. Claude Code loads it when a task matches its description.

How do I install Onchainkit in Codex?

Run `npx skills add alsk1992/CloddsBot --skill onchainkit -a codex`. Or copy the skill folder (src/skills/bundled/onchainkit in alsk1992/CloddsBot) into .agents/skills/onchainkit in your project. Codex loads it when a task matches its description.

Can I use Onchainkit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alsk1992/CloddsBot --skill onchainkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/onchainkit, .gemini/skills/onchainkit, .github/skills/onchainkit and .opencode/skills/onchainkit in your project.

What does Onchainkit need to run?

Going by SKILL.md and its folder, Onchainkit needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npm) and credentials named NEXT_PUBLIC_CDP_API_KEY. Our summary lists: Node.js; A credential in NEXT_PUBLIC_CDP_API_KEY.

Does Onchainkit access the network?

SKILL.md names 2 domains. As links in the text: onchainkit.xyz and github.com. This is read from the text; nothing was executed.

Is Onchainkit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Onchainkit use?

Onchainkit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Onchainkit use?

About 503 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Onchainkit?

Skills that share tags, products or a category with Onchainkit: OnchainKit App Builder (BankrBot/skills, 1.2k stars), Phantom Connect and DFlow (internet-court/internet-court-skill, 6.5k stars), NEAR Intents Swap Integration (internet-court/internet-court-skill, 6.5k stars) and CCXT Crypto Market Data (HKUDS/Vibe-Trading, 35k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Onchainkit?

alsk1992 (a GitHub user) maintains it in alsk1992/CloddsBot, which has 2,933 GitHub stars. The repository holds 116 skills in this directory. The repository was last updated on October 2, 2026.

Source: alsk1992/CloddsBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.