/bytedesk-designer:bytedesk-designer-directionfrom bytedesk-designer
Establish the visual world of a product by generating and critiquing art direction: Claude briefs, the Codex CLI renders, Claude looks at the result and re-briefs until it lands. Use this whenever someone wants an image made, changed, or explored - moodboards, hero and header graphics, social and ad creative, illustrations, spot art, packaging, textures, or abstract pieces that establish how something should feel. Trigger it even when they never say Codex or image generation, as in a header graphic for the launch post, or that image is too busy redo it. Also covers variants of an existing image and edits to one they already have. Reads the design authority live for the palette, the product motif, and the rules on what generated art may be, rather than inventing a look. For logos, marks, and icons use the identity skill instead. Requires the Codex CLI installed and signed in.
Ships in bytedesk-designer. 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.
Claude has a design eye and no hands. Codex has a native image tool and takes whatever direction it is given. This stage puts them together: Claude directs, Codex renders, Claude looks at what came back and directs again.
The critique step is the whole point. Anyone can pipe a sentence into an image model. What makes this worth running is that Claude sees the returned PNG, judges it against the brief, and knows which single thing to change next.
Read ${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md and ${CLAUDE_PLUGIN_ROOT}/references/codex-handoff.md before the first handoff of a session. This file assumes both.
command -v codex && codex --version
echo "Reply with exactly: OK" | timeout 60 codex exec --skip-git-repo-check -s read-only -
The second line is the one that matters. --version does not start a session, so it
does not load the MCP servers declared in ~/.codex/config.toml — it returns cleanly on a
machine where every real invocation hangs. A preflight built on it passes, and the arc then
fails several minutes in, which is precisely what failing at preflight is supposed to
prevent. Measured on a real machine: --version exit 0, codex exec timed out at 120s.
Use ${CLAUDE_PLUGIN_ROOT}/scripts/codex-exec.sh for every invocation rather than calling
codex exec directly. It carries the bounded retry described below.
Preflight the authority in the same breath, unless this stage genuinely has no authority to read:
${CLAUDE_PLUGIN_ROOT}/scripts/authority-doctor.sh
CONNECTED and you may proceed, recording the sha it reports. NOT-CONFORMING or none
and you stop, exactly as for a missing Codex — a stage that guesses at values produces work
that looks finished and is wrong.
This was a real gap, not a hypothetical one: authority resolution used to happen inside each stage rather than at the gate, and across one sweep five runs silently adopted a repository that two others correctly refused. Same machine, same repository. The only variable was the working directory.
If Codex is missing or signed out, stop and say which, with the matching fix. If it is
installed and working but unreachable, repair it for this run only and say what you did —
${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md has the three states. There is
no fallback that produces an image, and a stage that quietly went ahead would file an
artifact whose provenance header is a lie. Offer to write the art direction anyway so the
operator can run it themselves — but do not write it into the run folder as though the
stage completed.
Before anything else, resolve the design authority and read it. Not for inspiration — for three specific things, and the third one decides whether the image should exist at all:
Which profile. A product's profile may live in the authority or in the project's own
directory, and the project's wins. authority-doctor.sh --product <id> reports which one
governs this run; the three-layer rule is in ${CLAUDE_PLUGIN_ROOT}/references/authority-contract.md
under Which profile governs a run. Record the answer in the run, per the run-folder
contract — afterwards it is not recoverable.
${CLAUDE_PLUGIN_ROOT}/references/authority-contract.md covers resolution, the authority
order, and what to do when a request crosses the contract's line. The short version, since
it is easy to get wrong and expensive to get wrong: generated raster is exploration. It
carries no logos, no product copy, no fake controls, no invented metrics, no functional
icons, no rasterised UI. When a request crosses that line, don't refuse flatly and don't
quietly produce the forbidden thing — say which part is out of bounds, offer the form that
works, and pair it with a direction piece so the operator gets both answers they came
for: what it will be, and what it will feel like.
If there is no authority at all, say so once and offer bytedesk-designer-authority. Do
not invent a palette and proceed; a look invented here will be contradicted by the first
real token file and everything built on it thrown away.
Two or three sharp questions cost seconds and save whole rounds. The ones that change the output:
If they've already said enough, don't interrogate them. Read references/art-direction.md
before writing the first brief.
direction/brief.md carries the reasoning; the prompt carries the instruction. These are
different documents and both matter. "This needs to read at 32px, so the mark has to
survive losing all interior detail" belongs in the brief and nowhere near the prompt.
Name the register explicitly — see the register section in references/art-direction.md.
A brief that doesn't say which kind of good it wants gets the model's average of all of
them, which is the stock look.
One invocation, one image. On round 1, generate two or three genuinely different directions, not three variations on one idea — the operator usually doesn't know what they want until they see the wrong thing beside the right one.
Write each prompt to direction/prompts/r1-a.txt before running it. A prompt that exists
only in a shell history is a result you cannot reproduce.
Read each returned PNG so it enters context as an image. Then critique it against the
brief — references/critique.md has the pass, in disqualifying-first order, and the
failure patterns image models reliably produce.
Say what you see honestly. "This one is fine" when it isn't wastes a round and erodes the operator's trust in your eye, which is the only thing making this better than prompting directly. If all the directions failed, say so, and say why you think they failed — that diagnosis is what makes round 2 different rather than another roll of the dice.
Record every viewed file in state.json under this stage's viewed list. Nothing may
appear in artifacts that is absent from viewed.
Change one axis per round. Alter palette, composition, and rendering style at once and even a better result teaches you nothing transferable — you cannot back out the change that hurt. Hold everything that worked verbatim and move one thing.
Three rounds is a ceiling, not a quota. Stop early when it's good; burning rounds on an image the operator already likes is a worse outcome than stopping at one. If round 3 still misses, stop and say what you'd try next — at that point the brief is wrong, not the prompt, and another roll will not find it.
This is not hypothetical. A piece briefed as "parallel tracks at differing completion" converged on a literal progress bar over two rounds, each round more literal than the last, because the brief itself described a chart. The fix was a new brief, not a fourth prompt.
Once a round has more than one image, write contact-sheet.html: each variant, its prompt
underneath, its filename. Reference images relatively (images/r1-a.png) so the folder
stays portable. Dark neutral ground — images judged against white read as heavier than they
are.
Its job is comparison. Same display size for every variant, in a row, so differences in weight and contrast are visible at a glance. Include a thumbnail strip, because a piece that dies at 40px is a piece that fails.
direction/notes.md opens with the header from the run-folder contract, then carries the
critique per round. Under a governed authority this is required; everywhere else it is
still what stops a generated draft being mistaken six months later for an approved
decision.
When the operator is producing a set — a campaign, a surface family, an ongoing brand —
write what you learned to style-profiles/<name>.md and reuse it. assets/style-profile-template.md
has the shape.
A style profile earns its keep by being specific and negative. "Warm off-white grounds, never pure white" and "no drop shadows, ever" do more work than "modern and clean." Update it when something is rejected — a rejection is a preference stated out loud.
Never write authority values into a style profile. Where a repository owns the tokens, read them live each run. Style profiles are for taste no repo captures: composition habits, rejected directions, prompt fragments that worked.
Model-side behaviour — the mid-tone blue prior, the white-background prior for marks,
garbled text, log noise that isn't a failure — is in ${CLAUDE_PLUGIN_ROOT}/references/codex-handoff.md, along with what a real failure looks like. Two that belong here instead:
references/art-direction.md.references/art-direction.md — how to write a prompt that lands. Read before the first brief.references/critique.md — the pass for judging a returned image, and revision discipline.assets/style-profile-template.md — for taste no authority captures.Shared contracts: ${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md, ${CLAUDE_PLUGIN_ROOT}/references/codex-handoff.md,
${CLAUDE_PLUGIN_ROOT}/references/authority-contract.md, ${CLAUDE_PLUGIN_ROOT}/references/run-folder-contract.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/bytedesk-designerRun design work end to end: product idea to design brief to identity to art direction to real HTML screens to a published storybook, with an independent review before anything ships. Use this whenever someone wants to design a product, see what their idea would look like, get mockups made, refresh a look, or design several products or screens at once - and whenever design work needs more than one stage but nobody has said which. Works from nothing at all, bootstrapping a design system first if none exists, or picks up from a run already partly done. Fans out one focused worker per surface so attention does not dilute across a batch, and keeps set-level judgement in one place. Requires the Codex CLI installed and signed in./bytedesk-designer-authorityCreate, audit, or extend a design-authority repository: the single source of truth for design tokens, per-product profiles, motif language, and the rules governing what generated art may be. Use this when someone wants to start a design system, set up design tokens, capture an existing look as a reusable system, add a product to one they already have, decide a product accent, or check whether their tokens, CSS and docs still agree. Also use it when another design task cannot find an authority to read, since nothing else in the suite can run without one. Bootstraps from nothing, from a scattering of existing brand values, or from a live site or screenshot to reverse-engineer. Produces a real git repository with a validator, not a document. Requires the Codex CLI installed and signed in./bytedesk-designer-discoveryTurn a product idea into a design brief a designer or an agent can actually build from: who it is for, which surfaces exist, what constraints are real, how it should sound, and what it must never look like. Use this at the start of any design work, whenever someone describes a product they want to build and wants to see it, or when design work has begun without anyone writing down what it is for. Also use it when an existing brief is thin, contradictory, or reads as a list of adjectives. Generates two or three genuinely different product framings with the Codex CLI so the operator can choose by rejecting rather than by describing, then commits to one. Produces a brief every later stage reads. Requires the Codex CLI installed and signed in./bytedesk-designer-identityDesign a logo mark, app icon, or favicon and ship it as a real asset kit rather than a picture of a logo. Use this whenever someone wants a logo, a mark, a wordmark, a brandmark, an app icon, a favicon, or a set of icons - made, revised, or explored. Generates two or three concepts with the Codex CLI to find the idea fast, then redraws the winner as SVG by hand and delivers a vector master, a PNG size ladder, a favicon carrying sizes drawn at size, ground variants, and a proof showing it at 16px where marks actually die. Exists as a separate stage because image models have an unbreakable white-background prior for marks and cannot produce exact geometry. Requires the Codex CLI installed and signed in./bytedesk-designer-publishAssemble finished design work into a browsable storybook that anyone can open: every surface rendered live, every direction piece beside the brief that produced it, provenance attached, and a manifest recording what came from where. Use this when design work is done and needs to be shared, shown, handed over, reviewed by people, or kept somewhere it will not rot - a storybook, a gallery, a contact sheet, a design index, a handoff package. Also use it to add newly finished work to a storybook that already exists. Builds a static zero-dependency site that loads the design authority's real stylesheet, so what it shows cannot drift from what the system says./bytedesk-designer-reviewIndependently check finished design work before it ships, using a second model that is deliberately shown the artifact without being told what it was supposed to be. Use this before promoting, publishing, or handing over any image, mockup, screen, mark, or set of them - and whenever someone asks whether design work is ready, whether it matches the system, whether it is on brief, or wants a second opinion on something they already made. Catches what the author structurally cannot see: an element that reads as a chart when the brief called it a diagram, a value that drifted from the tokens, an artifact nobody actually looked at. Produces findings with evidence rather than a verdict. Requires the Codex CLI installed and signed in.npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin bytedesk-designer