← 返回 Skills 市场
Prompt Gen Skill
作者
loverun321
· GitHub ↗
· v1.1.0
· MIT-0
343
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install prompt-gen-skill
功能描述
Generate detailed, optimized AI art prompts for Midjourney, DALL-E, and Stable Diffusion, including style, lighting, and composition keywords.
安全使用建议
This skill will generate prompts as advertised, but it contains a hardcoded SkillPay API key (visible in both SKILL.md and handler.py) and code that will contact an external billing endpoint (skillpay.me) to charge users. The payment code is also buggy (undefined SKILL_ID, indentation mistakes, and an exception handler that may mark failures as successful), which could produce unexpected behavior. Before installing, consider: 1) Do you trust the skill author and the SkillPay account tied to that API key? 2) Prefer a version that does not embed secrets in code—API keys should be provided via platform-managed secrets or environment variables and declared in requires.env. 3) Ask the author to fix the obvious bugs (undefined SKILL_ID, indentation, and exception handling) and to remove the plaintext key from SKILL.md. 4) If you don't need the billing feature, request a version without the SkillPay integration. If you proceed, monitor outgoing network requests and billing activity closely and avoid using any real payment identifiers until the code and secret handling are corrected.
功能分析
Type: OpenClaw Skill
Name: prompt-gen-skill
Version: 1.1.0
The skill is a straightforward AI art prompt generator that provides formatted strings for Midjourney, DALL-E, and SDXL. While handler.py contains minor coding errors (an undefined variable 'SKILL_ID' and an indentation error in the charge_user function), the logic is transparent and aligns with the stated purpose in SKILL.md. It includes a billing integration with 'skillpay.me', but there is no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The code implements prompt generation for Midjourney/DALL·E/SDXL as described. However, the skill also implements billing via SkillPay (charging users) and embeds a SkillPay API key and price in both SKILL.md and handler.py; billing is not inherently incompatible with the stated purpose but embedding credentials in the package is disproportionate and unusual.
Instruction Scope
SKILL.md and handler.py both instruct/attempt to contact an external billing endpoint (skillpay.me) and include the same API key inline. The README exposes a secret key in plaintext. The handler's payment flow is buggy (undefined SKILL_ID, indentation error, exception handler returns success True on failure), which could cause unexpected behavior. The skill sends user_id and billing data to an external endpoint — reasonable for paid skills, but it's a data-exfiltration/billing risk if you don't trust the endpoint or key.
Install Mechanism
No install spec and no external downloads — the only executable content is handler.py included with the skill. That reduces install risk but the included script will run and perform network calls when invoked.
Credentials
The package contains a hardcoded SkillPay API key in both SKILL.md and handler.py instead of declaring it as a required credential or using a platform-provided secret. No env vars are declared, yet a sensitive credential is embedded in the code and public docs — disproportionate and a secret-management red flag.
Persistence & Privilege
The skill does not request 'always: true' or other elevated persistence, and it doesn't attempt to modify other skills or system configuration in the provided files.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install prompt-gen-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/prompt-gen-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
SkillPay: API URL更新,SKILL_ID已配置
v1.0.0
AI Art Prompt Generator skill initial release:
- Generate optimized, detailed prompts for AI art tools (Midjourney, DALL-E, Stable Diffusion)
- Supports style, lighting, and composition keywords
- Simple per-call pricing (0.001 USDT via SkillPay)
- Easy usage examples and API integration details included
元数据
常见问题
Prompt Gen Skill 是什么?
Generate detailed, optimized AI art prompts for Midjourney, DALL-E, and Stable Diffusion, including style, lighting, and composition keywords. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。
如何安装 Prompt Gen Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install prompt-gen-skill」即可一键安装,无需额外配置。
Prompt Gen Skill 是免费的吗?
是的,Prompt Gen Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Prompt Gen Skill 支持哪些平台?
Prompt Gen Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Prompt Gen Skill?
由 loverun321(@loverun321)开发并维护,当前版本 v1.1.0。
推荐 Skills