design-direction

design-direction is a skill for Claude Code from w2ur/claude-code-setup. It costs 24 tokens per session (1,486 once invoked), scanned A, original, MIT.

A design-planning guide for creating or redesigning a site or page before writing code. It studies the subject and existing work, proposes several visual directions, and records the chosen direction in DESIGN.md.

In plain words
What is it for?
Use it to define the audience, visual direction, and design rules for a new page or a redesign when no DESIGN.md exists.
Why use it?
Without a written direction, different projects can fall back to the same default look and design decisions become hard to review. This creates an explicit choice before implementation begins.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to define the audience, visual direction, and design rules for a new page or a redesign when no DESIGN.md exists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w2ur/claude-code-setup/design-direction
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add w2ur/claude-code-setup --skill design-direction
Clone the repo
git clone --depth 1 https://github.com/w2ur/claude-code-setup

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-direction

README.md
[![agentmods](https://agentmods.dev/badge/skills/w2ur/claude-code-setup/design-direction/github.svg)](https://agentmods.dev/skills/w2ur/claude-code-setup/design-direction)
Your own site
<a href="https://agentmods.dev/skills/w2ur/claude-code-setup/design-direction"><img src="https://agentmods.dev/badge/skills/w2ur/claude-code-setup/design-direction/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-direction

Your own site · 80×15
<a href="https://agentmods.dev/skills/w2ur/claude-code-setup/design-direction"><img src="https://agentmods.dev/badge/skills/w2ur/claude-code-setup/design-direction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01486
Opus 5.5 $0.00010 $0.00594
Sonnet 5.5 $0.00005 $0.00297
Haiku 4.5 $0.00002 $0.00149

Measured 6d ago against content hash dcf11c8905d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-direction scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design-direction/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design direction — a written direction before any code

A model with no direction lands on its own defaults, and a portfolio of projects designed that way converges on one look. This skill makes the direction a written, reviewable decision: read the subject, study real sites, check the portfolio for convergence, propose 2-3 directions, and record the chosen one in DESIGN.md.

If the project already has a DESIGN.md or a design section in its CLAUDE.md, it has a direction: follow it, and use design-critique instead.

1. Load the ban list

Load design-tells. Its ids are the vocabulary of every step below: read the ids from design-tells itself, never from a copy, and refer to a trap by id, never by restating it. With no stated direction, never default to anything section 1 of design-tells names, nor to B9 — and never pick a direction silently: step 5 always proposes 2-3 and waits.

2. Read the subject before any visual decision

Write these down first, in this order, before a colour, a font or a layout is considered (the headings match references/design-md-template.md):

  • Read — one line: Reading this as: <page kind> for <audience>, with a <vibe> language.
  • Domain — at least 5 concepts, objects or gestures of the subject.
  • Colour world — at least 5 colours that exist in the subject, each with where it is seen. Tokens come later, from these.

A colour or a font that cannot be traced back to this list is a default wearing a reason.

3. Reference study

Pick 2-4 sources from the table in references/inspiration.md that match the Read (its best for column); never one from its Excluded list (zero-cost rule). For each site studied:

  1. Open it with the Playwright MCP (browser_navigate; follow the row's how to read it, including any wait), then browser_take_screenshot. The MCP writes screenshots only under its allowed roots (~/Dev and ~/Dev/.playwright-mcp); with no filename they land in ~/Dev/.playwright-mcp/. Do not request a path outside those roots — the call is refused.
  2. Run references/dna.js: pass the file's whole text as the function argument of browser_evaluate. It returns the computed fonts, sizes, weights, heading tracking, ground and text colours by area, radii, section spacing and content width. For a local file or a build the MCP will not open, run ~/.claude/scripts/design/dna-harness.mjs <url|file> [light|dark] (exit 2 = could not run; never read that as an empty DNA).
  3. Note one thing to take and one to refuse, each tied to the screenshot or a DNA value.

Read the full file on GitHub · 121 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 121 lines · 24 tokens per session scan A dcf11c8905d1

Subscribe to this mod's changes

design-direction is a skill published in the GitHub repository w2ur/claude-code-setup (2 stars, last pushed 3d ago), licensed MIT. It adds 24 tokens to every session and 1,486 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.