/near:near-dappfrom near
Scaffolds NEAR dApps with create-near-app (Vite+React, Next.js) and adds wallet connection via near-connect-hooks. Covers wallet sign-in/out, contract calls, and transaction signing.
Ships in near. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
@hot-labs/near-connect connector used hereauction, auction-adv; --help is authoritative)Determine which path to follow:
User wants to create a new NEAR dApp from scratch.
npx create-near-app@latest
Or with arguments:
npx create-near-app my-app --frontend vite-react --contract rs --install
Framework options: vite-react | next-app | next-page
Contract options: rs (Rust) | ts (TypeScript)
User wants to add NEAR wallet connection to an existing React app.
Quick setup:
npm install near-connect-hooks @hot-labs/near-connect near-api-js
// 1. Wrap app root with NearProvider
import { NearProvider } from 'near-connect-hooks';
<NearProvider config={{ network: 'mainnet' }}>
<App />
</NearProvider>
// 2. Use hook in components
import { useNearWallet } from 'near-connect-hooks';
const { signedAccountId, signIn, signOut, viewFunction, callFunction } = useNearWallet();
Use @hot-labs/near-connect directly without React hooks.
npm install @hot-labs/near-connect
import { NearConnector } from "@hot-labs/near-connect";
const connector = new NearConnector({ network: "mainnet" });
connector.on("wallet:signIn", async (t) => {
const wallet = await connector.wallet();
const address = t.accounts[0].accountId;
});
await connector.connect();
viewFunction({ contractId, method, args })callFunction({ contractId, method, args, deposit })transfer({ receiverId, amount })nearToYocto() / yoctoToNear() from near-api-js"1000000000000000000000000" yoctoNEAR"30000000000000" (30 TGas)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub near/agent-skills --plugin near8 skills in this plugin
/near-ai-cloudNEAR AI Cloud private inference and verification. Run LLM inference on private or sensitive data so that neither the host nor the model provider can read it, using the private (Confidential TEE) models on NEAR AI Cloud's OpenAI-compatible API, which run inside trusted execution environments (Intel TDX, NVIDIA confidential GPUs), with hardware attestation and response signatures you can verify. Use when integrating NEAR AI Cloud API for verifiable private AI inference, verifying model or gateway TEE attestation (NVIDIA NRAS, Intel TDX), verifying chat message signatures, implementing end-to-end encrypted chat, using specialized TEE endpoints (embeddings, reranking, images, audio, PII redaction), or using the OpenAI-compatible API with NEAR AI Cloud. Also use when someone needs confidential or private AI inference, wants an AI to analyze private business data safely, needs verifiable or attested inference with a receipt, or wants an OpenAI-compatible endpoint that keeps prompts private./near-api-jsGuide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) NEP-413 message signing for authentication, (11) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks. Also use to give an app's users on-chain accounts and let the app act for them: users who never pay gas or hold a gas token, an app or game that can act for a user only within limits (function-call access keys restricted to one contract and chosen methods), accounts or per-player sub-accounts created by the app, or sign-in that proves which account a user controls./near-cli-rsGenerate near-cli-rs v0.14+ commands for NEAR Protocol — account management, NEAR/FT/NFT token transfers, staking delegation, contract deployment and calls, transaction signing (keychain, Ledger, seed phrase, MPC, offline), and network config/near-contract-auditComprehensive security audit skill for NEAR Protocol smart contracts written in Rust. Use when auditing NEAR contracts, reviewing security vulnerabilities, or analyzing contract code for issues like reentrancy, unhandled promises, unsafe math, access control flaws, and callback security./near-intentsCross-chain token swap integration using NEAR Intents 1Click API, for moving tokens between blockchains and taking crypto payments across chains. Use when building swap widgets, bridge interfaces, or multi-chain transfers across EVM, Solana, NEAR, TON, Stellar, and Tron. Also use when someone wants to send USDC or another token from one chain to another (for example Ethereum to Solana) without handling a bridge, swap tokens across chains from one interface, pull funds from several chains into one account, accept a crypto payment in a token and on a chain the payer picks from the supported list, create a payment request or invoice for an exact amount, or pay a supplier on the chain the supplier chooses. No API key is needed to start; unauthenticated quotes carry an extra 0.25% fee./near-kitTypeScript library for NEAR Protocol blockchain interaction. Use this skill when writing code that interacts with NEAR Protocol, including viewing contract data, calling contract methods, sending NEAR tokens, building transactions, creating type-safe contract wrappers, integrating wallets (Wallet Selector, HOT Connect), React hooks and providers (@near-kit/react), managing keys, testing with sandbox, meta-transactions (NEP-366), and message signing (NEP-413).Other plugins' skills for the same job