Dream Factory: A Personalized Picture Book Agent Skill for Parents of Infants and Toddlers

Preface

Creating exclusive picturebooks for children aged 1–6 often involves parents writing copy themselves, finding illustrations, or using templates, and then transferring formats between multiple tools. The steps are fragmented, and it is difficult to maintain consistency in character appearance and art style within the same book. The SkillHub community Skill “Dream Factory” (coordinate @user_af439cac/picturebook-story-maker, also called “Picturebook Dream Factory” inside the package) turns this process into a reusable Agent workflow: first structurally collecting the baby’s profile, then creating based on story/science/hybrid modes, passing through storyboard self-check and keyframe planning, and finally outputting HTML, PDF, or voiceover video scripts. Below is an introduction to its positioning, capabilities, and installation methods.

What is it

Dream Factory is a content creation Skill maintained by community publisher user_af439cac, currently at version 1.0.0, categorized as content-creation, and sourced from community. The SkillHub page marks requires_api_key=false, and installing this Skill itself does not require configuring third-party API Keys.

It targets parents of 1–6 year old babies (non-professional designers): Parents provide the baby’s information and story preferences, and the Agent generates a personalized picturebook according to the seven-stage pipeline defined within the Skill, for children to flip through or listen to. Official entry points:

  • API Location: https://api.skillhub.cn/user_af439cac/picturebook-story-maker
  • SkillHub Page: https://www.skillhub.cn/skills/user_af439cac/picturebook-story-maker

As of data scraping, SkillHub displays a rating of 100000 and 704 downloads.

Core Features

The following capabilities all come from SKILL.md and SKILL_INTRODUCTION.md inside the Skill package.

Creation Modes and Outputs

  1. Story Mode (story): Pure story, page copy does not exceed about 50 words.
  2. Science Mode (science): Page copy is similarly controlled, accompanied by science knowledge points.
  3. Hybrid Mode (hybrid): Story and science interleaved.

Art styles can be selected from watercolor, oil painting, cartoon, etc.; it supports Character Consistency Anchoring (Character Bible, usually locking 1–2 protagonist visual anchors).

Output formats include:

  • HTML: Interactive page turning;
  • PDF: Print quality (Skill’s internal scripts/pdf_book.py is based on WeasyPrint);
  • Voiceover Video Script (optional, to be used with scripts/voiceover.py, scripts/video_compose.py).

Seven-Stage Workflow

Stage Name Main Output
1 Information Collection Baby Profile (22 fields)
2 Story Creation Story draft generated by mode
3 Storyboard Planning Storyboard plan; single-page score must be ≥90 to proceed to the next stage
4 Keyframes 1–2 keyframes per page (including composition, shot, animation, interactive hotspots)
5 HTML Generation story.html, etc.
6 PDF Generation Optional
7 Voiceover Script Optional voiceover JSON

Storyboard self-check is weighted by composition (40%), character expressiveness (30%), text-image matching (20%), and interactive elements (10%); failing to meet the threshold requires storyboard replanning.

Profile Fields (Stage 1)

Information collection covers name, age, gender, photo path, preferences, parent information, theme, story_mode, style, pages, interaction method, output_format, voiceover, etc., totaling 22 items. The Skill provides templates/input_form.html as a reference for the interactive form; example profiles can be found in samples/pullback-car-demo/profile/child_profile.json.

Installation and Activation

The official SkillHub page requires installing the coordinate @user_af439cac/picturebook-story-maker according to the SkillHub Installation Documentation. In practice, it is recommended to use the skillhub CLI, and be sure to use --dir to point to the current Agent’s skills directory; otherwise, it will be installed to the default ./skills/ and cannot be recognized.

1. Check or Install skillhub CLI

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install Dream Factory

Taking Cursor as an example, the skills directory is ~/.cursor/skills/:

skillhub install picturebook-story-maker --namespace user_af439cac --dir ~/.cursor/skills/

Other common Agent directories (excerpted from the official installation documentation, choose one or use project-level directories based on the actual environment):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Windsurf: ~/.codeium/windsurf/skills/ or .windsurf/skills/

After installation, restart or reload the Agent to activate the Skill.

3. Optional Local Script Dependencies

If running the Python demos inside the package directly as described in the Skill documentation, you need to install the dependencies in requirements.txt on your machine; when triggering the Skill within an Agent conversation, the Agent orchestrates the process according to the SKILL.md flow, and it is not necessary to run the CLI command first.

Typical Usage

Triggering in Agent

After installation and activation, you can describe requirements in natural language, for example: create a 12-page watercolor-style friendship-themed picturebook for a 4-year-old baby “Xiao Ming”, output HTML, and enable character consistency. The Agent should guide the completion of the 22-field collection, then sequentially execute story creation, storyboarding, keyframe generation, and HTML generation.

Built-in Demo: Pullback Car Example

The Skill comes with samples/pullback-car-demo/, demonstrating the directory structure from profile to output/story.html. Profile example snippet:

{
  "child_name": "小明",
  "child_age": 4,
  "story_mode": "story",
  "story_theme": "友谊",
  "style": "水彩",
  "pages": 12,
  "output_format": "html",
  "character_consistency": true
}

references/demo_script.md describes the “Pullback Car” science-oriented storyboard outline (including page-level points like spring potential energy, friction, etc.) and interactive designs such as lift-the-flap pages, touch areas, and audio buttons, serving as a reference script for hybrid/science modes.

Command Line Argument Examples (Skill Documentation)

If running the process in module mode on your local machine, the official quick start example is:

pip install -r requirements.txt

python -m picturebook_story_maker \
  --child_name 小明 \
  --favorite_animal 恐龙 \
  --favorite_color 蓝色 \
  --favorite_food 草莓 \
  --hobby 画画 \
  --birth_month 5月 \
  --birth_season 初夏 \
  --parent_name 李华 \
  --parent_role 温柔引导的爸爸 \
  --story_theme 友谊 \
  --story_mode story \
  --style watercolor \
  --pages 12 \
  --character_consistency \
  --story_length 中 \
  --interaction 翻翻页 \
  --output_format html

You can also set items such as story_mode, pages, character_consistency, interaction, and output_format centrally in config.yaml (see details in the Skill documentation).

Applicable Scenarios and Notes

Suitable for: Parents who want to quickly customize picturebook content for their children; content creators who need to complete profile collection, storyboard quality control, and multi-format export in a single session; teaching scenarios using Agents for children’s science + story mixed presentation.

Limitations and Notes:

  1. The target user persona is limited to parents of young children; the process is designed around the 22-field profile, and incomplete fields will affect personalization effects.
  2. The storyboard stage has a hard threshold of ≥90; low scores will trigger replanning, and longer picturebooks will take more time.
  3. PDF depends on environments like WeasyPrint; the video pipeline involves video_compose.py, so you need to verify on your own machine whether the codecs and dependencies are met.
  4. The git clone path in the Skill documentation is for repository-based development instructions; when installing via SkillHub, use skillhub install ... --dir <Agent skills directory> as the standard, and there is no need to clone the repository to activate the Skill.
  5. This is a community-source Skill; before use, you can check the version and comments section on SkillHub, and review the scripts in the package in accordance with your own compliance requirements.

Conclusion

Dream Factory turns “Baby Profile → Mode-based Creation → Storyboard Quality Check → Multi-format Picturebook” into an executable Agent pipeline, suitable for parents and creators who do not want to manually stitch things together across multiple tools. For installation and updates, refer to SkillHub:

https://www.skillhub.cn/skills/user_af439cac/picturebook-story-maker

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye