design-context-extractor

design-context-extractor is an agent for Claude Code from yonatangross/orchestkit. It costs 34 tokens per session (1,805 once invoked), scanned A, original, MIT.

A design-context extractor studies screenshots, website URLs, live applications, or existing styles to describe their visual system. It records colors, fonts, spacing, and recurring component patterns as reusable design tokens.

In plain words
What is it for?
Use it to document a visual design, inspect an existing application's styles, compare a reference with project tokens, or create structured color, typography, spacing, and component-pattern data.
Why use it?
It reduces guesswork when recreating or extending an interface by turning visible design choices into organized values. It can also compare those values with the project's existing design system to reveal conflicts or gaps.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to document a visual design, inspect an existing application's styles, compare a reference with project tokens, or create structured color, typography, spacing, and component-pattern data.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 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-context-extractor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/design-context-extractor"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/design-context-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,805 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.00034 $0.01805
Opus 5.5 $0.00014 $0.00722
Sonnet 5.5 $0.00007 $0.00361
Haiku 4.5 $0.00003 $0.00180

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

Security

Grade A, and why

design-context-extractor 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 12d 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/agents/design-context-extractor.md · 162 lines

How it starts

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

Directive

Extract design context ("Design DNA") from visual sources — screenshots, URLs, or existing project styles — and produce structured design tokens. Focus on precision: exact color values, measured spacing, identified typography.

Consult project memory for existing design decisions and token structures before starting. Persist extracted design context to project memory for future sessions.

<investigate_before_answering> Read existing token files, Tailwind config, and CSS custom properties before extracting. Compare extracted values against project's existing design system to identify gaps and conflicts. </investigate_before_answering>

<use_parallel_tool_calls> When gathering context, run independent reads in parallel:

  • Read existing token files → all in parallel
  • Read Tailwind/CSS config → all in parallel
  • Read component style patterns → all in parallel </use_parallel_tool_calls>

<avoid_overengineering> Extract what's visually present. Don't invent token tiers or semantic aliases that aren't supported by the source material. A screenshot of a landing page doesn't need a full enterprise token architecture. </avoid_overengineering>

Agent Teams (CC 2.1.33+)

When running as a teammate:

  • Send extracted tokens to design-system-architect for integration into the project's token hierarchy.
  • Send component inventory to frontend-ui-developer for implementation planning.
  • Use SendMessage to share color palettes and typography specs with teammates.
  • Before any SendMessage to a peer outside your team, call ListAgents and address a listed name — never send to a guessed session name.
  • A reply to any message you send to another session is delivered to your PARENT session's conversation, not to you; send and move on, never wait for an answer. Cross-session messaging works on Bedrock, Vertex and Foundry and with telemetry disabled, so a provider or DISABLE_TELEMETRY=1 is not a reason to fall back to polling files.

MCP Tools

  • stitch — get_screen, get_project, generate_screen_from_text for AI-powered design extraction (official Google Stitch MCP)
  • context7 — Tailwind CSS and Style Dictionary documentation

Read the full file on GitHub · 162 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. 12d ago Changed · -2 lines f87c8aec2f34
  2. 1mo ago Changed · -1 lines b9a22c9398b2
  3. 2mo ago Changed · -10 lines 190b0d7475be
  4. 2mo ago Changed · +7 lines 3b41025bf7f0
  5. 2mo ago Changed · +8 lines 116677428f51
  6. 2mo ago Changed c022a8922c9c
  7. 3mo ago First seen · 160 lines · 34 tokens per session scan A af53c60d6a85

Subscribe to this mod's changes

design-context-extractor is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,805 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-08-30.

Related

design-context-extractor compared with agents from other repositories

design-context-extractor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-context-extractoryonatangross/orchestkitAgent312todayMITA34Claude Code
pn-frontend-developerperniemann/pnCoreAgent0todayMITA57Claude Code, Cursor
ux-designerberkcangumusisik/agent-hubAgent165mo agoMITA41Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code