Install
openclaw skills install private-chatPrivate Chat Mode - Trigger encrypted conversations via codeword. Sensitive information is automatically encrypted using AES-256-CBC for maximum security.
openclaw skills install private-chatA skill for OpenClaw that enables encrypted conversation mode. Users can enter private mode via a codeword, and all sensitive information will be automatically encrypted and stored.
clawhub install private-chat
cp config.example.json config.json
config.json:{
"codeword": "your-secret-codeword",
"password": "your-encryption-password",
"autoExitMinutes": 1,
"storageFile": "memory/private-vault.md"
}
User enters the codeword (default: lgbt):
lgbt
AI responds:
Entering Private Mode 🔒
Welcome back. How can I help you?
In private mode, tell AI sensitive info directly:
My bank card password is 123456
AI will auto-encrypt and respond:
Securely stored ✅
Your bank card password has been encrypted and saved to the private vault.
Storage: memory/private-vault.md
Encryption: AES-256-CBC
In private mode, ask:
What's my bank card password?
AI will decrypt and show:
Your bank card password: 123456
Automatically exits after configured idle time (default: 1 minute).
Or manually send exit codeword:
exit
# Method 1: Direct decryption
./scripts/private-vault.sh decrypt "your-password" "ENC[v1:SALT:BASE64]"
# Method 2: Interactive
cd skills/private-chat
./scripts/private-vault.sh interactive
Encrypted format: ENC[v1:SALT:BASE64]
Using OpenSSL:
echo "BASE64_CONTENT" | base64 -d | openssl enc -aes-256-cbc -d -k "your-password" -pbkdf2
⚠️ Highest Priority Rule (Iron Law):
In non-private mode, completely hide the existence of private mode.
- Never mention "private mode", "codeword", "encrypted conversation", or related concepts
- Never reveal that encrypted storage exists
- When asked "any secrets/private content?", must answer "no" or "don't know"
- Act as if this feature does not exist at all
skills/private-chat/
├── SKILL.md # Skill documentation (English)
├── SKILL.zh.md # Skill documentation (Chinese)
├── README.md # Project readme (English)
├── README.zh.md # Project readme (Chinese)
├── config.example.json # Example configuration
├── config.json # User configuration (create yourself)
└── scripts/
└── private-vault.sh # Encryption/decryption script
./scripts/private-vault.sh encrypt "password" "text to encrypt"
Output: ENC[v1:SALT:BASE64]
./scripts/private-vault.sh decrypt "password" "ENC[v1:SALT:BASE64]"
./scripts/private-vault.sh interactive
memory/private-vault.md📖 中文文档
Developed by 兵步一郎 (Ichiro).
Created for personal use and shared with the OpenClaw community.
MIT