跳到正文
TakoAPI
返回技能列表

stratos-storage

由 notboxqsn 提供

Search & Research
490下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Upload and download files to/from Stratos Decentralized Storage (SDS) network.

描述

该技能的功能

Uploads and downloads files to the Stratos Decentralized Storage (SDS) network via SPFS gateway. Returns a content hash (CID) on upload that can be used to retrieve the file later.

Stores files on a decentralized network instead of a centralized provider, giving users a content-addressed hash they control.

何时使用

  • Backing up local files to a decentralized network
  • Sharing files without relying on centralized cloud storage
  • Retrieving a file by its CID from Stratos SDS
  • Storing project artifacts on SPFS for censorship-resistant access
  • Archiving documents to a Stratos node

示例工作流

输入

User asks: Upload /tmp/report.pdf to Stratos

智能体
  1. 1

    Confirm the file path with the user

  2. 2

    Verify the SPFS gateway is reachable

  3. 3

    Run upload.sh with the provided file path

  4. 4

    Capture the returned CID from the script output

  5. 5

    Return the CID to the user

输出

File uploaded. CID: QmXyz...abc

前置要求

  • STRATOS_SPFS_GATEWAY environment variable
  • STRATOS_NODE_DIR environment variable
  • Running Stratos SDS node (ppd or SPFS gateway)

安装

clawhub install notboxqsn/stratos-storage

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接