media-prompting
БесплатноБез исполняемых скриптовНе проверенUse before you write a prompt for generate_image, generate_video, generate_sound or speak, or when a generated image, clip, song or voice came out wrong.
от mudler★ 50 644 звезды на GitHubОб этом скилле
Prompting the media models
Each model family reads prompts a little differently. Read the card of the model you picked before you write the prompt. The cards are in /workspace/shared-builtin-skills/media-prompting/cards/: read one with read_file.
Loop
list_modelswith the capability (image, video, sound_generation, tts). Pick by capability and name. Never guess a name.- Find the family in the table below and read its card. No card: use the anatomy below and say that the model is untested.
- Generate once. Do not generate a batch before you have looked at the first result.
- Inspect. Image:
describe_image, and look at it. Video:ffprobeand one frame grab (load_skill assemble-media). Audio:ffprobefor the length; you cannot hear it, so say that you did not listen. - Change one thing, then generate again. Keep the
seedwhen you compare two prompts or two settings; change it only to get a different take. - Stop after a few tries. Say what worked and what did not.
Cards
| Model id contains | Card |
|---|---|
qwen-image |
cards/qwen-image.md |
minimax-h3 |
cards/minimax-h3.md |
yue2 |
cards/yue2.md |
qwen3-tts |
cards/qwen3-tts.md |
Prompt anatomy
Image: subject and what it does, style or medium, composition and camera, light, then text to render in double quotes. Say what you want, not what to avoid. One scene per prompt.
Video: shot type, subject and its motion, camera move, setting and light, length. For a clip that continues another, set start_image to the last frame of the first clip (grab it with ffmpeg) and describe only the new action. end_image fixes the last frame. If the model makes sound, say what is heard and put spoken words in quotes.
Music: caption is the style: genre, mood, instruments, voice, tempo, comma separated. lyrics is the text, with a structure tag on its own line before each section ([verse], [chorus], [bridge], [outro]). instrumental for no voice. Say the language when it is not English. Which fields a model reads depends on the model: see its card.
Speech: write the text as it should be said. Spell out numbers, dates, units and abbreviations. Break long text into sentences. Set language when it is not English. instructions describe the voice or the tone. voice is a named speaker or a profile from voice_profile.
What the settings do
steps: more steps refine detail and cost time in proportion. Distilled or turbo models are made for a few steps (about 4 to 8): more steps do not help them. Full models use about 20 to 50.- Guidance (
cfg_scaleon video, set in the model file for images): higher follows the prompt more closely, too high gives burnt colors. Turbo models use 1 or none. Typical for full models: 3 to 7. Check the card. size: use the sizes of the card. A large size costs time and memory in proportion to its area. Most models need multiples of 32 or 64.seed: the same seed, model, prompt and size give the same result. It does not carry a subject from one prompt to another.negative_prompt: only models with guidance use it. Some models ignore it. Keep it short.duration_seconds,seconds: a model has a trained range. A request outside it can be rounded or give poor results.
What to refuse or redirect
- Exact text, logos, hands, many small objects and counts of more than three are unreliable. Say so, and offer to add text afterwards with ImageMagick (assemble-media).
- A model cannot keep one character the same across separate generations unless it takes reference images. Use
ref_imagesorstart_imagewhere the model supports them, and say it is approximate. - There is no tool to edit a video, to change a song or to clone a voice without a confirmed profile. Generate new, or cut and mix with assemble-media.
- Long videos and songs are made of pieces: generate each one, then join them.
- Real people, living artists' styles and private voices: do not imitate them. Offer a generic description.
- A request that needs a model that is not installed: say which kind is missing. An administrator can install it from the model gallery.
Add a card
Copy one card, name it cards/<family>.md, and add one row to the table above (a part of the model id, then the card). Keep it under 1.5 KB. Use these headings, in this order:
# <family>, then one line: what the family is, and the model ids you saw.Good at: what it does well.Prompt shape: how to write the prompt.Example prompts: two, concrete. Mark each as tested orfrom the docs, not tested.Parameters to touch: only parameters the tool takes, with ranges you tested or took from the docs.Known failure cases: what went wrong. Writeunverifiedafter a claim that you did not test.
Установить media-prompting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл media-prompting?
Use before you write a prompt for generate_image, generate_video, generate_sound or speak, or when a generated image, clip, song or voice came out wrong.
Как установить скилл media-prompting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл media-prompting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic