sui-frontend

sui-frontend is a skill for Claude Code from widnyana/eyay-toolkits. It costs 75 tokens per session (6,257 once invoked), scanned A, original, MIT.

A toolkit for building browser applications that connect to Sui wallets and the Sui blockchain. Sui is a blockchain network; the toolkit supports React and other web frameworks.

In plain words
What is it for?
Use it to build Sui apps that connect wallets, query on-chain information, sign messages, or execute transactions.
Why use it?
It gives developers the documented patterns for connecting a web interface to wallets, reading blockchain data, and requesting signed transactions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sui-dev-tools plugin — 11 skills shipped together

Good fit Use it to build Sui apps that connect wallets, query on-chain information, sign messages, or execute transactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/widnyana/eyay-toolkits/sui-frontend
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add widnyana/eyay-toolkits --skill sui-frontend
Clone the repo
git clone --depth 1 https://github.com/widnyana/eyay-toolkits

Made for: Claude Code.

Or install sui-dev-tools, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sui-frontend

README.md
[![agentmods](https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/sui-frontend/github.svg)](https://agentmods.dev/skills/widnyana/eyay-toolkits/sui-frontend)
Your own site
<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/sui-frontend"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/sui-frontend/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sui-frontend

Your own site · 80×15
<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/sui-frontend"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/sui-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.06257
Opus 5 $0.00037 $0.03129
Sonnet 5 $0.00015 $0.01251
Haiku 4.5 $0.00007 $0.00626

Measured 11d ago against content hash eeca0cb449f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

sui-frontend scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/sui-dev-tools/skills/sui-frontend/SKILL.md · 752 lines

How it starts

The opening of the file, as written. The whole thing — 752 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sui Frontend Skill

This skill covers building browser-based Sui dApps using the dApp Kit SDK. The SDK has two packages:

  • @mysten/dapp-kit-react — React hooks, DAppKitProvider, and React component wrappers
  • @mysten/dapp-kit-core — Framework-agnostic core: actions, nanostores state, and Web Components for Vue, vanilla JS, Svelte, or any other framework

Both packages expose the same createDAppKit factory and identical action APIs (signAndExecuteTransaction, signTransaction, signPersonalMessage, etc.). What differs is how reactive state is accessed and UI is rendered: React uses hooks and provider components; other frameworks use nanostores stores and Web Components.

For PTB construction details (splitCoins, moveCall, coinWithBalance, etc.), apply the sui-ts-sdk skill alongside this one — the Transaction API is identical in browser and Node contexts.

Note: The older @mysten/dapp-kit package is deprecated (JSON-RPC only, no gRPC/GraphQL support). New projects must use @mysten/dapp-kit-react or @mysten/dapp-kit-core.


1. Package Installation

React:

npm install @mysten/dapp-kit-react @mysten/sui
# Add React Query for declarative on-chain data fetching (recommended)
npm install @tanstack/react-query

Vue / vanilla JS / other frameworks:

npm install @mysten/dapp-kit-core @mysten/sui
# For Vue reactive bindings:
npm install @nanostores/vue
Package Purpose
@mysten/dapp-kit-react React hooks, DAppKitProvider, React component wrappers
@mysten/dapp-kit-core Framework-agnostic actions, stores, Web Components
@mysten/sui Sui TypeScript SDK (Transaction class, gRPC client)
@tanstack/react-query Declarative on-chain data fetching (React only)
@nanostores/vue Reactive store bindings for Vue

2. Instance & Provider Setup (React)

Not using React? Skip to the Non-React Integration section below.

Read the full file on GitHub · 752 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 752 lines · 75 tokens per session scan A eeca0cb449f5

Subscribe to this mod's changes

sui-frontend is a skill published in the GitHub repository widnyana/eyay-toolkits (7 stars, last pushed 8d ago), licensed MIT. It adds 75 tokens to every session and 6,257 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

helius-phantom

Build frontend Solana applications with Phantom Connect SDK and Helius infrastructure. Covers React, React Native, and browser SDK integration, transaction signing via Helius Sender, API key proxying, token gating, NFT minting, crypto payments, real-time updates, and secure frontend architecture.

sendaifun/skills · 62 tokens

tanstack

Type-safe React with TanStack Query (fetching, caching, mutations), Router (file-based routing, search params, loaders), and Start (SSR, server functions). Use for react-query, server state, typed search params, route loaders, or SSR.

tenequm/skills · 55 tokens

typescript-dev

Full-stack TypeScript with Vite 8, React 19, Tailwind v4, shadcn/ui, Biome, Vitest, and Hono 4. Use when setting up or working in a TypeScript project - components, styling, build and HMR, tests, lint/CI, or a Hono API with type-safe RPC.

tenequm/skills · 76 tokens

phantom-connect

Build wallet-connected applications with the Phantom Connect SDK for Solana. Use when integrating Phantom wallets into React, React Native, or vanilla JS/TS apps — including wallet connection, social login (Google/Apple), transaction signing, message signing, token-gated access, crypto payments, and NFT minting.…

sendaifun/skills · 86 tokens

fusecore

Use when creating modules, understanding FuseCore structure, or implementing features in a FuseCore modular-monolith Laravel project.

fusengine/agents · 27 tokens

solid-nextjs

Use when applying SOLID principles to Next.js architecture — modular structure, file size limits, interface separation, JSDoc.

fusengine/agents · 29 tokens