← Back to Skills Marketplace
Python Script Generator
by
Sunshine-del-ux
· GitHub ↗
· v1.0.0
2648
Downloads
1
Stars
16
Active Installs
1
Versions
Install in OpenClaw
/install python-script-generator
Description
生成专业的 Python 脚本和应用模板,支持 CLI 工具、Flask API、FastAPI、Django Command、Scraper 等,一键生成完整项目代码。
Usage Guidance
This skill is coherent with its stated purpose (generating Python templates) and does not request secrets or perform downloads, but exercise caution: the shipped helper script is syntactically broken and will likely fail or behave unpredictably if run. Before installing or executing any included script: (1) review and fix the shell script or run it in an isolated environment (container/VM), (2) prefer generating templates from the SKILL.md content rather than executing unknown scripts, (3) only pip-install dependencies you trust and use a virtualenv, and (4) note the skill source/homepage is unknown — if you need reliability or support, ask the author for a corrected script or choose a generator from a known source.
Capability Analysis
Type: OpenClaw Skill
Name: python-script-generator
Version: 1.0.0
The `python-script-generator.sh` script contains multiple critical syntax errors that prevent it from functioning correctly. More importantly, it is vulnerable to path traversal (arbitrary file write) because it directly uses user-provided input (`$1`) in the filename `"$NAME.py"` without sanitization. This allows an attacker to write files to arbitrary locations on the filesystem. There is no evidence of intentional malicious behavior, but the severe vulnerabilities make it suspicious.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, and included files all align with a template-generator purpose. There are no unrelated environment variables, binaries, or downloads requested. However, the included shell helper (python-script-generator.sh) is syntactically broken and will likely fail if executed; some usage examples in SKILL.md also contain typos. These are quality issues rather than indicators of malicious intent.
Instruction Scope
SKILL.md content stays within the scope of generating templates and shows sample project files and pip dependency examples. It does not instruct the agent to read system files, external credentials, or send data to third-party endpoints. Minor contradiction: SKILL.md lists pip install commands for optional dependencies but also has an '安装' section that says '无需额外依赖' — ambiguous guidance but not a security red flag.
Install Mechanism
There is no install spec and no network downloads or archive extraction. Only an included shell script and documentation are present, so nothing is written to disk by an automatic installer. Lowest-risk install posture.
Credentials
The skill requires no environment variables, credentials, or config paths. The sample pip installs are appropriate for the templates described and do not imply additional secret access.
Persistence & Privilege
always is false and the skill doesn't request any persistent or elevated presence. It does not modify other skills or system-wide settings according to the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install python-script-generator - After installation, invoke the skill by name or use
/python-script-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- 首次发布,支持一键生成多种专业 Python 脚本和应用模板
- 提供 CLI 工具、Flask API、FastAPI、Django Command、Scraper、Bot 等多类型项目支持
- 生成完整项目结构与最佳实践示例
- 提供详细的使用方法和安装指引
- 附带常用 CLI 和 FastAPI 代码模板及依赖说明
Metadata
Frequently Asked Questions
What is Python Script Generator?
生成专业的 Python 脚本和应用模板,支持 CLI 工具、Flask API、FastAPI、Django Command、Scraper 等,一键生成完整项目代码。 It is an AI Agent Skill for Claude Code / OpenClaw, with 2648 downloads so far.
How do I install Python Script Generator?
Run "/install python-script-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Python Script Generator free?
Yes, Python Script Generator is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Python Script Generator support?
Python Script Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Python Script Generator?
It is built and maintained by Sunshine-del-ux (@sunshine-del-ux); the current version is v1.0.0.
More Skills