Travel memory card duo

From ahang1598/doubao-workbuddy-qwenwork-skills · View interactive version

Travel memory card duo is an AI agent skill from the GitHub repository ahang1598/doubao-workbuddy-qwenwork-skills. Transform one user-supplied travel, street, landscape, lifestyle, portrait, or pet photo into a coordinated two-image deliverable: one complete horizontal collectible travel memory card and one separate transparent-background PNG containing the exact same six die-cut sticker motifs. Use when Codex n

How to use this skill

Skill file

Travel Memory Card Duo

Turn one source photo into two matched bitmap deliverables:

  1. A finished 3:2 travel memory card.
  2. A 3:2 transparent PNG sticker sheet containing the same six sticker motifs.

Use the image generation/editing tool for both images. Do not simulate the illustration with filters or code. Use local processing only to remove a flat chroma-key background and validate transparency.

Workflow

  1. Inspect the source photo at full useful detail.
  2. Identify the scene structure, emotional center, dominant spatial gesture, and one compact identification anchor.
  3. Select exactly six meaningful source-derived sticker motifs and exactly three concise English keyword phrases.
  4. Decide whether one source-visible text item genuinely identifies the place. Default to NONE; reject advertising, menus, prices, directions, timestamps, and product labels.
  5. Read references/style-guide.md.
  6. Generate the complete memory card first. Treat its six stickers as the visual master for the second image.
  7. Inspect the card. Regenerate once if the medium, layout, sticker count, keywords, or readable text is wrong.
  8. Generate a separate sticker sheet from the source photo and finished card. Include exactly the same six motifs, shapes, colors, medium, and warm-white cut borders.
  9. Produce transparency with the built-in image-generation transparency workflow: generate the sheet on one uniform removable chroma-key color, then run the installed remove_chroma_key.py helper. Choose a key color absent from the stickers; prefer #ff00ff for foliage-heavy scenes and #00ff00 otherwise.
  10. Validate the final PNG. It must be RGBA, all four corners must have alpha 0, the six stickers must remain fully opaque apart from antialiased edges, and no key-color fringe may remain. Retry removal once with a slightly stronger tolerance or --edge-contract 1 if needed.

Deliverable 1: complete memory card

Deliverable 2: transparent sticker PNG

For chroma-key generation, explicitly require a perfectly uniform flat background with no lighting variation, texture, gradients, shadows, reflections, or key color inside the sticker art. Use the installed helper:

python3 "${CODEX_HOME:-$HOME/.codex}/skills/.system/imagegen/scripts/remove_chroma_key.py" \
  --input <chroma-source.png> \
  --out <transparent-stickers.png> \
  --auto-key border \
  --soft-matte \
  --transparent-threshold 12 \
  --opaque-threshold 60 \
  --despill

If the helper needs Pillow, load the Codex workspace dependency runtime and use its Python executable. If soft-matte removal leaves a fringe, retry once with --edge-contract 1; if hard-key removal is cleaner for opaque paper stickers, use a sampled key color and a moderate tolerance. Never claim transparency before checking the Alpha channel.

Shared art direction

Motif and keyword rules

Quality checks

Complete card

Transparent PNG

Delivery

Show both finished images and provide two separate file links. Label them clearly as 完整旅行记忆卡 and 透明底贴纸 PNG. Briefly name the identification anchor, the six sticker motifs, the three English keyword phrases, and both saved paths. State that a dark or checkerboard preview behind the PNG represents transparency only after Alpha validation succeeds.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.