← Back to Skills Marketplace
Prompt Gen Skill
by
loverun321
· GitHub ↗
· v1.1.0
· MIT-0
343
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install prompt-gen-skill
Description
Generate detailed, optimized AI art prompts for Midjourney, DALL-E, and Stable Diffusion, including style, lighting, and composition keywords.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install prompt-gen-skill - After installation, invoke the skill by name or use
/prompt-gen-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is Prompt Gen Skill?
Generate detailed, optimized AI art prompts for Midjourney, DALL-E, and Stable Diffusion, including style, lighting, and composition keywords. It is an AI Agent Skill for Claude Code / OpenClaw, with 343 downloads so far.
How do I install Prompt Gen Skill?
Run "/install prompt-gen-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Prompt Gen Skill free?
Yes, Prompt Gen Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Prompt Gen Skill support?
Prompt Gen Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Prompt Gen Skill?
It is built and maintained by loverun321 (@loverun321); the current version is v1.1.0.
More Skills