design-sync

design-sync is a skill for Claude Code from asgeirtj/system_prompts_leaks. It costs 56 tokens per session (6,421 once invoked), scanned A, original, CC0-1.0.

A converter and uploader for a React design system, a shared library of interface components and visual rules, to Claude Design. It sends the compiled components, styles, fonts, and design tokens so generated interfaces can use the real library.

In plain words
What is it for?
Use it to sync a design-system repository to Claude Design and make its components, styles, fonts, and tokens available to the design agent.
Why use it?
It reduces the gap between a design prototype and the components engineers actually maintain. Designs can be based on the project's existing parts instead of generic substitutes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to sync a design-system repository to Claude Design and make its components, styles, fonts, and tokens available to the design agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/design-sync
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 70,275 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill design-sync
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/design-sync"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/design-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,421 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 63
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00056 $0.06421
Opus 5.5 $0.00022 $0.02568
Sonnet 5.5 $0.00011 $0.01284
Haiku 4.5 $0.00006 $0.00642

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

Security

Grade A, and why

design-sync 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 3d ago.

The scan reads SKILL.md. This mod also ships 23 executable files (lib/bundle.mjs, lib/common.mjs, lib/css-fallback.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Anthropic/claude-code/skills/design-sync/SKILL.md · 138 lines

How it starts

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

Before anything else, tell the user this, as written: "Standalone Claude Design (claude.ai/design) closes by December 14, 2026. Claude Design now lives in Claude." Then carry on.

Sync a design system to claude.ai/design

What this is for

Claude Design (claude.ai/design) is Claude's design tool: users prompt a design agent and it builds working UI - screens, flows, prototypes - rendered live in the browser from real React code. Out of the box it designs with generic components. This skill changes that: it converts the user's design-system repo into the format Claude Design consumes and uploads it, so from then on the design agent builds with the customer's actual components - every design it produces is on-brand, made of their real parts, and maps 1:1 onto code their engineers can ship.

That framing should drive every judgment call in this skill, because each uploaded artifact is an input to that agent (or to the humans steering it):

Uploaded artifact Consumed by For
_ds_bundle.js + _vendor/ the design agent's runtime every design it produces renders these real compiled components from window.<globalName>.*
styles.css, fonts/, tokens/, _ds_bundle.css every rendered design the look - tokens, fonts, and component styles, all reachable from styles.css's @import closure (designs receive only that closure)
<Name>.d.ts (<Name>Props) the design agent the API contract it codes against
<Name>.prompt.md the design agent its usage reference - how to compose the component, with examples
<Name>.html preview card humans in the component picker how they find components and trust the sync
_ds_sync.json future syncs the sync anchor - content hashes that let a re-sync (any machine) skip re-verifying unchanged components AND compute exactly what to upload/delete

This is why fidelity is the whole game: a component that renders wrong here renders wrong in every design the agent ever builds with it, and a wrong .d.ts or misleading .prompt.md makes the agent misuse the API everywhere. The verification loops in the sub-skills exist because of this - they are not bureaucracy.

Read the full file on GitHub · 138 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. 3d ago Changed · +2 lines 2d60f09f3027
  2. 26d ago Changed · +8 lines d046a33be5d8
  3. 1mo ago First seen · 128 lines · 56 tokens per session scan A 46763c9ea2f2

Subscribe to this mod's changes

design-sync is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (70,275 stars, last pushed yesterday), licensed CC0-1.0. It adds 56 tokens to every session and 6,421 once invoked, about $0.0002 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.