sigil-migration

sigil-migration is a skill for Claude Code, Codex from Kevin-Liu-01/Sigil-UI. It costs 4 tokens per session (1,819 once invoked), scanned A, original, MIT.

Guidance for moving a project from shadcn/ui, a collection of reusable React interface components, to Sigil UI. It covers checking the existing project and choosing a full, gradual, or tokens-only migration.

In plain words
What is it for?
Use it to replace shadcn components, adopt Sigil gradually, keep both systems during a transition, or map shadcn CSS variables to Sigil tokens.
Why use it?
It helps preserve existing functionality while replacing the component or styling system. The audit step shows what is in use before changes begin.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to replace shadcn components, adopt Sigil gradually, keep both systems during a transition, or map shadcn CSS variables to Sigil tokens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-liu-01/sigil-ui/sigil-migration
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 Kevin-Liu-01/Sigil-UI --skill sigil-migration
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Sigil-UI

Made for: Claude Code, Codex.

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 sigil-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-migration/github.svg)](https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-migration)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-migration"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-migration/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 sigil-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-migration"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,819 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.00004 $0.01819
Opus 5.5 $0.00002 $0.00728
Sonnet 5.5 $0.00001 $0.00364
Haiku 4.5 $0.00000 $0.00182

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

Security

Grade A, and why

sigil-migration 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/sigil-migration/SKILL.md · 223 lines

How it starts

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

Sigil Migration

Migrate a project from shadcn/ui to Sigil UI while preserving functionality and improving design coherence.

When to Use

  • User asks to migrate from shadcn to Sigil
  • User says "replace shadcn", "switch to sigil", "migrate"
  • User has a shadcn-based project and wants Sigil's token system
  • User wants to gradually adopt Sigil alongside existing shadcn components

How to Use

1. Assessment

Before migrating, audit the existing project:

# Count shadcn components in use
ls src/components/ui/

# Check for shadcn config
cat components.json

# Find all shadcn token references (cn, cva, class-variance-authority)
rg "from.*class-variance-authority" --files-with-matches
rg "from.*@/lib/utils" --files-with-matches

2. Migration strategy

Choose one:

A. Full swap — replace all shadcn components at once. Best for small projects (<10 components).

B. Incremental — migrate one component at a time. Both systems coexist. Best for large projects.

C. Tokens-only — keep shadcn components but replace the CSS variable layer with Sigil tokens. Fastest path.

3. Token mapping

Map shadcn CSS variables to Sigil equivalents:

shadcn variable Sigil variable
--background --s-background-light/dark
--foreground --s-text-light/dark
--card --s-surface-light/dark
--card-foreground --s-text-light/dark
--primary --s-primary
--primary-foreground (compute: white/black based on L)
--secondary --s-secondary
--muted --s-surface-light/dark
--muted-foreground --s-text-muted-light/dark
--accent --s-primary-muted
--destructive --s-error
--border --s-border-light/dark
--input --s-border-light/dark
--ring --s-border-interactive
--radius --s-radius-md

Read the full file on GitHub · 223 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. 1mo ago First seen · 223 lines · 4 tokens per session scan A 1ea9869bf468

Subscribe to this mod's changes

sigil-migration is a skill published in the GitHub repository Kevin-Liu-01/Sigil-UI (10 stars, last pushed 7d ago), licensed MIT. It adds 4 tokens to every session and 1,819 once invoked, about $0.0000 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-31.

Related

Other skills, from other repositories

ss-learn

Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or brand data. Use when a person asks StyleSeed to remember, learn from, generalize, review, or prepare a reusable rule…

bitjaru/styleseed · 73 tokens

ui-components

UI component library patterns for shadcn/ui and Radix Primitives. Use when building accessible component libraries, customizing shadcn components, using Radix unstyled primitives, or creating design system foundations.

yonatangross/orchestkit · 44 tokens

s2-docs

Look up Spectrum 2 (S2) component documentation, design guidelines, and usage patterns when building with React Spectrum or Spectrum Web Components. Use when the user mentions Spectrum, S2, React Spectrum, RSP, Spectrum Web Components, or SWC, or names a Spectrum component (Button, Picker, ComboBox, TextField…

adobe/spectrum-design-data · 91 tokens

7onic-setup

Detect, configure, and verify a project for the 7onic Design System — framework/Tailwind detection, token CSS wiring, and an idempotent health check. Run after installing @7onic-ui packages, after npx 7onic init, or whenever styles look wrong.

itonys/7onic · 63 tokens

7onic-design

Build UI with the 7onic Design System the right way — guided workflow that drives the 7onic MCP tools (component discovery, token resolution, layout recipes, validatecode loop) from a plain-language request like "SaaS dashboard" or "pricing page". Queries work in English, Japanese, and Korean.

itonys/7onic · 68 tokens

design-system-architecture

Build scalable design systems with design tokens, component APIs, and documentation. Use when creating or evolving component libraries.

NickCrew/Claude-Cortex · 27 tokens