leoyeai/openclaw-master-skills/anygen-storybook-generator
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
Checking that the SKILL.md file is still in the repository.
Use this skill any time the user wants to create visual stories, illustrated narratives, or storybook content. This includes: storybooks, comics, children's books, illustrated guides, step-by-step visual tutorials, brand stories, product stories, picture books, graphic novels, and visual explainers. Also trigger when: user says 做个绘本, 画个故事, 做个漫画, 做个图文教程, 做个品牌故事. If a visual story or illustrated content needs to be created, use this skill.
Install
npx vskill@latest install leoyeai/openclaw-master-skills/anygen-storybook-generatorSKILL.md
The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/anygen-storybook-generator.
AnyGen Storybook / Creative Generator
Create storybook-style visuals for narratives and slides using AnyGen OpenAPI. Powered by Nano Banana pro and Nano Banana 2. Output: online task URL for viewing.
When to Use
- User needs to create a storybook, visual narrative, or creative visuals
- User has files to upload as reference material for storybook generation
Security & Permissions
What this skill does:
- Sends task prompts and parameters to the AnyGen API at
www.anygen.io - Uploads user-provided reference files to
www.anygen.iowhen--fileis specified - Reads/writes API key config at
~/.config/anygen/config.json
What this skill does NOT do:
- Does not upload files unless the user explicitly provides them via
--file - Does not send your API key to any endpoint other than
www.anygen.io - Does not modify system configuration beyond
~/.config/anygen/config.json - Does not run background processes or install additional software
Bundled scripts: scripts/anygen.py (Python — uses requests)
Review the bundled scripts before first use to verify behavior.
Prerequisites
- Python3 and
requests:pip3 install requests - AnyGen API Key (
sk-xxx) — Get one → Setting → Integration - Configure once:
python3 scripts/anygen.py config set api_key "sk-xxx"
Allscripts/paths below are relative to this skill's installation directory.
Communication Style
When interacting with the user, communicate naturally and professionally:
- You may refer to AnyGen as the service powering the storybook generation when relevant.
- Present questions and suggestions in a natural, conversational tone — avoid exposing raw API responses or technical implementation details.
- Summarize
prepareresponses in your own words rather than echoing them verbatim. - Stick to the questions
preparereturned — do not add unrelated questions.
Examples
Less ideal (overly technical):
- "The prepare API returned the following JSON response with status=collecting..."
Better (natural and professional):
- "What story or narrative should the storybook depict?"
- "Based on what you've shared, here is the storybook plan: [summary]. Should I go ahead, or would you like to adjust anything?"
Storybook Workflow (MUST Follow)
For storybooks, you MUST go through all 4 phases. A good storybook needs clear narrative, visual style, and audience. Users rarely provide all of these upfront.
Phase 1: Understand Requirements
If the user provides files, you MUST handle them yourself before calling prepare:
- Read the file content yourself using your own file reading capabilities. Extract key information (narrative, scenes, characters) that is relevant to creating the storybook.
- Check if the file was already uploaded in this conversation. If you already have a
file_tokenfor the same file, reuse it — do NOT upload again. - Inform the user and get consent before uploading. Tell them the file will be uploaded to AnyGen's server for processing.
- Upload the file to get a
file_tokenfor later use in task creation. - Include the extracted content as part of your
--messagetext when callingprepare, so that the requirement analysis has full context.
The prepare API does NOT read files internally. You are responsible for providing all relevant file content as text in the conversation.
Present the questions from reply naturally (see Communication Style above). Then continue the conversation with the user's answers:
Repeat until status="ready" with suggested_task_params.
Special cases:
- If the user provides very complete requirements and
status="ready"on the first call, proceed directly to Phase 2. - If the user says "just create it, don't ask questions", skip prepare and go to Phase 3 with
createdirectly.
Phase 2: Confirm with User (MANDATORY)
When status="ready", prepare returns suggested_task_params containing a detailed prompt. You MUST present this to the user for confirmation before creating the task.
How to present:
- Summarize the key aspects of the suggested plan in natural language (narrative, visual style, frames, audience).
- Ask the user to confirm or modify. For example: "Here is the storybook plan: [summary]. Should I go ahead, or would you like to adjust anything?"
- NEVER auto-create the task without the user's explicit approval.
When the user requests adjustments:
- Call
prepareagain with the user's modification as a new message, loading the existing conversation history:
preparewill return an updated suggestion that incorporates the user's changes.- Present the updated suggestion to the user again for confirmation (repeat from step 1 above).
- Repeat this confirm-adjust loop until the user explicitly approves. Do NOT skip confirmation after an adjustment.
Phase 3: Create Task
Once the user confirms:
Immediately tell the user:
- Storybook is being generated (takes a few minutes).
- Give them the Task URL so they can check progress online.
Phase 4: Return Results
No file download for storybook. When the task completes, return the Task URL for online viewing.
Tell the user:
- Task URL — for viewing and editing the storybook online
Command Reference
prepare
| Parameter | Description | |
|---|---|---|
| --message, -m | User message text | |
| --file | File path to auto-upload and attach (repeatable) | |
| --file-token | File token from prior upload (repeatable) | |
| --input | Load conversation from JSON file | |
| --save | Save conversation state to JSON file | |
| --stdin | Read message from stdin |
create
| Parameter | Short | Description | |
|---|---|---|---|
| --operation | -o | Must be `storybook` | |
| --prompt | -p | Storybook description | |
| --file-token | File token from upload (repeatable) | ||
| --language | -l | Language (zh-CN / en-US) | |
| --style | -s | Style preference |
upload
Returns a file_token. Max file size: 50MB. Tokens are persistent and reusable.
Error Handling
| Error | Solution | |
|---|---|---|
| invalid API key | Check API Key format (sk-xxx) | |
| operation not allowed | Contact admin for permissions | |
| prompt is required | Add --prompt parameter | |
| file size exceeds 50MB limit | Reduce file size |
Notes
- Max task execution time: 20 minutes
- Results are viewable online at the task URL
- Powered by Nano Banana pro and Nano Banana 2
- Poll interval: 3 seconds
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/anygen-storybook-generator/skill.md
Popularity
- Repository stars
- 2,157
- Repository forks
- 324
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/anygen-storybook-generator)