/bytedesk-designer:bytedesk-designer-discoveryfrom bytedesk-designer
Turn 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.
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.
Everything downstream reads brief.md. A vague brief doesn't produce vague work — it
produces confident work aimed at the wrong thing, discovered three stages later when
somebody looks at a rendered surface and says that isn't it at all.
The job is not to gather requirements. It is to force decisions early, while they are still cheap, and to write down the reasoning so a later stage can tell an intentional choice from an accident.
Read ${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md and ${CLAUDE_PLUGIN_ROOT}/references/codex-handoff.md first. This stage uses Codex in text mode.
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.
Missing or signed out: stop and say which, with the fix. If it is on the machine and working but simply unreachable — a broken shim, a
half-finished upgrade — that is the third state: repair it for this run only, say
what you did, and record the version you actually invoked. See
${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md. Divergent framings are the
core of this stage, and one model producing three framings alone produces three framings
with one opinion in them — which is the failure this stage exists to prevent.
An existing authority constrains discovery usefully: the ground is decided, the type is decided, the family's voice already exists. Read it so the brief narrows rather than re-litigates.
If there is none, that is fine — discovery runs first and bytedesk-designer-authority
runs after, informed by this brief. Say which order you're in so nobody waits for a
palette that was never coming.
Most of what you need is usually already in what they said. Read it properly before asking anything.
The questions worth spending a turn on:
Four questions maximum, and fewer if they've already answered them. This is a design stage, not an intake form.
This is the one place the stage can defeat itself, and a live run proved it: handed a thin brief and a design authority that already described the audience, the run generated three divergent framings and invented a persona — a specific person, at a specific hour, with a specific four-year-old spreadsheet — while the profile sitting next to it already said who this was for. The baseline, with no skill at all, simply read the profile and got it right.
Read the right one: under a solution the profile that governs a run is the project's own,
not the authority's entry of the same name. authority-doctor.sh --product <id> says which.
Divergence is a tool for the questions that are genuinely open. It is not a licence to re-answer questions the evidence has already settled, and the pull to invent is strongest exactly where a vivid detail would make the brief read better.
So before generating anything: list what is already known — from the authority, from an existing brief, from the operator's own words — and mark those as fixed. Diverge on what kind of thing this is, who it centres, and what it competes with. Do not diverge on facts already on disk. If a framing contradicts a known fact, that is a finding about the authority, not a new option.
Hand Codex the raw material and ask for two or three genuinely different framings of the same product. Text mode; one invocation per framing. Not tonal variations — different answers to what kind of thing this is.
The productive axes to diverge along:
Ask each framing for the same fields, so they are comparable side by side: audience, surfaces, the one thing it does better, voice, and three visual adjectives it should avoid.
Read all of them, then commit. What to look for:
Which one survives the hardest question? Take the constraint the operator was most specific about and see which framing still works under it. Specificity is where they already made a decision, whether or not they framed it as one.
Which one produces buildable surfaces? A framing whose surfaces are "the dashboard" and "the settings" hasn't done any work. One that names "the morning triage view where nothing is wrong" has.
Which one is not the obvious one? The first framing is usually the category default — the shape every product in this space already has. Sometimes that's correct. But if all three converge on it, say so out loud, because a brief that inherits a category's conventions without noticing is how a product ends up looking like every competitor.
Then pick one and say why, in a sentence the operator can disagree with. Graft the best ideas from the runners-up rather than discarding them whole — a losing framing often has the right audience with the wrong register.
Do not present three framings and ask the operator to choose. Recommend one and show the others. An operator who wanted to make this decision unaided wouldn't have asked.
brief.md# <Product> — design brief
## What it is
<One paragraph. Someone who has never heard of it should be able to say what it does.>
## Who it is for, and in what state
<The audience, and the condition they are in when they use it. This is the load-bearing
section — every later stage reads it to decide how much energy a surface may have.>
## Surfaces
<Each named specifically, with what it is for and what dominates it. This list becomes
the surface stage's work-list, so a vague entry here becomes a vague screen later.>
| Surface | What it is for | What dominates |
|---|---|---|
## The one thing
<What it must do better than the alternative. The focal hierarchy of every surface
derives from this.>
## Voice
<How it talks, plus one message it would send and one it wouldn't. The pair does more
work than three adjectives.>
## Constraints that are real
<Technical, regulatory, brand, or platform constraints that actually bind. Distinguish
these from preferences — a later stage will treat everything here as non-negotiable.>
## What it must never look like
<Named negatives. The most useful section for the direction stage, and the one operators
answer most vividly if you ask.>
## Open questions
<What was not decided, and what each is waiting on. An open question with no blocker
named is one nobody returns to.>
## Framings considered
<The runners-up, one line each, and why they lost. This is what stops the same rejected
framing being re-proposed next quarter.>
The last two sections are the ones that get dropped under time pressure and the ones that pay off longest.
Write brief.md to the run folder, set stages.discovery complete in state.json, and
say plainly which framing was chosen and what the operator should push back on.
Shared contracts: ${CLAUDE_PLUGIN_ROOT}/references/claude-codex-collaboration.md (the loop),
${CLAUDE_PLUGIN_ROOT}/references/codex-handoff.md (text-mode mechanics), ${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
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin bytedesk-designer9 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-directionEstablish 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./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.