🧪 Skills
stratos-storage
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 downl
v1.0.0
Description
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
- User wants to upload a file to Stratos SDS network
- User wants to download a file from Stratos SDS using file hash or share link
- User mentions "Stratos", "SDS", "SPFS", or "decentralized storage upload/download"
Steps
Upload a file
- Verify ppd or SPFS gateway is available
- Run the upload script:
bash $SKILL_DIR/scripts/upload.sh <file_path> - Return the file hash (CID) to the user
Download a file
- Verify ppd or SPFS gateway is available
- Run the download script:
bash $SKILL_DIR/scripts/download.sh <file_hash_or_cid> <output_path> - Confirm download success
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
Constraints
- Always confirm file path with user before uploading
- Never overwrite existing files without user confirmation
- Verify SDS node is running before operations
- Large files may take significant time; inform user of progress
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!