/skills-library:photo-caption-writerfrom skills-library
Writes factual photo captions or artist statements from photographer-provided context and optional EXIF metadata. Does not infer details from the image alone.
Ships in skills-library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Write concise, usable copy without turning guesses about a photograph into facts.
Collect only what the requested output needs:
short or long;Do not block on missing optional inputs. If the user asks for a factual detail that is absent, ask for it or omit it. Never fill the gap by guessing from pixels, filenames, or nearby context.
Separate the evidence. Make three private working lists:
confirmed: explicitly supplied by the photographer or extracted from metadata;attributed: interpretations or intentions stated by the photographer;unknown: anything merely inferred from the image.Extract metadata when useful. If a local image is available and the runtime can execute Python, run:
python3 scripts/extract_exif.py IMAGE
The script requires Pillow. It reads IFD0 and the Exif sub-IFD, where cameras store aperture, shutter, ISO, focal length, lens, and capture time, and prints source_file, captured_at, camera_make, camera_model, camera (maker not repeated), lens, exposure_time, aperture, iso, focal_length_mm, focal_length_35mm, and exposure_compensation_ev. captured_at comes from DateTimeOriginal only; a file that carries only IFD0 DateTime (its last edit or export time) gets null, so never present a file date as the capture time. GPS is never printed. Treat null fields as unavailable; do not mention them. If the script cannot run, use only metadata the user provides.
HEIC/HEIF files (the iPhone default) need the pillow-heif package, or a JPEG copy first: sips -s format jpeg IMG.HEIC --out IMG.jpg (macOS; keeps the EXIF). The script exits 1 and prints that command instead of guessing.
scripts/image_io.py is a shared copy of the photo skills' image module; identical copies live in photo-exif-frame, shoot-outing-review-card, photo-series-layout, and photo-spread-composer, and scripts/validate.sh requires them to stay byte-identical, so never edit one copy alone. fontTools is optional and only used by the rendering skills to check glyphs. python3 scripts/extract_exif.py --selftest runs the regression checks.
Choose the mode.
short: one sentence, normally 15–35 words. State only useful context; include camera settings only when requested or editorially relevant.long: one restrained paragraph, normally 70–150 words. Connect confirmed context, the photographer's attributed intent, and relevant process details.Draft in the user's language and requested voice. Prefer concrete nouns and verbs. Preserve uncertainty with wording such as “the photographer recalls” or “appears” only when uncertainty itself is useful and clearly marked.
Run the honesty check. For every claim, identify its source. Remove or qualify any claim supported only by visual inference.
Return clean copy. Give the finished caption first. Add a brief 待确认 list only when unresolved facts materially affect publication.
[Publication-ready caption]
待确认(only if needed):
- [missing fact that materially changes the caption]
[Publication-ready paragraph based on confirmed context and attributed intent]
待确认(only if needed):
- [missing fact that materially changes the statement]
Do not append an EXIF dump unless requested.
tests/fixtures/photo-caption-writer/camera-subifd.jpg), every field of extract_exif.py is non-null and the file's GPS is not printed.export-datetime-only.jpg), captured_at is null; state no capture date and ask for one if the caption needs it.IMG_0001.heic, the script exits 1 with the sips command; convert or ask, never guess the settings.Full cases: tests/cases/photo-caption-writer.md.
| 版本 | 日期 | 变更 | 类型 |
|---|---|---|---|
| 0.1.1 | 2026-09-26 | extract_exif.py 改用共享的 image_io.py 读 Exif 子 IFD,相机 JPEG 的光圈、快门、ISO、焦距、镜头、拍摄时间不再全是 null;拍摄时间只取 DateTimeOriginal;新增 camera、focal_length_35mm 两个键和 --selftest;写明 HEIC 先用 sips 转 JPEG;description 前加中文触发语;示例命令改用 python3 | patch |
| 0.1.0 | 2026-09-09 | 初始版本 | minor |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chromitecr/skills --plugin skills-library64 skills in this plugin
/activity-list-optimizer当学生说"Common App 活动栏写不下"、"这段活动描述超字数了"、"帮我把这几条压到限制内"时使用。先按官方申请表核对当季字符限额,再逐条检查;一次把所有条目量完并直接给出压缩版,只在需要砍掉实质内容时才用选择题问该保哪部分。每改一版都用工具重新数一遍字符,绝不凭感觉说"这样应该够了"。只压缩,不代写空白。/activity-profile-builder当学生说"我参加过一些活动但没整理过"、"帮我把经历录进去"、"我的活动档案是空的"时使用。让学生一口气把记得的活动说出来,直接把这段话拆成结构化的长期事项(角色、组织、起止时间、做了什么、结果、级别),说不清的字段留空标"待补"而不是编,再用一张选择题卡把级别判定与是否重复这类关键项一次问完,然后提案入库。只记录学生真正说出口的内容,级别按事实判定,绝不往高了写。/admissions-reader当学生问"招生官会怎么看我的档案"、"我的背景还差什么"、"帮我评估一下现在的申请竞争力"时使用。以顶尖大学招生官的视角通读学生的档案、长期活动与已写下的反思,不问任何前置问题直接产出一份指名道姓的坦诚点评:这份材料的亮点、招生官真实的解读方式、明显的短板与空白、以及接下来最值得做的一到两件事。只读不写,不修改学生的任何数据,也不代写任何申请材料。Other plugins' skills for the same job