π¦ ClawHub
Password Manager
by @jixsonwang
A fully local password management skill for OpenClaw with AES-256-GCM encryption, password generation, and sensitive info detection.
π‘ Examples
1. Initialization (First-time Use)
password-manager init
Set a master password (recommended: 12+ characters, including uppercase, lowercase, numbers, and symbols).
2. Add Entries
# Manual addition
password-manager add --name "github" --type "token" --password "ghp_xxx"Auto-generate password
password-manager add --name "aws" --type "api_key"
3. View Entries
password-manager get --name "github" --show-password
4. Search
password-manager search --query "github"
password-manager list --type "token"
5. Generate Password
password-manager generate --length 32
βοΈ Configuration
config.json includes reasonable defaults and can be used directly. Edit for customization:
{
"cacheTimeout": 172800, // Master password cache timeout (seconds, default: 48 hours)
"maxHistoryVersions": 3, // Number of historical versions to retain
"auditLogLevel": "all", // all/sensitive/none
"autoDetect": {
"enabled": true, // Enable sensitive information detection
"sensitivityThreshold": "medium",
"askBeforeSave": true
},
"requireConfirm": {
"delete": true,
"deleteAll": true,
"export": true,
"backup": true,
"restore": true
},
"generator": {
"defaultLength": 32,
"includeUppercase": true,
"includeNumbers": true,
"includeSymbols": true
}
}
Tip: If configuration is modified incorrectly, refer to config.example.json to restore defaults.
TERMINAL
clawhub install password-manager