搜索

PythonReactSEOPDF
OpenClaw

safe-flow-sui-skill

Use when running SafeFlow against the shared Sui package with owner-assisted provisioning. Trigger for tasks such as creating an agent execution address with local Sui CLI, asking owner to fund gas and finish web-side wallet/session setup, saving walletId/sessionCapId for autonomous payments, syncing package id to SQL, and running Publish API plus Walrus end-to-end tests.

fwangzil0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fwangzil/safe-flow-sui-skill

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Using SafeFlow Shared Contract

Operate this as a test skill for real-world owner/agent collaboration.

Default Publish API endpoint:

  • https://producer.safeflow.space

Quick Start (Owner-Handoff, Recommended)

  1. Bootstrap agent context and owner handoff instructions:
cd .claude/skills/safe-flow-sui-skill/scripts
chmod +x ./*.sh
./bootstrap_owner_handoff.sh \
  --package-id 0xcc76747b518ea5d07255a26141fb5e0b81fcdd0dc1cc578a83f88adc003a6191 \
  --portal-url https://dash.safeflow.space
  1. Ask owner to:
  • fund agent gas;
  • open the portal URL and finish wallet pre-deposit/config;
  • return with walletId and sessionCapId.
  1. Save owner-provided runtime config:
./save_owner_config.sh \
  --wallet-id <WALLET_ID> \
  --session-cap-id <SESSION_CAP_ID>
  1. Execute payment under SafeFlow controls:
./execute_payment.sh --recipient <RECIPIENT_ADDRESS> --amount 1000000

Publish API E2E Test (Intent + Walrus Upload)

When user gives a real API URL, run:

./test_publish_api_flow.sh \
  --publish-api-base-url <PUBLISH_API_BASE_URL> \
  --recipient <RECIPIENT_ADDRESS>

This flow will:

  1. call Publish/Producer API health endpoint;
  2. create intent;
  3. run the agent consumer once (e2e_runner.ts --once);
  4. rely on SDK executePaymentWithEvidence to upload reasoning blob to Walrus (or fallback when degraded);
  5. print final intentId, status, digest, and blob id.

SQL Sync for Package ID

Sync package id for AI runtime lookup:

./sync_package_id_to_sql.sh --driver sqlite

Use --driver postgres --postgres-dsn <DSN> when needed.

Progressive Disclosure References

Load only what is needed:

  • Owner handoff workflow: references/owner-handoff-flow.md
  • Publish API test workflow: references/publish-api-test-flow.md
  • SQL sync details: references/sql-sync.md
  • Troubleshooting: references/troubleshooting.md

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fwangzil/safe-flow-sui-skill
Version
—
Commit
b39badefcdea503b6ad8c7eab1a943b9c63e44b1
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Using SafeFlow Shared Contract

Operate this as a **test skill** for real-world owner/agent collaboration.

Default Publish API endpoint:

- `https://producer.safeflow.space`

## Quick Start (Owner-Handoff, Recommended)

1. Bootstrap agent context and owner handoff instructions:

```bash
cd .claude/skills/safe-flow-sui-skill/scripts
chmod +x ./*.sh
./bootstrap_owner_handoff.sh \
  --package-id 0xcc76747b518ea5d07255a26141fb5e0b81fcdd0dc1cc578a83f88adc003a6191 \
  --portal-url https://dash.safeflow.space
```

2. Ask owner to:
- fund agent gas;
- open the portal URL and finish wallet pre-deposit/config;
- return with `walletId` and `sessionCapId`.

3. Save owner-provided runtime config:

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

4. Execute payment under SafeFlow controls:

```bash
./execute_payment.sh --recipient <RECIPIENT_ADDRESS> --amount 1000000
```

## Publish API E2E Test (Intent + Walrus Upload)

When user gives a real API URL, run:

```bash
./test_publish_api_flow.sh \
  --publish-api-base-url <PUBLISH_API_BASE_URL> \
  --recipient <RECIPIENT_ADDRESS>
```

This flow will:

1. call Publish/Producer API health endpoint;
2. create intent;
3. run the agent consumer once (`e2e_runner.ts --once`);
4. rely on SDK `executePaymentWithEvidence` to upload reasoning blob to Walrus (or fallback when degraded);
5. print final `intentId`, status, digest, and blob id.

## SQL Sync for Package ID

Sync package id for AI runtime lookup:

```bash
./sync_package_id_to_sql.sh --driver sqlite
```

Use `--driver postgres --postgres-dsn <DSN>` when needed.

## Progressive Disclosure References

Load only what is needed:

- Owner handoff workflow: `references/owner-handoff-flow.md`
- Publish API test workflow: `references/publish-api-test-flow.md`
- SQL sync details: `references/sql-sync.md`
- Troubleshooting: `references/troubleshooting.md`

相关技能

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...