design-it-twice

design-it-twice is a skill for Claude Code from codybrom/clairvoyance. It costs 111 tokens per session (1,518 once invoked), scanned A, original, MIT.

A design exercise that creates and compares at least two substantially different approaches before choosing an architecture, API, class, or module design.

In plain words
What is it for?
Use it before significant software design decisions or when an existing interface feels awkward and needs an independent alternative.
Why use it?
It reduces the risk of committing too early to the first plausible design and makes trade-offs visible against explicit criteria.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the clairvoyance plugin — 16 skills, 1 agent shipped together

Good fit Use it before significant software design decisions or when an existing interface feels awkward and needs an independent alternative.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codybrom/clairvoyance/design-it-twice
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 codybrom/clairvoyance --skill design-it-twice
Clone the repo
git clone --depth 1 https://github.com/codybrom/clairvoyance

Made for: Claude Code.

Or install clairvoyance, the plugin that ships this one along with the rest of its 16 skills, 1 agent.

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-it-twice

README.md
[![agentmods](https://agentmods.dev/badge/skills/codybrom/clairvoyance/design-it-twice/github.svg)](https://agentmods.dev/skills/codybrom/clairvoyance/design-it-twice)
Your own site
<a href="https://agentmods.dev/skills/codybrom/clairvoyance/design-it-twice"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/design-it-twice/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-it-twice

Your own site · 80×15
<a href="https://agentmods.dev/skills/codybrom/clairvoyance/design-it-twice"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/design-it-twice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,518 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.00111 $0.01518
Opus 5.5 $0.00044 $0.00607
Sonnet 5.5 $0.00022 $0.00304
Haiku 4.5 $0.00011 $0.00152

Measured 1mo ago against content hash 9a972625ff8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-it-twice 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 1mo 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-it-twice/SKILL.md · 103 lines

How it starts

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

Design It Twice

When invoked with $ARGUMENTS, treat the argument as the design problem to explore. Do not assume a solution. Start from the problem statement and generate at least two fundamentally different approaches independently. If the user or the codebase supplied a design, dispatch the clean-room-alternative agent (see Isolation Mode below) rather than trying to produce a second attempt yourself — a design already sitting in your context contaminates anything you write next, no matter how deliberately you try to ignore it. A design you drafted yourself while working on a fresh problem does not count as a supplied design: for a fresh problem, generate the alternatives directly. Then compare all approaches on concrete criteria.

This skill has two modes. For a fresh problem, where the user supplied no design, generate and compare alternatives directly, using the forcing technique below to push past your first idea. When the user or the codebase supplied a design, dispatch the isolated agent described below to produce an independent second attempt that isn't anchored to the first. Either way, the first idea is unlikely to produce the best design, not because the designer isn't smart, but because the problems are genuinely hard.

When to Apply

  • Before committing to a class, module, or API design
  • When choosing between architectural approaches
  • When an interface feels awkward but "good enough"
  • When writing a design document or RFC
  • When you catch yourself thinking "this is obviously the right way"

When NOT to Apply

  • Trivial decisions with negligible consequences
  • Well-established patterns where the design space is explored
  • Bug fixes that don't change the interface
  • Cost of the exercise should be proportional to cost of getting the design wrong

The Procedure

  1. Generate at least two fundamentally different approaches, not variations on one idea. If both share an interface shape, they're variations. Push until the second makes you uncomfortable.

Read the full file on GitHub · 103 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +4 lines · +30 tokens per session 9a972625ff8a
  2. 1mo ago First seen · 99 lines · 81 tokens per session scan A dc9381b0e2c6

Subscribe to this mod's changes

design-it-twice is a skill published in the GitHub repository codybrom/clairvoyance (14 stars, last pushed 20d ago), licensed MIT. It adds 111 tokens to every session and 1,518 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

agent-canvas-setup

This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.

majiayu000/claude-skill-registry · 0 tokens

agent-eyes-edrouhardmicrosoft-agent-canvas-skills

This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.

majiayu000/claude-skill-registry · 0 tokens

excalidraw-visual-designer

Create and revise editable visual drawings directly in the Excalidraw website through the in-app browser. Use when the user asks Codex to draw in Excalidraw or update an Excalidraw canvas, including diagrams, flowcharts, architecture sketches, process maps, infographics, teaching visuals, product explanation graphics…

guanyang/super-publisher · 111 tokens

wechat-sticker-assets-designer

A design skill for creating the supporting images used when publishing WeChat sticker packs, including a banner, a support-request image, and a thank-you image.

guanyang/super-publisher · 56 tokens

software-in-worten

Übersetzt zwischen Benutzeroberfläche und Text — in beide Richtungen. Aus einer beschriebenen Oberfläche wird ein Skill; aus einem Skill wird eine Oberfläche. Nutzen, wenn eine Anwendung entworfen wird und der Ablauf noch unklar ist, wenn ein bestehendes Werkzeug als Skill verfügbar gemacht werden soll, wenn…

ellmos-ai/skills · 87 tokens

baoyu-infographic

An infographic generator that turns information into visual summaries using different layouts and visual styles. It supports many combinations for arranging and presenting the content.

guanyang/open-agent-hub · 70 tokens