skills/image-prompts/SKILL.md
Generate AI image prompts for Midjourney, DALL-E, and Stable Diffusion
npx skillsauth add ticruz38/skills skills/image-promptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate optimized AI image prompts for popular image generation platforms including Midjourney, DALL-E, Stable Diffusion, and Leonardo AI.
cd skills/image-prompts
npm install
npm run build
# Generate prompts for a subject
npx image-prompts generate "a mystical forest" --style fantasy --mood mysterious
# Generate with specific platform settings
npx image-prompts g "cyberpunk city" -p midjourney -s cyberpunk -m futuristic -l neon -a 16:9
# Use a template
npx image-prompts template character-portrait --var '{"subject":"a brave warrior"}'
# List available templates
npx image-prompts templates
# View prompt history
npx image-prompts history --limit 10
# List available options
npx image-prompts styles
npx image-prompts moods
npx image-prompts platforms
import { ImagePromptsSkill } from '@openclaw/image-prompts';
const skill = new ImagePromptsSkill();
// Generate prompts
const prompts = await skill.generatePrompts({
subject: 'a mystical forest with ancient trees',
platform: 'midjourney',
style: 'fantasy',
mood: 'mysterious',
lighting: 'volumetric',
quality: 'ultra',
aspectRatio: '16:9',
count: 3
});
console.log(prompts[0].prompt);
// "fantasy art, magical, ethereal, mythical, enchanted, dreamlike of a mystical forest with ancient trees, mysterious, enigmatic, shadowy, intriguing, atmospheric, volumetric lighting, god rays, atmospheric lighting, ultra detailed, 8k, hyperrealistic, maximum quality, intricate details"
console.log(prompts[0].negativePrompt);
// "blurry, low quality, distorted, deformed, ugly, bad anatomy, watermark..."
console.log(prompts[0].parameters);
// { version: "6", stylize: 100, chaos: 0, ar: "16:9" }
// Get formatted command for Midjourney
const command = skill.formatPromptWithParameters(
prompts[0].prompt,
'midjourney',
prompts[0].parameters
);
console.log(command);
// "fantasy art, magical... --ar 16:9 --stylize 100 --v 6"
// Use templates
const template = await skill.getTemplate('character-portrait');
const prompt = skill.applyTemplate(template, {
subject: 'a brave warrior',
style: 'digital art',
mood: 'dramatic',
lighting: 'cinematic',
quality: 'ultra detailed',
perspective: 'close up'
});
await skill.close();
peaceful, dramatic, mysterious, joyful, melancholic, epic, whimsical, dark, romantic, futuristic
natural, studio, dramatic, soft, golden-hour, neon, cinematic, backlit, volumetric, moonlight
eye-level, birds-eye, worms-eye, close-up, wide-angle, macro, portrait, aerial, isometric, dutch-angle
Parameters: version, stylize, chaos, weird, tile, no
Parameters: quality (standard/hd), style (vivid/natural), size
Parameters: steps, cfg_scale, seed, sampler, width, height
Parameters: photoReal, alchemy, guidance_scale
No platform-specific parameters
Built-in templates for common use cases:
Prompts are stored in SQLite at ~/.openclaw/skills/image-prompts/prompts.db:
This skill uses local prompt generation patterns and does not require external API keys. It works entirely offline.
testing
Suggest recipes based on dietary preferences, available ingredients, and cuisine preferences
development
Extract data from receipt photos using Google Vision API
business
QuickBooks Online integration for accounting sync - sync customers, invoices, and transactions with two-way sync and conflict resolution
testing
QuickBooks OAuth adapter for QuickBooks Online accounting integration. Built on top of auth-provider for secure token management with automatic refresh, multi-profile support, sandbox/production toggle, and health checks.