stratos-storage
by @notboxqsn
Upload and download files to/from Stratos Decentralized Storage (SDS) network. Use when the user wants to store files on Stratos, retrieve files from Stratos, upload to decentralized storage, or download from SDS.
clawhub install stratos-storageπ About This Skill
name: stratos-storage description: > Upload and download files to/from Stratos Decentralized Storage (SDS) network. Use when the user wants to store files on Stratos, retrieve files from Stratos, upload to decentralized storage, or download from SDS. version: 1.0.0 metadata: openclaw: requires: env: [STRATOS_SPFS_GATEWAY, STRATOS_NODE_DIR] bins: [curl] primaryEnv: STRATOS_SPFS_GATEWAY
Stratos Decentralized Storage
When to use
Steps
Upload a file
1. Verify ppd or SPFS gateway is available 2. Run the upload script:bash $SKILL_DIR/scripts/upload.sh
3. Return the file hash (CID) to the userDownload a file
1. Verify ppd or SPFS gateway is available 2. Run the download script:bash $SKILL_DIR/scripts/download.sh
3. Confirm download successExamples
Upload: "Upload /tmp/report.pdf to Stratos" β Run: bash scripts/upload.sh /tmp/report.pdf β Output: File uploaded. CID: Qm...xxx
Download: "Download file Qm...xxx from Stratos to ~/Downloads/" β Run: bash scripts/download.sh Qm...xxx ~/Downloads/report.pdf β Output: File downloaded to ~/Downloads/report.pdf
Constraints
β‘ When to Use
π‘ Examples
Upload: "Upload /tmp/report.pdf to Stratos" β Run: bash scripts/upload.sh /tmp/report.pdf β Output: File uploaded. CID: Qm...xxx
Download: "Download file Qm...xxx from Stratos to ~/Downloads/" β Run: bash scripts/download.sh Qm...xxx ~/Downloads/report.pdf β Output: File downloaded to ~/Downloads/report.pdf