Sui blockchain and Move smart contract development. Use when the user asks about Sui, Move language, smart contracts, objects, transactions, or blockchain development on Sui.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install sui-move或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install sui-move⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/sui-move/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: sui-move description: Sui blockchain and Move smart contract development. Use when the user asks about Sui, Move language, smart contracts, objects, transactions, or blockchain development on Sui. version: 1.1.0 metadata: author: EasonClawdbot1 tags: sui, move, blockchain, smart-contract, web3 requires: bins: [sui, rg] install: - id: sui-cli kind: brew formula: sui bins: [sui] label: Install Sui CLI (brew) ---
Comprehensive knowledge base for Sui blockchain and Move smart contract development.
GitHub:
Clone the official documentation:
# Create skill directory
mkdir -p {baseDir}/references && cd {baseDir}/references
# Clone Move Book (The Move Language Bible)
git clone --depth 1 https://github.com/MystenLabs/move-book.git
# Clone Sui docs (sparse checkout)
git clone --depth 1 --filter=blob:none --sparse https://github.com/MystenLabs/sui.git
cd sui && git sparse-checkout set docs
# Clone Awesome Move (curated examples and resources)
# Note: Some code examples may be outdated
git clone --depth 1 https://github.com/MystenLabs/awesome-move.git
references/awesome-move/)A curated list of Move resources, including:
⚠️ Note: Some code examples in awesome-move may be outdated as the Move language and Sui platform evolve. Always verify against the latest Move Book and Sui documentation.
references/move-book/book/)| Directory | Content | |-----------|---------| | your-first-move/ | Hello World, Hello Sui tutorials | | move-basics/ | Variables, functions, structs, abilities, generics | | concepts/ | Packages, manifest, addresses, dependencies | | storage/ | Object storage, UID, transfer functions | | object/ | Object model, ownership, dynamic fields | | programmability/ | Events, witness, publisher, display | | move-advanced/ | BCS, PTB, cryptography | | guides/ | Testing, debugging, upgrades, BCS | | appendix/ | Glossary, reserved addresses |
references/sui/docs/content/)# Search Move Book for a topic
rg -i "keyword" {baseDir}/references/move-book/book/ --type md
# Search Sui docs
rg -i "keyword" {baseDir}/references/sui/docs/ --type md
# Find all files about a topic
find {baseDir}/references -name "*.md" | xargs grep -l "topic"
Abilities - Type capabilities:
copy - Can be copieddrop - Can be dropped (destroyed)store - Can be stored in objectskey - Can be used as a key in global storage (objects)public struct MyStruct has key, store {
id: UID,
value: u64
}
Object Model:
UIDtransfer::transfer, transfer::share_object, transfer::freeze_objectCreate and Transfer Object:
public fun create(ctx: &mut TxContext) {
let obj = MyObject {
id: object::new(ctx),
value: 0
};
transfer::transfer(obj, tx_context::sender(ctx));
}
Shared Object:
public fun create_shared(ctx: &mut TxContext) {
let obj = SharedObject {
id: object::new(ctx),
counter: 0
};
transfer::share_object(obj);
}
Entry Functions:
public entry fun do_something(obj: &mut MyObject, value: u64) {
obj.value = value;
}
# Create new project
sui move new my_project
# Build
sui move build
# Test
sui move test
# Publish
sui client publish --gas-budget 100000000
# Call function
sui client call --package <PACKAGE_ID> --module <MODULE> --function <FUNCTION> --args <ARGS>
# Get object
sui client object <OBJECT_ID>
When answering Sui/Move questions:
```bash rg -i "topic" {baseDir}/references/move-book/book/ -l ```
```bash cat {baseDir}/references/move-book/book/
- Move Book: https://move-book.com - Sui Docs: https://docs.sui.io
| Topic | Location | |-------|----------| | Hello World | move-book/book/your-first-move/hello-world.md | | Hello Sui | move-book/book/your-first-move/hello-sui.md | | Primitives | move-book/book/move-basics/primitive-types.md | | Structs | move-book/book/move-basics/struct.md | | Abilities | move-book/book/move-basics/abilities-introduction.md | | Generics | move-book/book/move-basics/generics.md | | Object Model | move-book/book/object/ | | Storage | move-book/book/storage/ | | Events | move-book/book/programmability/events.md | | Testing | move-book/book/guides/testing.md | | Upgrades | move-book/book/guides/upgradeability.md | | PTB | move-book/book/move-advanced/ptb/ | | BCS | move-book/book/move-advanced/bcs.md |
This skill is part of the Sui development skill suite:
| Skill | Description | |-------|-------------| | sui-decompile | Fetch and read on-chain contract source code | | sui-move | Write and deploy Move smart contracts | | sui-coverage | Analyze test coverage with security analysis | | sui-agent-wallet | Build and test DApps frontend |
Workflow:
sui-decompile → sui-move → sui-coverage → sui-agent-wallet
Study Write Test & Audit Build DApps
All skills:
安装 Sui Move 后,可以对 AI 说这些话来触发它
Help me get started with Sui Move
Explains what Sui Move does, walks through the setup, and runs a quick demo based on your current project
Use Sui Move to sui blockchain and Move smart contract development
Invokes Sui Move with the right parameters and returns the result directly in the conversation
What can I do with Sui Move in my finance & investment workflow?
Lists the top use cases for Sui Move, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/sui-move/ 目录(个人级,所有项目可用),或 .claude/skills/sui-move/(项目级)。重启 AI 客户端后,用 /sui-move 主动调用,或让 AI 根据上下文自动发现并使用。
Sui Move 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Sui Move 可免费安装使用。请查阅仓库了解许可证信息。
Sui blockchain and Move smart contract development. Use when the user asks about Sui, Move language, smart contracts, objects, transactions, or blockchain development on Sui.
Sui Move 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Sui Move
Identifies repetitive steps in your workflow and sets up Sui Move to handle them automatically