01
It starts by itself
new prompt files saved. Runs in Claude Code routine.
- ↻ new prompt files saved
new files in prompts/
Saved prompts become finished images.
Install the Baoyu Image Gen skill and make it a habit: follow https://gethabit.dev/skills/jimliu/baoyu-image-gen.md
34K installs27K starsMIT licenceSource on GitHub ↗

Baoyu Image Gen
by JimLiu · 34K installs
The skill
The baoyu image gen skill generates images through many provider APIs, with reference images, aspect ratios, quality presets and parallel batch runs from saved prompts.
Only when you ask.
The habit
Saved prompts become finished images.
↻ Runs by itselfnew prompt files saved
When does it start? How does it check its work? What does it remember?
Stops after one batch file per run; each image gets at most 3 attempts.
Read EXTEND.md, and stop the run if first-time setup has not created it yet.
Print which provider and model will be used.
Run build-batch.ts with the outline and prompts to write batch.json.
Run main.ts with --batchfile and --jobs.
Read success and failure counts and per-image reasons.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Baoyu Image Gen skill helps.
Yes, with --provider codex-cli. It is never chosen automatically.
Use short identity-preserving wording and 2 to 4 source references.
Copy the prompt at the top into your agent. It installs the skill from JimLiu/baoyu-skills and sets up the habit. Or run npx skills add JimLiu/baoyu-skills --skill baoyu-image-gen.
Yes. It is published under MIT. Habit is free too.
Install the Baoyu Image Gen skill and make it a habit: follow https://gethabit.dev/skills/jimliu/baoyu-image-gen.md
All JimLiu skills →More content skills →
Works in
Made by JimLiu, published under MIT. Habit links to the original and never changes it. Is this your skill?