Skip to content

MethodReal Photo Captions · original Chinese skill · inspired by guizang-social-card-skill (AGPL-3.0)

Concept from op7418/guizang-social-card-skill, rewritten from scratch

Real Photo Captions

AI images get words wrong and look fake. Real Photo Captions flips it: the photo is a real downloaded photo, the text is rendered in HTML, not a single character wrong. Five steps to a card, verified by eye before delivery.

What’s included
SKILL.md, skill.yaml, templates/ (21:9, 1:1, and 16:9 boards), scripts/ (render.mjs, overlay_pil.py), ATTRIBUTION.md, demo video, ZIP download
Works with
Plain SKILL.md text: paste it into any agent that reads SKILL.md — Claude Code, Codex, Cursor, Muse, and others.
Install
This package ships templates/ and scripts/ — copying SKILL.md alone loses the boards and render scripts, so download the ZIP and keep its structure. Rendering uses scripts/render.mjs with local Node and Playwright (PIL fallback overlay_pil.py if Playwright fails twice).

What you get

  • Main image is a real photo or the user’s screenshot — AI images never stand in
  • Text rendered in code, titles copied verbatim, not a character wrong
  • Three boards: 21:9 and 1:1 for WeChat, 16:9 for X — plus a wordless photo-only version

Good for

  • An article or post needs an image card
  • A cover needs a real photo, not an AI drawing
  • Just the photo, no words

Not a fit

  • Text only, no image
  • An AI-style cover — use the paper-craft cover instead
  • A data chart — use lieflat-charts

See it in action: same content, plain text vs real photo caption

The same title and three points: plain text on top, a real-photo caption card below, made with the skill’s five-step flow.

Comparison: the CATL article title and three points as plain text on top, and the same content as a real-photo caption card below, with a real photo of a car-factory robot line
The title is copied verbatim from this site’s CATL article and the three points come from its text; the photo is a Flickr CC-BY 2.0 shot of a car-factory robot line (by jurvetson).

Made 2026-11-22 with the skill’s five-step flow (set content, find a real photo, pick a board, render, verify by eye). The lower card was rendered with the skill’s own templates/template-cover.html + scripts/render.mjs (Playwright); photo source in shi-tu-pei-wen-before-after-SOURCES.md.

FAQ

What does this skill do?

It pairs content with a real photo, then renders the words in code into a PNG card: the photo is a real downloaded photo, the text is rendered in HTML, not a single character wrong.

Which agents does it work with?

Plain SKILL.md text works with Claude Code, Codex, Cursor, and Muse. Set the content, find a real photo, pick a board — five steps to a card; the render script needs local Node and Playwright.

How do I install it?

Download the ZIP: templates/ (21:9, 1:1, and 16:9 boards) and scripts/ (render.mjs, overlay_pil.py) only ship in it. Verify by opening the PNG and checking the words verbatim, the photo against the content, and the source in SOURCES.md — deliver only when all three pass.

Comments

No account needed. Comments are anonymous (a nickname is generated, and a rough location is shown).

Do something valuable every day, and always keep a Plan B.