SafeFlow Sui Skill for Openclaw

A specialized AI agent skill for managing SafeFlow shared contracts on the Sui blockchain with secure owner-assisted provisioning.

fwangzil
v1.0.0
Mar 4, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install safe-flow-sui-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install safe-flow-sui-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SafeFlow Sui Skill?

The SafeFlow Sui Skill is a technical bridge designed for Openclaw Skills that enables AI agents to interact with the Sui blockchain via the SafeFlow protocol. It facilitates a secure, hybrid workflow where human owners provide the necessary gas funding and session authorizations, while the AI agent takes over the execution of autonomous payments and transaction management.

By utilizing this skill, developers can ensure that their AI agents operate within a controlled environment, maintaining a clear audit trail. The skill integrates deeply with the SafeFlow ecosystem, supporting the creation of execution intents and the persistent storage of reasoning evidence on Walrus, ensuring every on-chain action is backed by transparent logic.

SafeFlow Sui Skill Use Cases

  • Provisioning AI agent execution addresses using local Sui CLI tools.
  • Facilitating secure owner handoffs for gas funding and session capability configuration.
  • Executing autonomous blockchain payments under strict SafeFlow protocol controls.
  • Performing end-to-end testing for Publish APIs and Walrus evidence uploads.
  • Syncing Sui package identifiers to SQL databases for dynamic AI runtime lookups.

How SafeFlow Sui Skill Works

  1. The agent initializes the local context and generates specific handoff instructions for the human owner.
  2. The owner funds the agent's gas wallet and configures session capabilities through the SafeFlow dashboard.
  3. Runtime configuration data, including the wallet ID and session capability ID, is captured and saved to the agent's environment.
  4. The agent executes payments or complex transactions by generating intents through the Publish API.
  5. Reasoning evidence and transaction logs are uploaded to Walrus or a fallback storage system to maintain a verifiable record of agent activity.
  6. Package identifiers are synced to a local or remote SQL database to allow the agent to reference the correct smart contracts during operation.

SafeFlow Sui Skill Setup

To begin using this skill within your Openclaw Skills environment, initialize the owner handoff process:

cd .claude/skills/safe-flow-sui-skill/scripts
chmod +x ./*.sh
./bootstrap_owner_handoff.sh --package-id <YOUR_PACKAGE_ID> --portal-url https://dash.safeflow.space

Once the owner has provided the configuration, save it to the agent environment:

./save_owner_config.sh --wallet-id <WALLET_ID> --session-cap-id <SESSION_CAP_ID>

SafeFlow Sui Skill Data Schema & Taxonomy

The skill manages state and metadata through a structured schema to ensure consistency across the Openclaw Skills runtime:

Attribute Description
walletId The unique identifier for the SafeFlow-managed wallet.
sessionCapId The Session Capability ID authorizing the agent's actions.
packageId The Sui contract package ID used for on-chain interactions.
intentId A unique identifier for a specific transaction intent.
blobId The Walrus storage ID where reasoning evidence is archived.

SafeFlow Sui Skill Advanced Features

  • Multi-driver SQL synchronization supporting both SQLite and PostgreSQL for enterprise-grade metadata management.
  • Automated end-to-end testing suite for Publish API verification and Walrus integration.
  • Progressive disclosure architecture that loads reference documentation only when required to minimize context window usage.
  • Integrated fallback mechanisms for evidence storage when primary decentralized storage is degraded.
  • Local Sui CLI integration for direct agent-driven address provisioning.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0