Sui jsonrpc skill

From holon-run/uxc · View interactive version

Sui jsonrpc skill is an AI agent skill from the GitHub repository holon-run/uxc. Operate Sui public JSON-RPC through UXC with OpenRPC-driven discovery, mainnet fullnode defaults, and read-only query plus pubsub subscription guardrails.

How to use this skill

Skill file

Sui JSON-RPC Skill

Use this skill to run Sui JSON-RPC operations through uxc + JSON-RPC.

Reuse the uxc skill for shared execution and error-handling guidance.

Prerequisites

Scope

This skill covers a safe read-first Sui JSON-RPC surface:

This skill does not cover:

Endpoint And Discovery

This skill targets the public Sui fullnode endpoint:

For pubsub, use a Sui provider WebSocket endpoint that you have verified actually accepts JSON-RPC subscriptions. Do not assume the public HTTPS fullnode host automatically supports the same wss:// hostname for pubsub.

uxc JSON-RPC discovery depends on OpenRPC or rpc.discover. Sui exposes a discoverable method surface, so help-first flow works directly against the endpoint.

Authentication

The default public endpoint used by this skill does not require authentication.

If a user later points the same workflow at a private Sui RPC provider, verify its auth model first before reusing this skill unchanged.

Core Workflow

  1. Use the fixed link command by default:

uxc link sui-jsonrpc-cli https://fullnode.mainnet.sui.io

  1. Inspect operation schema first:
  1. Prefer read/setup validation before any deeper query:
  1. Execute with key/value or positional JSON:

sui-jsonrpc-cli sui_getCheckpoint id=254502592

sui-jsonrpc-cli sui_getObject '{"object_id":"0x6"}'

  1. Use uxc subscribe start directly for pubsub streams:

Recommended Read Operations

Recommended Subscription Operations

Guardrails

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.