632657122/rednote-images/SKILL.md
Generate RedNote image series with structured style and layout choices and bundled generation tooling. Use when the user asks to create RedNote image cards, RedNote cover cards, or social infographic series.
npx skillsauth add openclaw/skills rednote-imagesInstall 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.
rednote-images)If you use reference images (image-to-image / series reference / consistency refs):
http:// may work but is insecure and can be blocked by some networks.data: URLs are not supported by the WeryAI gateway.Generate RedNote image cards, RedNote cover cards, and social infographic series with a stable card-by-card workflow.
This RedNote image skill turns a RedNote image-series request into a more stable set of card prompts and generates the resulting sequence. Use it to create RedNote image cards, RedNote cover cards, or a social infographic series from one topic.
Dependencies: scripts/scaffold.ts, scripts/build-prompts.ts, scripts/build-batch.ts, the bundled runtime under scripts/vendor/, IMAGE_GEN_API_KEY, and Node.js + npm. No other skills are required.
Before the first real generation run:
https://www.weryai.com/api/keys.IMAGE_GEN_API_KEY, or let the setup flow persist it under .image-skills/rednote-images/.env.IMAGE_GEN_API_KEY in metadata.openclaw.requires.env and primaryEnv.IMAGE_GEN_API_KEY.export IMAGE_GEN_API_KEY="your_api_key_here"
Use one safe check before the first paid run:
cd {baseDir} && npm run doctor -- --project . --workflow rednote
cd {baseDir} && npm run ensure-ready -- --project . --workflow rednote --dry-run
cd {baseDir} && npm run generate -- --prompt "RedNote layout smoke test" --image ./out/rednote-smoke.png --ar 1:1 --dry-run
doctor is read-only and confirms whether the key and local tooling are ready.ensure-ready --dry-run confirms the guided setup path without changing the workspace.generate --dry-run prints the final request body without calling WeryAI or consuming credits.Script:
scripts/scaffold.tsscripts/build-prompts.tsscripts/build-batch.tshttps://api.weryai.com).IMAGE_GEN_API_KEY. The key is never printed. It may be persisted only when you explicitly run npm run setup -- --persist-api-key.IMAGE_GEN_API_KEY as a runtime secret. Do not commit it into the repository or paste it into generated prompt/output files.https:// recommended). http:// may work but is insecure. Local file paths and data: URLs are rejected..image-skills/rednote-images/ (project) and/or ~/.image-skills/rednote-images/ (home).Create 5 RedNote image cards that summarize this product comparisonMake a RedNote cover card plus 4 follow-up cards for this skincare topicTurn this outline into a social infographic series for RedNoteNot a good fit for:
Choose the two core dimensions first, then split the series:
stylelayoutSee:
| Script | Purpose |
| --- | --- |
| scripts/scaffold.ts | Initialize outline.md and per-card prompt files |
| scripts/build-prompts.ts | Regenerate prompts from outline.md |
| scripts/build-batch.ts | Generate batch.json from card prompts |
| npm run generate | Generate card images |
| scripts/vendor/compression-runtime/scripts/main.ts | Compress output for delivery |
Extract:
style and layoutDefault priorities:
style: notionlayout: balancedRecommended rules:
notion, chalkboard, or minimalwarm, cute, or freshbold or retroeditorialIf the user explicitly specifies style, density, or series feel, follow that preference.
The bundled image runtime currently exposes one structured style argument, --style, so:
style to --stylelayout into the prompt bodyRecommended mapping:
| rednote style | runtime --style |
| --- | --- |
| cute | anime |
| fresh | flat-illustration |
| warm | watercolor |
| bold | poster |
| minimal | editorial |
| retro | poster |
| notion | flat-illustration |
| chalkboard | chalk |
| editorial | editorial |
outline.md and Prompt FilesInitialize the working directory:
${BUN_X} {baseDir}/scripts/scaffold.ts \
--output-dir rednote-images/topic-slug \
--theme "Topic or thesis" \
--style notion \
--layout balanced \
--lang zh \
--cards 5
This creates:
outline.mdprompts/01-cover.mdprompts/02-content.mdThen refine outline.md and the generated prompts as needed.
outline.md, Then Build PromptsGenerate prompt files from the outline:
${BUN_X} {baseDir}/scripts/build-prompts.ts \
--outline rednote-images/topic-slug/outline.md \
--output-dir rednote-images/topic-slug/prompts
Then generate cards in order:
01-cover02-content03-contentUse references/prompt-template.md for each card prompt.
Requirements:
layout explicitly in that card's prompt3:4 or 1:1Before building the final card batch, generate the canonical series reference image:
cd {baseDir} && npm run generate -- \
--promptfiles rednote-images/topic-slug/references/series-reference.md \
--style flat-illustration \
--image rednote-images/topic-slug/references/series-reference.png \
--ar 3:4 \
-m "$M"
This step is the default for multi-card sets. Do not skip it when consistency matters.
batch.json and Run GenerationBuild a batch file from the prompt directory:
${BUN_X} {baseDir}/scripts/build-batch.ts \
--prompts rednote-images/topic-slug/prompts \
--output rednote-images/topic-slug/batch.json \
--images-dir rednote-images/topic-slug \
--model "$M"
Then run the bundled image generator:
On first use in a new project, run cd {baseDir} && npm run ensure-ready -- --project <your-project> --workflow rednote before generation. This reads the doctor report and auto-runs bootstrap if local script dependencies are still missing. If the report shows a missing IMAGE_GEN_API_KEY and the user approves, run cd {baseDir} && npm run setup -- --project <your-project> --workflow rednote --persist-api-key when the key is already in env, or persist it to .image-skills/rednote-images/.env on the user's behalf, then continue without leaving this workflow.
When this skill is first connected, tell the user that the default generation model is Nano Banana 2 (GEMINI_3_1_FLASH_IMAGE). Also tell them it can be switched later whenever another model fits the task better.
cd {baseDir} && npm run generate -- --batchfile rednote-images/topic-slug/batch.json --json
If only one cover card is needed, a single direct call is fine:
cd {baseDir} && npm run generate -- \
--promptfiles prompts/01-cover.md \
--style flat-illustration \
--image rednote-images/topic-slug/01-cover.png \
--ar 3:4 \
-m "$M"
If the user has not chosen a model yet, follow this skill's model-selection rules first.
Consistency strategy for multi-card sets:
references/series-reference.png firstSuggested output directory:
rednote-images/<topic-slug>/
Suggested minimum files:
outline.mdbatch.jsonprompts/01-cover.mdprompts/02-content.md01-cover.png02-content.pngscaffold.ts on an existing directory overwrites outline.md and the starter prompt files for the requested card count.build-prompts.ts overwrites prompt files in prompts/ from the current outline.md.build-batch.ts overwrites batch.json.--batchfile re-generates every listed card; keep good cards by removing their tasks from batch.json first.references/series-reference.png.outline.md and per-card prompt files exist in the output directory.When the user wants changes after seeing the generated cards:
style / --style for all cards, rebuild batch, re-generate. Ask if all cards or specific ones.palette and mood in prompt body. Only re-generate affected cards.outline.md to redistribute content, rebuild prompts and batch for affected cards.outline.md, re-scaffold and rebuild.--promptfiles for the specific prompt.When re-generating a subset, keep the existing good images and only replace the ones that need changes.
When the card series is ready:
${BUN_X} {baseDir}/scripts/vendor/compression-runtime/scripts/main.ts rednote-images/topic-slug/ -r -f webp -q 80
For series with many cards, show the first 2-3 immediately as they complete, then batch-show the rest.
Internal checklist (for agent): card count, style / layout, model, batch execution, target language, compression done.
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。