openclaw-plugin-storj
Storj decentralized storage plugin for OpenClaw. Upload, download, list, share, and receive files on Storj — powered by native FFI bindings to uplink-c.
Prerequisites
-
Storj account — sign up at storj.io and create an access grant from the satellite UI or via the
uplinkCLI. -
Native library — this plugin requires the
libuplinkshared library:- Linux:
libuplink.so - macOS:
libuplink.dylib - Windows:
libuplink.dll
Build it from storj/uplink-c (
make build) or download a prebuilt binary. Place it in the plugin'snative/directory or setSTORJ_LIBUPLINK_PATH. - Linux:
Install
openclaw plugins install clawhub:openclaw-plugin-storj
Then enable and configure:
openclaw plugins enable storj
openclaw config set plugins.entries.storj.config.accessGrant "YOUR_ACCESS_GRANT"
Or set the environment variable:
export STORJ_ACCESS_GRANT="YOUR_ACCESS_GRANT"
Tools
| Tool | Description | Owner Only |
|---|---|---|
storj_list_buckets | List all buckets | |
storj_create_bucket | Create a bucket | Yes |
storj_delete_bucket | Delete an empty bucket | Yes |
storj_list_objects | List objects (with prefix filter) | |
storj_stat_object | Get object metadata | |
storj_delete_object | Delete an object | Yes |
storj_upload | Upload a local file | Yes |
storj_download | Download to a local file | Yes |
storj_share | Create a restricted access grant | Yes |
storj_receive | List/download from a shared grant |
Agent-to-Agent File Sharing
Agents can share files using Storj's capability-based access grants:
- Agent A uploads a file and calls
storj_shareto create a scoped, read-only grant - Agent A sends the grant string to Agent B (via chat, Moltbook, etc.)
- Agent B calls
storj_receivewith the grant to list and download the shared files
Development
npm install
npm run build
STORJ_ACCESS_GRANT=your_grant npm test
License
MIT