安全扫描
OpenClaw
安全
high confidenceThe skill's code and instructions are coherent with its stated purpose (generating and analyzing prompts), request no credentials or installs, and do not perform suspicious I/O or network activity.
评估建议
This skill appears to be a simple, local prompt-generator implemented in Python and is coherent with its description. Before running: (1) inspect the script (you already have it) and run it in a trusted environment; (2) be aware of a minor functional mismatch between SKILL.md and the template-selection logic (it may not honor some style/subcategory choices exactly); (3) if you plan to integrate this into automation, verify no network calls are added later and avoid providing secrets (none are re...详细分析 ▾
✓ 用途与能力
Name/description match the included code and SKILL.md: both provide local prompt-generation and analysis for various AI platforms. The skill does not request unrelated binaries, environment variables, or external services.
ℹ 指令范围
Runtime instructions and the Python script operate locally and only produce prompt text and analysis; they do not read external files, access the network, or exfiltrate data. Minor functional incoherence: the SKILL.md describes style/category options but the code's template-selection logic defaults to a 'creative' template when available (it doesn't actually select templates based on the requested subcategory keys like 'algorithm'/'web'), so behavior may differ from user expectations but not a security risk.
✓ 安装机制
No install spec is present; the skill is instruction-only + a single Python script. Nothing is downloaded or written to disk by an installer step beyond the skill file itself.
✓ 凭证需求
The skill requires no environment variables, credentials, or config paths. The code does not reference any secrets or external credentials.
✓ 持久化与权限
The skill is not always-enabled and is user-invocable only. It does not modify other skills or system configuration and does not request elevated persistence.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/2/24
Initial release: generate optimized prompts for AI models
● 无害
安装命令 点击复制
官方npx clawhub@latest install ai-prompt-gen
镜像加速npx clawhub@latest install ai-prompt-gen --registry https://cn.clawhub-mirror.com
技能文档
Generate optimized prompts for various AI models. Create prompts for ChatGPT, Midjourney, code generation, and more with customizable styles and parameters.
When to Use
- Create prompts for AI writing and content generation
- Generate prompts for AI art and design
- Optimize prompts for code generation
- Analyze and improve existing prompts
- Build prompt engineering workflows
Quick Start
Generate Writing Prompt
python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long
Generate ChatGPT Prompt
python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章" "背景信息" "字数500字"
Generate Midjourney Prompt
python3 scripts/ai-prompt-gen.py midjourney "未来城市" "futuristic" "科技感" "high"
Analyze Prompt Quality
python3 scripts/ai-prompt-gen.py analyze "写一个关于AI的文章"
Commands
general [style] [audience] [length]
Generate general AI prompts for various categories.Categories:
writing- Content writing and creative writingcoding- Code generation and programmingmarketing- Marketing and SEOdesign- Graphic and UI designresearch- Research and analysisanalysis- Data and business analysis
Style Options:
concise- Brief and to the pointcreative- Creative and imaginativetechnical- Technical and detaileddetailed- Comprehensive and thorough
Length Options:
short- Brief outputmedium- Moderate length (default)long- Detailed and comprehensive
Examples:
# Creative writing prompt
python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long# Technical coding prompt
python3 scripts/ai-prompt-gen.py general coding "排序算法" technical developer medium
# Marketing prompt
python3 scripts/ai-prompt-gen.py general marketing "SEO优化" detailed business short
chatgpt [context] [constraints]
Generate ChatGPT-specific prompts with role-playing.Examples:
# Basic prompt
python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章"# With context and constraints
python3 scripts/ai-prompt-gen.py chatgpt "数据分析师" "分析销售数据" "过去一年的销售数据" "包含趋势分析和预测"