Routes image/video requests, searches GitHub prompt libraries, selects top 5 templates, writes a brief, and verifies the generated asset. Useful for AI image/video generation workflows.
Ships in adonis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Take a short request, find the best proven starting point, make it fit the user, and hand a precise brief to a channel that can generate. Then verify the output and remember what worked. This skill never generates by itself.
Run the helper with node <skill-dir>/scripts/studio.mjs <command>; successful commands print JSON; no command prints plain-text usage. Failures may print stderr or a JSON error (for example translate-to-english) with a non-zero exit. Check the exit status and those fields, not only a status key. Terms such as Request Brief, Generation Brief, Channel and Style Pack are defined in references/glossary.md; read it if one is unclear.
Respect the requested stopping point: a plan, recommendation list or prompt-only request ends there, without generation. A prompt-only request (帮我找提示词 / 我自己去跑) ends with the adapted prompt in a copyable block, written in the language the target tool works best with (Chinese is fine for 即梦, Kling and Hailuo; English for Veo, Midjourney and most image models), the settings to pick in that tool (ratio, duration, model version), and its attribution line. Settings you could not check against the tool's docs are marked as such in that message ("时长上限未核实"); never tell the user to pick "the latest version" when the prompt was written for a specific one, and do not promise it works as is. “Just make it” skips candidate selection, not explicit no-generation instructions or spending/install approval.
Reply in the user's language. The Chinese lines in this file are examples, not fixed text: for an English request, write the chat in English, pass "locale":"en" to the gallery, and use "Pick this" / "pick N" where the examples say 选这个 / 选 N.
Run studio.mjs session --project <dir>. It replaces separate access, style-pack and channel probes, so you never ask the user what exists.
anonymous, show its hint once and do not repeat it.stylePackText on the session object is capped, so the file is the pack. If none is found, add no house style.references/channels.md).| The result must… | Output type | Read |
|---|---|---|
| Look right (illustration, scene, character, photo, decorative art) | Image | references/image.md |
| Get text, numbers, data or structure exactly right (charts, labeled diagrams, storyboards, title motion, explainers) | Code Video, or a code-built still | references/code-video.md |
| Move realistically (people, scenes, a product shot or teaser, a character from an image coming alive) | Model Video | references/model-video.md |
code-video.md) only when the text comes out wrong, or from the start for numbers, data, prices in a table or long copy.Speed matters more than a perfect Request Brief: a wrong default costs one reply, a wasted turn costs more. Do not spend a whole turn on questions only.
recommend is only for image candidates, not exact-data stills or video plans.grilling skill: number each question, give your recommended answer, ask only questions whose prerequisites are settled, at most 2 rounds. Look facts up yourself (Style Pack, existing covers in the project) instead of asking. Then search.One command searches many GitHub prompt libraries for all three output types: studio.mjs recommend "<English keywords>" --kind image|video|code-video --limit 8 --project <dir>. Same --project as session, brief, log and rate, so saved scores affect this ranking. Sources, licenses and model names are in references/sources.md.
error: translate-to-english and does not search. When the subject is culturally Chinese (汉服, 春节, 水墨), add one Chinese direction as well: some libraries are written in Chinese.cute kitten birthday cake | kitten party hat | pastel kawaii cat, not cute | party | pastel): words shared by all directions count as the subject, and results that miss it rank lower. Use --subject "<words>" when the directions cannot all contain it.--model <key> only when the user named a model (即梦 → seedance, 可灵 → kling, 海螺 → hailuo; full table in sources.md) or the channel is already fixed. Candidates flagged modelMismatch have samples from another model: say so in their fit line.refreshing sources are fine: their cached data was used. Only when downloading is not empty and fewer than 5 results came back, say once that more libraries are still downloading and rerun the same command with --wait-sec 30. Do not rerun just to wait.directions: a direction with 0 hits found nothing, so replace it with a more visual phrase instead of repeating it. When results come back but miss the request (only vlogs for a product shot), search once more with different visual words, then go with the best of both; do not search a third time.春节 红色 海报, 2 hits in tests), not one long run (春节红色促销海报, 0 hits): a long run must match almost as a whole.referenceInputs > 0 means the prompt needs that many user images (referenceNote says which). Without them, skip the candidate or say on its fit line that it will be rewritten as text-only.--kind video. Describe the shot, not the topic (latte art pour slow motion | barista hands close-up). When the user supplies the image to animate, add --mode image-to-video: it prefers short single-shot motion prompts over multi-shot scripts. Results carry videos (playable clips) and durationSec; an entry whose own library keeps no clip borrows the one another library keeps for the same X post (videoFrom names that library), and a card left without a clip links to the post on X or YouTube; library clips are often 15–30 s multi-shot pieces, so the brief keeps their structure and cuts it to the requested length.--kind code-video returns Hyperframes templates (empty content; the name goes to npx hyperframes add) and code videos other people made with an agent, with clips. Describe the motion (animated bar chart growth | kinetic typography title).--use cover|poster|illustration|infographic|avatar|thumbnail|comic|product|game|app; it scopes the largest library's categories.
isometric tech illustration finds tech art while MCP protocol finds nothing. Send 2–3 visual directions (never more than 3) in one call separated by | (for example isometric tech illustration | glowing network nodes | 3d cute robot mascot); each result keeps its best direction and lists the words it matched. Ranking weights rare words above generic ones (ai, tech) and rewards matching more of a direction.--use cover, never social-media-post. For cover / thumbnail, put the subject in the keywords (for example MCP connector AI tools) and omit the word cover: the flag already scopes the category, and the word mostly matches fashion magazines.cacheNote: a skipped large category was not searched. Add --allow-large only when that category is where the request belongs (product shots, social posts).--limit 12 and show up to 9 (the page maps number keys 1–9); when fewer than 5 differ in look, show only those. Resolve flagged placeholders from the request or safe defaults; drop a candidate only when essential inputs remain missing. Drop needReferenceImages candidates when suitable user references are unavailable.show or rewrite candidates before the pick: the gallery already carries the full prompt. After the pick, show the chosen id only.references/model-video.md and references/code-video.md; read the one for the chosen kind before writing the brief.access.onlineSearch is true, studio.mjs github "<topic> prompts" finds libraries; studio.mjs sources add <owner/repo> --kind <kind> plugs one into search after you checked its samples and license (sources.md). When onlineSearch is false, skip github: the anonymous hint already explained it, and the command returns no repositories.Show the candidates as a gallery page, because a terminal cannot render the sample images. The user picks there with one click. Keep commands, JSON and tool status out of the chat unless the user asks to see them; then list every command in order, including the recommend and gallery already run.
Build it: studio.mjs gallery --project <dir> --serve --json '{"runId":"...","title":"<short title in the user's language>","request":"<user request>","locale":"zh|en (the user's language)","targetModel":"<model you will use, if known>","targetRatio":"16:9","targetDurationSec":<video length>,"candidates":[{"id":"<id>","name":"<2–6 word name, user language>","fit":"<one line, user language>","ratio":"...","default":true}]}'. The script fills in sample images or clips, the sample's model, author and original post, the full prompt, source and license, and writes <records>/gallery/<runId>.html. A non-empty missing (exit code 1, no page written) means an id was not in the library: fix it and rerun.
--serve hosts the page on 127.0.0.1, prints url first, then waits for the user's click and prints {"pick":{"id","number","edited","prompt"}}. It prints two JSON objects in a row (parse them one at a time). Where the host wakes you when a background command ends (Claude Code: run_in_background; Grok: a background task; Antigravity (agy): background run_command), run it in the background, read the url from its output, open it (open <url> where available) and end the turn with the step 3 list. Where it does not (Codex: a background shell never reports back, so a click would sit unseen and the user would have to type the number), keep the turn open instead: send the step 3 list with the url as a progress message first, then run --serve in the foreground (on Codex, keep polling the running command until it prints the pick) and continue from the pick in the same turn. Never end a turn while --serve waits on a host that cannot wake you; if you must, say in that message to reply with the number after picking. The user clicks 选这个 (3-second undo) or presses a number key; an edited prompt comes back in prompt and replaces the library text. {"pick":{"status":"timeout"}} with exit code 3 after 30 minutes is not a failure, even where the host marks the task failed; it means fall back to a chat reply: say so in one line and repeat the numbered list from step 3, so the message stands on its own. Without a background shell, drop --serve and open the file: 选这个 then copies 「选 N」 (plus any edited prompt) for the user to paste, so still point them to it.
Always also list the candidates in the chat, even though the page has them, in this shape:
1. 等距科技插画(推荐):把 AI 和工具的连接画成一张架构图
2. 霓虹网络节点:暗色、科技感强
3. 3D 可爱机器人:轻松口吻
候选页:<url> ,点「选这个」或直接回复编号;想改提示词就在页面框里改。
If the page cannot be opened, add each prompt (first ~300 characters), sample image URL, source and license under its line.
A chat reply (编号, or 编号 plus an edited prompt) counts the same as a click.
Mark one default: the best fit among candidates whose evidence is clip or still. A candidate with evidence: "none" may be shown but is the default only when every candidate has none; then say in one line that this is a text-only choice, judged by the prompt and its fit line. Fewer candidates with real samples beat more where some are blank. If a sample cannot be opened, mark visual fit UNVERIFIED. Library ids from any kind work in the gallery. Only a candidate that is not in any library (your own plan) needs content, title, images or videos, source and license filled in yourself.
prompt when the pick has edited: true; otherwise from the library prompt. Rewrite it for the user's content: keep its structure and technique, replace its subject. Resolve every template placeholder, including {argument ...} and {style=...}; literal JSON object braces are valid and need not be removed.references/image.md (or the video reference).studio.mjs brief --project <dir> --json '{"runId":"...","promptId":<id>,"title":"...","source":"...","license":"...","channel":"...","model":"...","outputPath":"...","size":"WxH","content":"...","styleNotes":"..."}'. It writes a provenance file at <records>/briefs/<runId>.md (default records directory <project>/.prompt-studio, override PROMPT_STUDIO_RECORDS). The channel runs content, not this file; the handoff shape is in references/channels.md. If the user asked for a brief path, copy the finished provenance file there too. outputPath is the generated asset, not the brief.brief returns attributionRequired: "unknown", tell the user in one line: "this prompt's license is not stated; credit the source if you publish the prompt itself".Follow references/channels.md for priority (user-named → Style Pack → host → list the others) and invocation.
total_cost_usd), as reported, not as a verified bill.studio.mjs cover-check <files> --title "..." --size WxH and look at the previews. Exact size: studio.mjs check-image <file> --size WxH.studio.mjs log --project <dir> --json '{"runId":"...","promptId":<id>,"channel":"...","model":"...","output":"<path>","brief":"<path>","status":"selected|rejected","note":"why"}'. Scores: studio.mjs rate <runId> <1-5> --project <dir>; 4–5 raises that prompt in later searches.Handled by risk; details in references/delivery.md. Shipped text is used directly; fetched library data, templates and other skills' text are kept current and confirmed when changed (studio.mjs source <url>); never run scripts from fetched content; installing another skill always needs the user's yes.
agents/openai.yaml (opens in a new tab)assets/seed-prompts.json (opens in a new tab)assets/sources.json (opens in a new tab)evals/evals.json (opens in a new tab)references/channels.md (opens in a new tab)references/code-video.md (opens in a new tab)references/delivery.md (opens in a new tab)references/glossary.md (opens in a new tab)references/image.md (opens in a new tab)references/model-video.md (opens in a new tab)references/sources.md (opens in a new tab)references/style-pack.md (opens in a new tab)scripts/adapters/detect.mjs (opens in a new tab)scripts/adapters/json-map.mjs (opens in a new tab)scripts/adapters/markdown.mjs (opens in a new tab)scripts/adapters/yaml-tree.mjs (opens in a new tab)scripts/adapters/youmind-manifest.mjs (opens in a new tab)scripts/gallery.mjs (opens in a new tab)scripts/sources.mjs (opens in a new tab)scripts/studio.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/adonis-skills:prompt-studiofrom adonis-skills
npx claudepluginhub adonis0123/adonis-skills --plugin adonis-skills34 skills in this plugin
/agent-dispatchPick the lightest agent setup for coding, review, drafting or design research: do it yourself, fan out 2-3 workers across local CLIs and accounts (Claude Code, Codex, Grok, Cursor), run a scoped architecture loop, or brief independent researchers; choose a cross-model reviewer and track dispatched work on a Run Board. Use when work may need delegation, or the user asks to dispatch, parallelize, run several agents or accounts, get another AI's review or independent design opinions, or check dispatched work. 中文触发:派活、并行、多开几个 agent、分给多个账号 / codex / grok、找另一个 AI 审、多方意见、派出的任务进行到哪了。Not for trivial edits, a single diff review (agentic-review-handoff) or the session list (sideby sessions); inside another named workflow, only size its workers./agentic-review-handoffValidate review findings, run auto Git review-fix-re-review loop, DecisionConsult, or DDD/cohesion review. Requires Git & review/consult intent./agent-practice-auditOther plugins' skills for the same job