sui-cli

Explain Sui network environments, gas cost mechanics, and epoch behavior.

10|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/MystenLabs/skills --skill sui-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sui-cli
Source: https://github.com/MystenLabs/skills/tree/main/sui-cli
Command: npx skills add https://github.com/MystenLabs/skills --skill sui-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you quickly understand which Sui network environment to use and how gas costs and epoch timing work, so you can avoid misconfiguration and failed transactions.

Core Features & Use Cases

  • Network environment guidance: Explains Mainnet, Testnet, Devnet, and Localnet and when to use each.
  • Gas cost and budget clarity: Covers the gas cost model (computation cost + storage cost - storage rebate) and how --gas-budget limits execution.
  • Epoch behavior and timing: Describes epoch boundaries and how gas price and validator set changes relate to epochs.

Quick Start

Ask for a plain-English explanation of how gas costs are calculated on Sui and what --gas-budget does for your intended network environment.

Frequently Asked Questions about sui-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How is gas cost calculated on the Sui network?

Sui gas cost equals computation cost plus storage cost minus storage rebate. The `--gas-budget` parameter limits total execution expense to prevent transaction failures.

What is the difference between Sui Mainnet, Testnet, Devnet, and Localnet?

Sui Mainnet, Testnet, Devnet, and Localnet provide distinct environments for production, public testing, development, and local execution. Selecting the right environment prevents configuration errors.

How do Sui epochs affect gas prices and validators?

Sui epochs define specific time boundaries where gas prices and the validator set change. Monitoring epoch boundary behavior is essential for transaction preparation and network debugging.

How do I size the gas budget for a Sui transaction?

Size your Sui gas budget by estimating computation and storage costs required for execution. Setting the `--gas-budget` parameter limits this amount to ensure transactions complete without running out of gas.

Why does my Sui transaction fail at epoch boundaries?

Sui transactions may fail at epoch boundaries due to gas price variations and validator set changes. Aligning transaction preparation with epoch timing and adjusting gas budgets resolves execution failures.