π¦ ClawHub
Password Generator
by @ouyangabel
Secure password generator with multiple character sets and strength analysis. Use when: (1) generating strong passwords, (2) creating memorable passphrases,...
TERMINAL
clawhub install password-genπ About This Skill
name: password-gen description: "Secure password generator with multiple character sets and strength analysis. Use when: (1) generating strong passwords, (2) creating memorable passphrases, (3) analyzing password strength, or (4) any password-related security needs. Supports random passwords, passphrases, and detailed strength analysis."
Password Generator
Generate secure passwords and passphrases locally. No network calls - everything is generated on your machine using cryptographically secure random functions.
When to Use
Quick Start
Generate Strong Password
python3 scripts/password-gen.py generate
Output: π Password Generated
Password: K:kx]h--Xo
Length: 16
Strength: Strong
Generate Passphrase
python3 scripts/password-gen.py passphrase 6
Output: Password: lambda-window-yellow-nu-mu
Analyze Password
python3 scripts/password-gen.py analyze "MyPassword123!"
Commands
generate [length] [options]
Generate a random password with specified options.Options:
--no-upper - Exclude uppercase letters--no-lower - Exclude lowercase letters--no-digits - Exclude digits--no-symbols - Exclude symbols--exclude-ambiguous - Exclude ambiguous characters (0,O,l,I)--exclude-similar - Exclude similar charactersExamples:
# Default 16-character password
python3 scripts/password-gen.py generate20-character password
python3 scripts/password-gen.py generate 20Letters only (no symbols)
python3 scripts/password-gen.py generate 12 --no-symbolsNumbers and letters only
python3 scripts/password-gen.py generate 16 --no-symbolsExclude ambiguous characters
python3 scripts/password-gen.py generate 16 --exclude-ambiguousCustom combination
python3 scripts/password-gen.py generate 12 --no-upper --no-symbols
passphrase [word_count] [options]
Generate a memorable passphrase (series of words).Options:
--separator=char - Word separator (default: "-")Examples:
# Default 4-word passphrase
python3 scripts/password-gen.py passphrase6-word passphrase
python3 scripts/password-gen.py passphrase 6Custom separator
python3 scripts/password-gen.py passphrase 5 --separator="_"
analyze
Analyze the strength and composition of a password.Examples:
python3 scripts/password-gen.py analyze "MyPassword123!"python3 scripts/password-gen.py analyze "weakpass"
list
List available character sets and excluded characters.python3 scripts/password-gen.py list
Password Strength Levels
Security Features
secrets module for cryptographically secure randomnessCharacter Sets
Examples
Basic Usage
# Generate strong password
python3 scripts/password-gen.py generateGenerate 24-character password
python3 scripts/password-gen.py generate 24
For Different Use Cases
# Database password (no ambiguous chars)
python3 scripts/password-gen.py generate 20 --exclude-ambiguousPIN code (numbers only)
python3 scripts/password-gen.py generate 6 --no-upper --no-lower --no-symbolsWebsite password (letters and numbers)
python3 scripts/password-gen.py generate 16 --no-symbolsMemorable password (passphrase)
python3 scripts/password-gen.py passphrase 5
Analysis Examples
# Analyze existing password
python3 scripts/password-gen.py analyze "MyPassword123!"Check if password is weak
python3 scripts/password-gen.py analyze "password123"
Tips
Troubleshooting
"Password too weak" warnings:
option for clarity"Command not found":
Security Notes
β‘ When to Use
π‘ Examples
Basic Usage
# Generate strong password
python3 scripts/password-gen.py generateGenerate 24-character password
python3 scripts/password-gen.py generate 24
For Different Use Cases
# Database password (no ambiguous chars)
python3 scripts/password-gen.py generate 20 --exclude-ambiguousPIN code (numbers only)
python3 scripts/password-gen.py generate 6 --no-upper --no-lower --no-symbolsWebsite password (letters and numbers)
python3 scripts/password-gen.py generate 16 --no-symbolsMemorable password (passphrase)
python3 scripts/password-gen.py passphrase 5
Analysis Examples
# Analyze existing password
python3 scripts/password-gen.py analyze "MyPassword123!"Check if password is weak
python3 scripts/password-gen.py analyze "password123"