Skip to content
MystenLabsPublic

About

Sui development skills maintained by Mysten Labs

Resources

Stars

19 stars

Watchers

0 watching

Forks

Latest commit

 

History

168 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mysten Labs Agent Skills

Reusable agent skills for building on Sui. Install them into Claude Code, Cursor, Codex, and 40+ other AI coding agents via the skills CLI.

Install

# Browse available skills
npx skills add mystenlabs/skills --list

# Install a specific skill
npx skills add mystenlabs/skills --skill sui-move

# Install a starter set (recommended for new devs)
npx skills add mystenlabs/skills --skill sui-overview --skill sui-move --skill sui-move-project

# Install all skills
npx skills add mystenlabs/skills --all

New to Sui? Start with the three-skill starter set above (sui-overview, sui-move, sui-move-project). Installing all 31 skills adds real context overhead and can cause trigger collisions. Add more as you need them.

Skills

Get started

Skill Description
sui-overview High-level overview of Sui, the object model, and the Sui Stack
sui-move Sui Move smart contract development — abilities, TxContext, OTW, events, coins
sui-move-project Move project setup, Move.toml configuration, and dependency management

Move development

Skill Description
composable-move-functions Function visibility, parameter ordering, and return patterns
modern-move-syntax Move 2024 edition syntax — method calls, string literals, loops
naming-conventions Naming rules for structs, constants, events, capabilities, and keys
move-unit-testing Writing unit tests for Move smart contracts
object-model Ownership types, dynamic fields, collections, transfer patterns
sui-build-test Building Move code with sui move build
move-security Reviewing Move for vulnerabilities — access control, capabilities, invariants
onchain-randomness The Random object (0x8), RandomGenerator, and composition attacks
kiosk Kiosk and NFT trading — listing, TransferPolicy, Kiosk Apps

Tooling and deployment

Skill Description
sui-install Installing and managing Sui CLI versions with suiup
sui-networks-gas Mainnet/Testnet/Devnet differences, gas costs, epochs
sui-client CLI client configuration, address management, and faucet tokens
sui-publish Publishing, upgrading, and deploying Move packages

SDKs and frontend

Skill Description
sui-sdks SDK landscape — TypeScript, Rust, Python, Go, and more
ptbs Programmable Transaction Blocks — composing atomic transactions
frontend-apps dApp development with @mysten/dapp-kit (React, Vue, vanilla JS)
accessing-data Reading on-chain state — gRPC, GraphQL, indexers, Walrus blobs
sui-ts-sdk-backend The TypeScript SDK for backends and agents — keypairs, signing, no CLI

DeepBook

Skill Description
deepbook-overview DeepBook V3 architecture, contract addresses, and key concepts
deepbook-sdk DeepBook V3 TypeScript SDK — trading, orders, swaps
deepbook-move DeepBook V3 Move integration — on-chain orders, flash loans
deepbook-margin DeepBook margin/leveraged trading
deepbook-predict DeepBook Predict — prediction markets (Testnet only)

Walrus

Skill Description
walrus-sites Decentralized website hosting on Walrus Sites

Other

Skill Description
generate-sui-agent-config Generate CLAUDE.md or AGENT.md for Sui projects
sui-for-ethereum Coming from Solidity — EVM patterns and their Move equivalents
zklogin zkLogin — protocol flow, OpenID providers, address derivation
sui-bridge Sui Bridge — supported assets, contract addresses, the global limiter

Repo Structure

Each skill is a directory at the repo root containing a SKILL.md and supporting reference files:

├── sui-move/
│   ├── SKILL.md
│   ├── abilities-context.md
│   ├── events-coins.md
│   └── evals/
│       └── evals.json
├── sui-sdks/
│   ├── SKILL.md
│   ├── typescript.md
│   └── ...
└── ...

Supporting files (anything that isn't SKILL.md) are bundled with the skill but only loaded by the agent when needed — they don't consume context upfront.

Two directories at the root are not skills, and the skills CLI ignores them because neither has a SKILL.md:

scripts/ The eval runners and the staleness check
suievals/ The public Sui Evals board — the suite, its build, and the published results

Sui Evals

How well do AI coding agents answer real Sui questions, with and without these skills loaded? suievals/ holds the answer and everything needed to reproduce it: the suite, the build, and the published results.

suievals/RUN.md Run the suite against your own model and submit the result
suievals/results/ The published cards, one per run
suievals/DEPLOY.md How the page is served

The suite is assembled from the evals/evals.json files that live beside each skill, so adding evals to a skill adds questions to the board. It carries a version fingerprint, and a card scored against an older one is marked rather than ranked beside current results.

Anyone can submit. Each card records who measured it — official for runs published by this repository's pipeline, community otherwise — and how it was graded, and a self-graded card is published without being ranked against a judge-graded one.

Contributing

Quick start

# Create the skill
mkdir -p your-skill-name
$EDITOR your-skill-name/SKILL.md   # frontmatter is described under Steps below

# Add supporting reference files
touch your-skill-name/setup.md
touch your-skill-name/core.md
touch your-skill-name/patterns.md
touch your-skill-name/examples.md

# Add evals
mkdir your-skill-name/evals
touch your-skill-name/evals/evals.json

Steps

  1. Create a new directory under the repo root: your-skill-name/
  2. Add a SKILL.md with frontmatter:
---
name: your-skill-name
description: What this skill does and when to use it. Be specific — this is what the agent uses to decide whether to trigger the skill.
---
  1. Add supporting files to the same directory as needed
  2. Add evals to your-skill-name/evals/evals.json (see Evals below)
  3. Open a PR

Checklist

  • Replace name and description in SKILL.md frontmatter
  • Write a clear opening paragraph describing what the skill covers
  • Create reference files for each section listed under "Reference files"
  • Update the routing guide table to match your actual reference files
  • Edit or remove the "Sui-specific reminders" section as needed
  • Add evals to validate the skill produces correct output
  • Open a PR

Evals

Every new skill must include evals. Evals verify that the skill produces correct, reliable output and prevent regressions as the skill evolves. PRs without evals will not be merged.

Place an evals/evals.json file in your skill directory:

[
  {
    "id": "your-skill-basic",
    "prompt": "A realistic prompt a user would give the agent",
    "sources": [
        "https://source-1.com",
        "https://source-2.com"
        ],
    "expected_output": "Description of what correct output looks like",
    "expectations": [
      "Specific thing the output must include or satisfy",
      "Another requirement"
    ]
  }
]

When writing evals:

  • Cover the core use cases your skill is designed to handle
  • Use realistic prompts that match how a user would actually invoke the skill
  • Include edge cases where the skill's domain has common pitfalls
  • Each eval should test a distinct capability — avoid redundant prompts
  • Each prompt should include a sources field that links out to documentation that should be used to verify the output of the eval. Sources can be set for individual prompts, or if the entire eval pulls from the same source, you can use the source_constraint heading at the top of the eval file.

Tips

  • Description is a trigger rule. The description field in frontmatter determines when agents activate your skill. Write it like a conditional: "Use when X, Y, or Z."
  • SKILL.md routes, reference files teach. Keep SKILL.md short — it tells the agent which files to load. Put the actual knowledge in reference files.
  • One skill per capability. If two things have meaningfully different triggers, they should be separate skills.
  • Sui-first. Assume the user is building on Sui. Call out where Sui differs from other chains or general-purpose patterns.

Resources

About

Sui development skills maintained by Mysten Labs

Resources

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages