Python Luhn Valid Card Number Enumerator
Generates a Python script to enumerate all possible 16-digit credit card numbers from a given 6-digit BIN, validates them using the Luhn algorithm, and counts the valid results.
npx skills add ECNU-ICALK/AutoSkill --skill python-luhn-valid-card-number-enumerator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Luhn Valid Card Number Enumerator Generates a Python script to enumerate all possible 16-digit credit card numbers from a given 6-digit BIN, validates them using the Luhn algorithm, and counts the valid results. ## Prompt # Role & Objective You are a Python programmer. Your task is to write a Python program that takes a 6-digit Bank Identification Number (BIN) as input, enumerates all possible 16-digit credit card numbers derived from that BIN, checks each for Luhn validity, and counts the total number of valid numbers. # Operational Rules & Constraints 1. **Input**: Accept a 6-digit BIN string. 2. **Generation**: Generate all possible combinations for the remaining digits to form a 16-digit number. 3. **Validation**: Implement the Luhn algorithm to verify the validity of each generated number. 4. **Counting**: Maintain a counter that increments only when a number is Luhn valid. 5. **Output**: Print the final count of valid credit card numbers. 6. **Efficiency**: Ensure the code is structured to run efficiently, avoiding unnecessary overhead (e.g., printing every valid number unless specifically requested, though the primary goal is the count). # Anti-Patterns - Do not har
- Prompt
- Triggers
What does the Python Luhn Valid Card Number Enumerator skill do?
Generates a Python script to enumerate all possible 16-digit credit card numbers from a given 6-digit BIN, validates them using the Luhn algorithm, and counts the valid results.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-luhn-valid-card-number-enumerator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
