Prompt Artist
Optimize and generate text-to-image prompts for AI art platforms. Use when a user wants to: (1) Optimize prompts for Midjourney, Nano Banana, Dreamina, Qwen...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 164 · 0 current installs · 0 all-time installs
by@elevo11
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The code implements prompt optimization, multi-platform output, a style library, and local history — which aligns with the description. However, the SKILL.md declares a required SKILLPAY_API_KEY for billing but the registry metadata lists no required env vars; additionally the scripts write to a per-user history file under ~/.openclaw/workspace/prompt-artist/data/history.json even though no config paths were declared. The billing component (SkillPay) is plausible for a paid skill but the missing registry declaration is an inconsistency.
Instruction Scope
Runtime instructions call the included Python scripts. Those scripts perform network calls to https://skillpay.me for billing, and history.py will create and write JSON to the user's home path (~/.openclaw/workspace/...). The SKILL.md shows usage of billing and history but does not explicitly document the local file location nor the fact that an API key will be sent to SkillPay. The scripts do not access unrelated system credentials, but the silent local persistence and external network calls broaden scope beyond pure prompt generation.
Install Mechanism
There is no install spec or packaged download; this is effectively an instruction+script bundle. No external binaries or archive downloads are requested, so installation risk from remote code fetch is low. The presence of executable Python scripts means code will run locally when invoked, but there is no automated installer writing unexpected files except the history file created at runtime.
Credentials
SKILL.md requires SKILLPAY_API_KEY (used to authenticate billing calls to skillpay.me), which is reasonable for a billing integration. However, the registry metadata lists no required environment variables — this mismatch is troubling because the skill expects a secret API key that was not declared. No other credentials are requested, which is proportionate to the skill's billing behavior, but the undeclared requirement and the fact the key is passed over the network should be made explicit in the registry.
Persistence & Privilege
The skill writes and reads a history file at ~/.openclaw/workspace/prompt-artist/data/history.json, persisting user prompts and optimized results locally. It does not set always:true or alter other skills/configs. Local persistence is reasonable for a history feature but should have been documented in the manifest and SKILL.md (file path, retention policy).
What to consider before installing
What to consider before installing:
- Metadata mismatch: The registry claims no required env vars but SKILL.md and the code require SKILLPAY_API_KEY. Ask the publisher to fix the manifest or do not install until it's corrected.
- Billing calls: billing.py will send requests (with X-API-Key) to https://skillpay.me. Only provide an API key if you trust SkillPay.me; consider using a restricted key if possible.
- Local file writes: history.py will create and modify ~/.openclaw/workspace/prompt-artist/data/history.json. If you don't want your prompts stored locally, do not use or modify the script to disable history.
- Code review / sandboxing: the included scripts are readable Python — review them yourself or run the skill in a sandboxed environment. The network interactions are limited to SkillPay and there are no obvious attempts to exfiltrate other system credentials, but the missing manifest declarations reduce transparency.
- Recommended actions: request corrected registry metadata declaring SKILLPAY_API_KEY and the history file path; verify skillpay.me's legitimacy; run the scripts with a throwaway or limited permission API key first; or run the skill in an isolated environment if you proceed.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.1.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Prompt Artist
AI art prompt optimizer for Midjourney, Nano Banana, Dreamina, Qwen. 0.005 USDT/call.
Commands
| Command | Script | Description |
|---|---|---|
| optimize | scripts/optimize.py | Optimize a prompt for target platform |
| multi | scripts/multi_platform.py | Generate prompts for all platforms at once |
| style | scripts/style_library.py | Browse/apply art styles |
| history | scripts/history.py | Prompt history + favorites (NEW) |
| billing | scripts/billing.py | SkillPay charge/balance/payment |
Workflow
1. Billing: python3 scripts/billing.py --charge --user-id <id>
2. Optimize: python3 scripts/optimize.py --prompt "一只猫在月光下" --platform midjourney
3. Multi: python3 scripts/multi_platform.py --prompt "sunset over mountains"
4. Styles: python3 scripts/style_library.py --list
Examples
# Optimize for Midjourney
python3 scripts/optimize.py --prompt "一只猫在月光下" --platform midjourney --style cinematic
# Optimize for Dreamina
python3 scripts/optimize.py --prompt "cyberpunk city" --platform dreamina --ratio 16:9
# All platforms at once
python3 scripts/multi_platform.py --prompt "beautiful girl in garden" --style anime
# List styles
python3 scripts/style_library.py --list
python3 scripts/style_library.py --category photography
Config
| Env Var | Required | Description |
|---|---|---|
SKILLPAY_API_KEY | Yes | SkillPay.me API key |
References
See references/platform-specs.md for platform-specific prompt syntax and limits.
Files
8 totalSelect a file
Select a file to preview.
Comments
Loading comments…
