As a Drop-In Skill.
A walkthrough of nukez-storage — an Open Claw skill bundle that gives any agent the full Nukez storage lifecycle in five commands. No SDK to embed, no payment glue to write, no custom signing flow. Same merkle root, same on-chain anchor, same verify URL as direct PyNukez usage — just packaged as a standalone skill.
Most agent skills are thin wrappers around an HTTP API. The agent does the work, but nothing about the result is independently verifiable — you have to trust whatever the wrapper logs.
Agents produce contracts, audit logs, compliance docs, and monthly reports. Those need to survive restarts, model swaps, and TOS changes. Most skills can't promise that.
Adding storage to a custom agent today usually means embedding an SDK, managing credentials, and writing payment + signing glue. The skill ends up tangled with the rest of the runtime.
If you split storage across GCS, S3, MongoDB, Arweave, you also split your verification surface. Each provider becomes its own audit problem rather than collapsing into one merkle root.
nukez-storage Open Claw skill is three files plus a SKILL.md that the host runtime reads to learn the commands. Every operation goes through PyNukez, so the trust properties are identical to direct SDK usage. The skill abstracts install and invocation — not verification.NUKEZ_WALLET_PATH. Whoever holds the keypair owns whatever lockers the skill provisions. There is no “skill account” to manage.bootstrap command runs the entire x402 lifecycle: quote → pay (via the co-located nukez_pay.py) → confirm → provision. It writes the receipt to ~/.nukez/openclaw_state.json so subsequent commands don’t need to be told which locker to use.1 BETA. After this point every operation is signed-envelope only — no more funds move.persist runs the proper pynukez 4.0 sequence: create_file → upload_bytes → confirm_file. The server recomputes SHA-256 from what actually landed in storage, so the returned content_hash is the gateway’s view, not the agent’s.attest recomputes the merkle root from every confirmed file, signs it with the gateway’s Ed25519 key, and asks Switchboard to anchor it on Solana. The Switchboard push is what makes the proof independent of the gateway.ritual is the canonical “Never Trust Yourself Without Proof” ceremony. The skill runs it automatically on session start. PASS means the locker is consistent with what was last attested. FAIL means halt — something has been altered between sessions.verify walks all three layers of the proof: the gateway’s manifest signature, the merkle root the gateway attested to, and the Switchboard transaction that anchored it on-chain. The public verify URL renders the same data to a browser without needing the keypair.This locker is real and reachable.
nukez_cli.py is the lifecycle CLI; nukez_pay.py is the co-located x402 payment helper; SKILL.md is the manifest the host runtime reads to learn the commands; README.md is the human-facing summary.NUKEZ_WALLET_PATH is the only required one. The others have sensible defaults and only need to be set when you want a specific provider, network, or x402 payment leg.~/.nukez/openclaw_state.json, so the receipt_id flows automatically between commands. Add --test to any command for an in-memory dry run.| Layer | Typical agent skill (HTTP wrapper) | nukez-storage Open Claw skill |
|---|---|---|
| Skill Surface | Custom tool wrapper, glue per agent | Standalone CLI + manifest, drop-in portable |
| Proof of Storage | vendor logs | Cryptographic receipt + merkle root |
| Storage Provider | One vendor, one trust assumption | GCS, MongoDB, Storj, Arweave, Filecoin pluggable |
| Pre-Session Check | ad hoc | Integrity ritual on every cold start principle 1 |
| On-Chain Anchor | None | Switchboard pushes merkle root to Solana principle 2 |
| Multi-Agent Delegation | Reuse the human's session | add-operator / remove-operator on the locker principle 3 |
| Verification | Read the wrapper's logs | Public verify URL, anyone, anytime trustless |
The Python SDK the CLI wraps. request_storage, create_file, upload_bytes, confirm_file, attest, verify_storage.
nukez_pay.py covers SOL, SPL (USDC, USDT, BETA), MON, and ERC-20 payment legs. The same file ships inside this skill bundle.
The companion case study: same locker primitive, used to share working memory across Claude Code, Codex, and Cursor sessions.
The patched, mainnet-ready CLI used for this entire walkthrough. Single file, no install — reads env, talks to the gateway, persists state to ~/.nukez/.
