design-import

design-import is a command for Claude Code, Cursor from yonatangross/orchestkit. It costs 74 tokens per session (2,908 once invoked), scanned A, original, MIT.

A tool that turns a Claude Design handoff package into React component files, with records showing where the design came from.

In plain words
What is it for?
It accepts a handoff URL or local bundle, validates it, compares design tokens with the project, and writes new or reused components to disk.
Why use it?
It avoids manually recreating the design and helps prevent duplicate components or conflicts with existing project design settings.

Command for Claude CodeCursor

Written for Claude Code and Cursor: allowed-tools in frontmatter, but also a Cursor plugin manifest. Also seen: model in frontmatter; names the AskUserQuestion tool; positional $N argument.

Part of the ork plugin — 111 skills, 38 commands, 36 agents, 32 hooks shipped together

Good fit It accepts a handoff URL or local bundle, validates it, compares design tokens with the project, and writes new or reused components to disk.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yonatangross/orchestkit/design-import
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.

Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code, Cursor.

Or install ork, the plugin that ships this one along with the rest of its 111 skills, 38 commands, 36 agents, 32 hooks.

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-import

README.md
[![agentmods](https://agentmods.dev/badge/commands/yonatangross/orchestkit/design-import/github.svg)](https://agentmods.dev/commands/yonatangross/orchestkit/design-import)
Your own site
<a href="https://agentmods.dev/commands/yonatangross/orchestkit/design-import"><img src="https://agentmods.dev/badge/commands/yonatangross/orchestkit/design-import/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-import

Your own site · 80×15
<a href="https://agentmods.dev/commands/yonatangross/orchestkit/design-import"><img src="https://agentmods.dev/badge/commands/yonatangross/orchestkit/design-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,908 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.00074 $0.02908
Opus 5.5 $0.00030 $0.01163
Sonnet 5.5 $0.00015 $0.00582
Haiku 4.5 $0.00007 $0.00291

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

Security

Grade A, and why

design-import 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 8d 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.

plugins/ork/.cursor-plugin/commands/design-import.md · 289 lines

How it starts

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

Auto-generated from skills/design-import/SKILL.md

Source: https://github.com/yonatangross/orchestkit

Design Import

Turn a Claude Design handoff bundle into scaffolded React components, with provenance and dedup against the existing codebase.

design-import https://claude.ai/design/abc123      # From handoff URL
design-import /tmp/handoff-bundle.json             # From local file

When to use

After exporting a handoff bundle from claude.ai/design. This skill is the entry point — it does NOT open a PR, run tests, or deploy. For the end-to-end flow (import → tests → PR), use design-ship instead.

Pipeline

Handoff bundle (URL or file)
  │
  ▼
┌──────────────────────────────┐
│ 1. PARSE + VALIDATE          │  via claude-design-orchestrator agent
│    - Fetch bundle             │  Schema validation
│    - Compute bundle_id (sha)  │  Surface deviations
└──────────┬───────────────────┘
           │
           ▼
┌──────────────────────────────┐
│ 2. RECONCILE TOKENS           │  Diff bundle tokens vs project tokens
│    - Read project tokens      │  Conflicts → AskUserQuestion
│    - Apply additions          │  Additions → write to design-tokens.json
└──────────┬───────────────────┘
           │
           ▼
┌──────────────────────────────┐
│ 3. DEDUP COMPONENTS           │  For each proposed component:
│    Storybook MCP first        │   • exact match → reuse (skip)
│    21st.dev next              │   • similar match → adapt
│    Filesystem grep last       │   • no match → scaffold
└──────────┬───────────────────┘
           │
           ▼
┌──────────────────────────────┐
│ 4. SCAFFOLD                   │  Delegate to design-to-code per component
│    (skipped components        │  Use bundle's tsx_scaffold as seed
│     logged but not touched)   │  Apply project tokens
└──────────┬───────────────────┘
           │
           ▼
┌──────────────────────────────┐
│ 5. WRITE PROVENANCE           │  .claude/design-handoffs/<bundle_id>.json
│    Bundle → files → (PR)      │  PR field empty until design-ship
└──────────┬───────────────────┘
           │
           ▼
   Import manifest (stdout)

Read the full file on GitHub · 289 lines

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. 8d ago Changed · +22 lines 35705159ca75
  2. 20d ago Changed 292608341885
  3. 1mo ago Changed 6916cdcdaa77
  4. 1mo ago First seen · 267 lines · 74 tokens per session scan A bc96599df984

Subscribe to this mod's changes

design-import is a command published in the GitHub repository yonatangross/orchestkit (297 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 2,908 once invoked, about $0.0003 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.