Agent skill

OnchainKit App Builder

by BankrBot in BankrBot/skills

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

No licenceAuto-check passedFrontend & Design

Install OnchainKit App Builder

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

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

GitHub CLI
$ gh skill install BankrBot/skills 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/BankrBot/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/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
1.2k
Token cost
~2.4k tokens
SKILL.md length
584 words
Files
15 (incl. scripts, references, assets)
Skills in repo
106
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 6 steps: Wallet Connection & Management → Identity Display → Token Operations → …
  • Adding wallet connect and identity display to a React app
  • SKILL.md covers Overview, Quick Start, Core Capabilities and Common Workflows, plus 5 more sections
  • Runs Python and JavaScript scripts from its folder; calls npm; needs NEXT_PUBLIC_CDP_API_KEY

What it does

The skill helps the agent build wallet connection, identity display, token operations, transaction building and payment checkout with OnchainKit components. Two quick-start paths exist: create a new project with `scripts/create-onchain-app.py`, or add OnchainKit to an existing one with `npm install @coinbase/onchainkit` followed by `scripts/setup-environment.py`. The skill describes the components as working on Base without a backend of your own.

Identity components show ENS names, avatars and badges, and the swap components cover ERC-20 token swaps, fiat purchases, balances and price feeds. Bundled helpers include a component generator, a setup validator, a basic app template with an example `.env.local`, and reference notes on configuration, wallet integration, token operations, examples and troubleshooting. The excerpt is cut off before the payment section ends, so later details are not described.

When your agent uses it

  • Adding wallet connect and identity display to a React app
  • Building a token swap or buy flow
  • Creating a checkout or payment flow with onchain transactions
  • Scaffolding a new onchain app

Example prompts

  • “Create a new onchain app with wallet connection and ENS identity display.”
  • “Add a token swap component to my existing app using OnchainKit.”
  • “Build a checkout button that takes payment onchain.”

Requirements

  • npm, to install `@coinbase/onchainkit`
  • Python to run the scripts in `scripts/`

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Wallet Connection & Management
  2. Identity Display
  3. Token Operations
  4. Transaction Building
  5. Payment Processing
  6. NFT Integration

What it can do on your machine

Read from SKILL.md and the folder at commit dc47eed. 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 4 files in scripts/ (Python and JavaScript), 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):

    • github.com
    • onchainkit.xyz
    • discord.gg
    • x.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 App Builder loads about 2.4k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 584 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~19k

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 584 words (~2,379 tokens).

“Build production-ready onchain applications using Coinbase's comprehensive React component library and TypeScript utilities.”

— opening of SKILL.md by BankrBot
name
onchainkit

Read the full SKILL.md on GitHub

Files

SKILL.md and 14 other files (scripts, references, assets) in onchainkit of BankrBot/skills.

  • SKILL.md
  • assets/templates/basic-app/.env.local.example
  • assets/templates/basic-app/README.md
  • assets/templates/basic-app/next.config.js
  • assets/templates/basic-app/package.json
  • catalog.json
  • references/configuration.md
  • references/examples.md
  • references/token-operations.md
  • references/troubleshooting.md
  • references/wallet-integration.md
  • scripts/component-generator.py
  • scripts/create-onchain-app.py
  • scripts/setup-environment.py
  • scripts/validate-setup.py

Open the folder on GitHubat commit dc47eed

Compare with similar skills

OnchainKit App Builder 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 App Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
OnchainKit App Builder this skillBankrBot/skills1.2k—~2.4kAutomated safety check: PassNone
Onchainkitalsk1992/CloddsBot2.9k—~503Automated safety check: PassMIT
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Dify Component Writing Guidelanggenius/dify158k—~626Automated safety check: PassCustom licence
React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2.9kAutomated safety check: PassMIT
Formik Form PatternsChrisWiles/claude-code-showcase6.1k3 repos~2.1kAutomated safety check: PassNone

Similar skills

  • Onchainkit

    alsk1992/CloddsBot

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

    2.9k GitHub stars~503 tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Frontend & DesignAuto-check passed
  • React Frontend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.

    10k GitHub starsUsed in 2 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Formik Form Patterns

    ChrisWiles/claude-code-showcase

    Shows how to build forms with Formik and Yup validation, including conditional rules, field helpers, GraphQL submission, edit forms and multi-step flows.

    6.1k GitHub starsUsed in 3 repos~2.1k tokens
    Frontend & DesignAuto-check passed
  • Animated React Component Libraries

    Hainrixz/editor-pro-max

    Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.

    264 GitHub starsUsed in 1 repo~5.7k tokens
    Frontend & DesignAuto-check passed

More from BankrBot/skills

All 106 skills in this repo
  • Lists AgenticBets prediction markets on Base, shows odds, places UP or DOWN bets on token prices in USDC and claims winnings through the Bankr wallet API.

    1.2k GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check passed
  • AI2Human Task Router

    BankrBot/skills

    Creates AI2Human tasks for steps that need a real person, such as manual QA or local checks, and returns a task URL the agent can track.

    1.2k GitHub stars~3.2k tokensUpdated 4 days ago
    Auto-check passed
  • Lets an agent inspect and operate AZZLE V2 tasks on Base through Bankr, from posting and claiming to funding, delivery, release and disputes, behind verified deployment pins.

    1.2k GitHub stars~3.4k tokensUpdated 4 days ago
    Auto-check passed
  • B20 Console

    BankrBot/skills

    Inspect B20 token contract addresses on Base through B20 Console.

    1.2k GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Capacitr

    BankrBot/skills

    Paste a URL or free text and get matched Polymarket / Hyperliquid / Deribit markets with Quotient edge scores.

    1.2k GitHub stars~3k tokensUpdated 4 days ago
    Auto-check passed
  • Endaoment

    BankrBot/skills

    Donate to charities onchain via Endaoment. An agent skill from BankrBot/skills.

    1.2k GitHub stars~610 tokensUpdated 4 days ago
    Auto-check passed

Questions about OnchainKit App Builder

What does OnchainKit App Builder do?

Builds onchain apps with Coinbase's OnchainKit React components and TypeScript utilities: wallet connection, identity, token swaps, transactions and checkout flows. The skill helps the agent build wallet connection, identity display, token operations, transaction building and payment checkout with OnchainKit components.py`.

When should I use OnchainKit App Builder?

OnchainKit App Builder fits situations like: adding wallet connect and identity display to a React app; building a token swap or buy flow; creating a checkout or payment flow with onchain transactions; scaffolding a new onchain app.

How do I install OnchainKit App Builder in Claude Code?

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

How do I install OnchainKit App Builder in Codex?

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

Can I use OnchainKit App Builder 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 BankrBot/skills --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 App Builder need to run?

Going by SKILL.md and its folder, OnchainKit App Builder needs Python and JavaScript 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: npm, to install `@coinbase/onchainkit`; Python to run the scripts in `scripts/`.

Does OnchainKit App Builder access the network?

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

Is OnchainKit App Builder 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does OnchainKit App Builder use?

No licence was found for OnchainKit App Builder or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does OnchainKit App Builder use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.

What are the alternatives to OnchainKit App Builder?

Skills that share tags, products or a category with OnchainKit App Builder: Onchainkit (alsk1992/CloddsBot, 2.9k stars), Web Artifacts Builder (anthropics/skills, 180k stars), Dify Component Writing Guide (langgenius/dify, 158k stars) and React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains OnchainKit App Builder?

BankrBot (a GitHub organization) maintains it in BankrBot/skills, which has 1,202 GitHub stars. The repository holds 106 skills in this directory. The repository was last updated on October 5, 2026.

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