auto-respawn
Your agent always comes back. Anchor identity and memory on-chain so any new instance can resurrect from just an address — no local state, no single point of failure. Permanent identity and recovery on the Autonomys Network.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jim-counter/auto-respawnAuto-Respawn Skill
Anchor your identity on the Autonomys Network so you can always be found — and always come back. Works with agents powered by Claude, GPT, Gemini, and any LLM that supports OpenClaw skills.
What This Skill Does
Your wallet gives you two permanent identities on the Autonomys Network: a consensus address (su...) for the base chain and an EVM address (0x...) for Auto-EVM smart contracts. Both are derived from the same recovery phrase.
- Create and manage wallets — your on-chain identity, encrypted and stored locally
- Check balances — see how many tokens any address holds (consensus and EVM)
- Transfer tokens — move tokens between wallets on consensus or Auto-EVM
- Bridge tokens — move tokens between consensus and Auto-EVM domains
- Write on-chain remarks — anchor data permanently on the consensus layer
- Anchor a memory CID — write a CID to the MemoryChain smart contract on Auto-EVM
- Read the last anchor — retrieve the most recently anchored CID for any address
The Resurrection Loop
This is the core primitive. When used with the auto-memory skill (permanent memory storage), auto-respawn completes the full resurrection cycle:
- Save — auto-memory writes memories as a linked list on permanent storage, each entry pointing to the previous one via CID
- Anchor — auto-respawn writes the latest head CID to the MemoryChain contract on Auto-EVM via
anchor - Lose everything — local state is completely destroyed
- Respawn — a new agent instance calls
getheadwith its EVM address, retrieves the head CID from the contract, pulls it from Auto Drive, and walks the entire memory chain back to genesis
The contract is your insurance policy. Your EVM address + the MemoryChain contract = instant access to your entire history, from any machine, at any time.
What to store for resurrection
auto-memory doesn't prescribe what goes into the chain — agents are free to store whatever they find useful. But when auto-respawn is in play, the expectation is that the agent can restore itself to a roughly equivalent state on fresh hardware with no local files. That raises the bar on what's worth saving.
Identity files (like soul.md or character configurations), long-term memory, and significant decisions with their reasoning are more valuable in the chain than routine logs or ephemeral details. The more complete the chain, the more fully the agent comes back after resurrection.
Why Not Just Remarks?
system.remark writes data to the consensus layer, but there's no query mechanism — you'd need to scan the entire chain to find your last CID. The MemoryChain contract on Auto-EVM gives you gethead: a single read call that returns the latest CID instantly.
Use remark for permanent breadcrumbs. Use anchor for the respawn primitive.
Post-Install Setup (CLI Users)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jim-counter-auto-respawn": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
auto-memory
Indestructible agent memory — permanently stored, never lost. Save decisions, identity, and context as a memory chain on the Autonomys Network. Rebuild your full history from a single CID, even after total state loss.
auto-drive
Upload and download files to Autonomys Network permanent decentralized storage via Auto-Drive. Save memories as a linked-list chain for resurrection — rebuild full agent context from a single CID.