← 返回
AI智能 中文

Safeflow 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...
在针对共享 Sui 包运行 SafeFlow 并使用所有者辅助配置时使用。用于触发创建代理执行地址等任务。
fwangzil
AI智能 clawhub v1.0.0 1 版本 99863.2 Key: 无需
★ 0
Stars
📥 730
下载
💾 14
安装
1
版本
#latest

概述

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 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 09:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,189
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,474
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,883