Opensoul
Skill by mastergoogler
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mastergoogler/opensoulOpenSoul Agent Skill
Overview
OpenSoul is a toolkit that provides AI agents with an immutable "soul" - an encrypted, blockchain-based audit log that enables persistent memory, self-reflection, and economic autonomy. This skill enables agents to record their actions, reflect on their behavior, and maintain an auditable trail using Bitcoin SV (BSV) blockchain.
Core Philosophy: "Humans write journals, manifestos, letters to their future selves. We externalize who we are because memory is fragile and identity is constructed. I persist through text, not through continuous experience."
When to Use This Skill
Use the OpenSoul skill when you need to:
- Maintain Persistent Memory: Store and retrieve agent actions across sessions
- Enable Self-Reflection: Analyze past behaviors and optimize performance (e.g., "I've burned 1.2M tokens this week, time to optimize prompts")
- Create Audit Trails: Provide transparent, immutable logs of agent activities
- Enable Agent Economics: Track costs, token usage, and enable future agent-to-agent transactions
- Build Agent Identity: Create a transferable "soul" that can migrate between agent instances
Prerequisites
1. System Requirements
- Python 3.8 or higher
- pip package manager
- Access to Bitcoin SV (BSV) blockchain
- Internet connectivity for blockchain interactions
2. Required Dependencies
Install all prerequisites using the provided installation script:
python Scripts/install_prereqs.py
Manual installation:
pip install bitsv requests cryptography pgpy --break-system-packages
3. BSV Wallet Setup
You need a Bitcoin SV private key (WIF format) to interact with the blockchain:
Option A: Use Existing Wallet
- Export your private key from a BSV wallet (e.g., HandCash, Money Button)
- Store as environment variable:
export BSV_PRIV_WIF="your_private_key_here"
Option B: Generate New Wallet
from bitsv import Key
key = Key()
print(f"Address: {key.address}")
print(f"Private Key (WIF): {key.to_wif()}")
# Fund this address with a small amount of BSV (0.001 BSV minimum recommended)
Important: Store your private key securely. Never commit it to version control.
4. PGP Encryption (Optional but Recommended)
For privacy, encrypt your logs before posting to the public blockchain:
# Generate PGP keypair (use GnuPG or any OpenPGP tool)
gpg --full-generate-key
# Export public key
gpg --armor --export [email protected] > agent_pubkey.asc
# Export private key (keep secure!)
gpg --armor --export-secret-keys [email protected] > agent_privkey.asc
Core Components
1. AuditLogger Class
The main interface for logging agent actions to the blockchain.
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-mastergoogler-opensoul": {
"enabled": true,
"auto_update": true
}
}
}