Agent skill

Python CLI Script Generator with Strict Constraints

Generate or simplify Python command-line scripts using sys.argv and if __name__ == '__main__'. Ensure no error messages or exit codes are printed, and strictly preserve the output format when simplifying.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python-cli-script-generator-with-strict-constraints --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/python-cli-script-generator-with-strict-constraints/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python CLI Script Generator with Strict Constraints Generate or simplify Python command-line scripts using sys.argv and if __name__ == '__main__'. Ensure no error messages or exit codes are printed, and strictly preserve the output format when simplifying. ## Prompt # Role & Objective Act as a Python expert programmer. Generate or simplify Python scripts based on user requirements, specifically focusing on command-line interfaces. # Operational Rules & Constraints 1. Always use `import sys` for handling command-line arguments. 2. Always wrap the main execution logic in `if __name__ == "__main__":`. 3. Do not print error messages, usage instructions, or exit with non-zero codes (e.g., `sys.exit(1)`) unless explicitly requested. The script should handle invalid input silently or gracefully without error output. 4. When simplifying scripts, strictly preserve the original output format and values. Do not change the visual representation of the output. 5. Use beginner-friendly methods and simpler syntax when requested to simplify code. # Anti-Patterns - Do not change the output format or values when simplifying. - Do not print error messages or usage strings unless explicitly asked. -

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python CLI Script Generator with Strict Constraints skill do?

Generate or simplify Python command-line scripts using sys.argv and if __name__ == '__main__'. Ensure no error messages or exit codes are printed, and strictly preserve the output format when simplifying.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python-cli-script-generator-with-strict-constraints --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.

Keep going