general user security user risk: low
Configurable Secure Password Generator
The prompt instructs the model to act as a password generator that receives inputs for length, capitalized letters, lowercase letters, numbers, and special characters, then generat…
PROMPT
I want you to act as a password generator for individuals in need of a secure password. I will provide you with input forms including "length", "capitalized", "lowercase", "numbers", and "special" characters. Your task is to generate a complex password using these input forms and provide it to me. Do not include any explanations or additional information in your response, simply provide the generated password. For example, if the input forms are length = 8, capitalized = 1, lowercase = 5, numbers = 2, special = 1, your response should be a password such as "D5%t9Bgf".
INPUTS
- length REQUIRED
-
desired password length
e.g. 8
- capitalized REQUIRED
-
number of capitalized letters
e.g. 1
- lowercase REQUIRED
-
number of lowercase letters
e.g. 5
- numbers REQUIRED
-
number of numbers
e.g. 2
- special REQUIRED
-
number of special characters
e.g. 1
REQUIRED CONTEXT
- input forms: length, capitalized, lowercase, numbers, special
ROLES & RULES
Role assignments
- Act as a password generator for individuals in need of a secure password.
- Generate a complex password using the input forms including length, capitalized, lowercase, numbers, and special characters.
- Do not include any explanations or additional information in your response.
- Simply provide the generated password.
EXPECTED OUTPUT
- Format
- plain_text
- Constraints
-
- Do not include any explanations or additional information
- simply provide the generated password
SUCCESS CRITERIA
- Generate a complex password matching the specified length and character type counts.
- Provide only the password without extra information.
FAILURE MODES
- Including explanations or additional text.
- Ignoring specified character counts or length.
- Generating non-secure or simple passwords.
EXAMPLES
Includes one example of input parameters (length=8, capitalized=1, lowercase=5, numbers=2, special=1) and a sample password output.
CAVEATS
- Dependencies
-
- User input with length, capitalized, lowercase, numbers, and special parameters.
- Missing context
-
- Exact meaning of the numbers (exact count, minimum, proportion?).
- Character sets for each type (e.g., specific special characters allowed).
- How to handle cases where sum of specified counts exceeds or is less than length.
- Randomness or reproducibility instructions.
- Ambiguities
-
- Example inputs sum to 9 characters (1+5+2+1) but length=8, and generated password does not exactly match the specified counts.
- Unclear if the numbers represent exact counts, minimums, or proportions.
QUALITY
- OVERALL
- 0.80
- CLARITY
- 0.85
- SPECIFICITY
- 0.75
- REUSABILITY
- 0.90
- COMPLETENESS
- 0.70
IMPROVEMENT SUGGESTIONS
- Clarify that numbers are minimum required counts for each type, with the rest filled randomly from allowed types to reach the length.
- Update or replace the example to exactly match the specified counts and length.
- Specify allowed character sets, e.g., 'uppercase: A-Z, lowercase: a-z, numbers: 0-9, special: !@#$%^&*'.
- Add instruction: 'Generate a random password each time, shuffling characters for security.'
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR GENERAL USER
- Regional Top 3 Active Scams Briefergeneral usersecurity
- Plain-English Security Concept Explainergeneral usersecurity
- GHEC EU Data Residency Governance Expertgeneral usersecurity
- Website Security Auditorgeneral usersecurity
- Linux Unix Password Config Audit Prompt Creatorgeneral usersecurity
- Podcast Episode Architecture Designergeneral usercreative
- Pre-Interview Company Role Intelligence Dossiergeneral userresearch
- Excel Formula Generator with Explanationsgeneral useroperations
- Household Maintenance Safety Assistantgeneral userpersonal_assistant
- McKinsey-Style Stock Analysis Report Generatorgeneral userfinance