← 返回 Skills 市场
Python Script Generator
作者
Sunshine-del-ux
· GitHub ↗
· v1.0.0
2648
总下载
1
收藏
16
当前安装
1
版本数
在 OpenClaw 中安装
/install python-script-generator
功能描述
生成专业的 Python 脚本和应用模板,支持 CLI 工具、Flask API、FastAPI、Django Command、Scraper 等,一键生成完整项目代码。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install python-script-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/python-script-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- 首次发布,支持一键生成多种专业 Python 脚本和应用模板
- 提供 CLI 工具、Flask API、FastAPI、Django Command、Scraper、Bot 等多类型项目支持
- 生成完整项目结构与最佳实践示例
- 提供详细的使用方法和安装指引
- 附带常用 CLI 和 FastAPI 代码模板及依赖说明
元数据
常见问题
Python Script Generator 是什么?
生成专业的 Python 脚本和应用模板,支持 CLI 工具、Flask API、FastAPI、Django Command、Scraper 等,一键生成完整项目代码。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2648 次。
如何安装 Python Script Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install python-script-generator」即可一键安装,无需额外配置。
Python Script Generator 是免费的吗?
是的,Python Script Generator 完全免费(开源免费),可自由下载、安装和使用。
Python Script Generator 支持哪些平台?
Python Script Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Python Script Generator?
由 Sunshine-del-ux(@sunshine-del-ux)开发并维护,当前版本 v1.0.0。
推荐 Skills