/sf-symbols-kit:sf-symbolsfrom SF Symbols
Work with Apple SF Symbols end to end: find or look up symbols, browse them in an HTML gallery, check availability and keywords, export clean SVGs at any weight, or create a custom SF Symbol from the user's own SVG art (template conversion, export, validation). Also for SF Symbols design questions: rendering modes, variable color, weights/scales, animations. Triggers on "SF Symbol", "Apple/system icons", "convert this SVG to an SF Symbol".
Ships in SF Symbols. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One bundled CLI does everything: scripts/sf_symbols.py (paths relative to this
skill's directory). Lookup commands need only the Python stdlib; rendering
commands need macOS + PyObjC and import it lazily.
python3 scripts/sf_symbols.py <subcommand> --help # every flag, per subcommand
| Subcommand | What it does | Needs |
|---|---|---|
search <query> | Rank symbols by name/keyword/category match | stdlib |
list | Enumerate symbols (--category, --contains, --starts-with) | stdlib |
info <name> | Year, min OS per platform, keywords, categories, aliases | stdlib |
categories | Category keys + display names + counts | stdlib |
custom <art.svg> | Wrap arbitrary SVG art into a custom-symbol template | stdlib |
validate-template <file> | Structural lint for a symbol template SVG | stdlib |
import <file> | Validate a template, then import it into the SF Symbols app | macOS |
svg <name> | One symbol as a clean single-path SVG (--weight, --scale) | PyObjC |
build-all | Batch-export to OUT/<weight>/<name>.svg | PyObjC |
gallery | Filterable, click-to-copy HTML gallery | PyObjC |
template <name> | Editable custom-symbol template of a system symbol | PyObjC |
Requirements: metadata is read live from the installed SF Symbols app
(/Applications/SF Symbols.app); override with --metadata-dir or
SF_SYMBOLS_METADATA_DIR. Rendering needs pip install pyobjc-framework-cocoa
(the CLI prints this hint itself if missing) — prefer a venv that already has it.
Apple's curated keywords cover ~3,200 symbols, so lexical search works well — but expand the user's phrasing into synonyms yourself before giving up:
search with the user's words: search "coffee mug" → mug,
cup.and.saucer, cup.and.heat.waves (with matched-on reasons per hit).--limit 40.gallery --search "<query>" --out /tmp/symbols.html and open it.svg) or show info for the chosen one.Name conventions help searching: style suffixes like .fill, .circle,
.slash are separate catalog entries; localized (.ar, .hi, …) and .rtl
mirror variants are excluded by default (include with --all-variants). The
full name grammar (modifier ordering, badges, enclosures) is in
references/naming-conventions.md.
svg <name> --weight bold --out heart.svg emits a tight-viewBox, single-path
SVG with fill="currentColor" — recolorable via CSS or a THREE.js material.
All 9 weights (ultralight…black) and 3 optical scales work. For full icon
sets use build-all --out DIR --weights regular bold (or --weights all);
existing files are skipped unless --force, so reruns are resumable.
The conversion pipeline targets Apple's documented template format (https://developer.apple.com/documentation/uikit/creating-custom-symbol-images-for-your-app):
custom art.svg --out my.symbol.svg fits the art to the symbol cap-height
box and emits a variable template (interpolation masters Ultralight-S,
Regular-S, Black-S — identical copies, so every weight renders the same
until a designer refines the masters in a vector editor). --static emits a
single Regular-M instead; --scale 1.2 makes the art 20% larger relative
to cap height (useful optical compensation for round shapes).rect/circle/ellipse/polygon/polyline + transforms automatically and
fails with actionable guidance on strokes, gradients, text, or clip paths
(most need one "outline/expand" step in the user's vector editor first).template <system-symbol> --out base.svg exports an editable template of an
existing symbol — Apple's recommended starting point for a new design.validate-template <file> lints structure (required template-version note,
layers, variant ids, master path-count/control-point parity). Authoritative
validation: the SF Symbols app (File > Validate Templates) or an Xcode asset
catalog import; xcrun actool compile also works headlessly.Getting it into the SF Symbols app is automated: custom … --import (or
import <file> for a template edited elsewhere) validates the file and hands
it to the app via open -a "SF Symbols" — the app registers as an SVG viewer
and treats an opened SVG as a custom-symbol import, no dialogs. The filename
stem becomes the symbol's display name (--out my.bolt.svg → my.bolt), so
choose the symbol's final name first — follow the system grammar in
references/naming-conventions.md
(lowercase dotted, base first, .fill-style modifiers after). Color annotations
(multicolor/hierarchical/variable color) are applied afterwards in the SF
Symbols app GUI — the emitted template is monochrome v3.0 (iOS 15+).
Using it in an app. In Xcode, select the asset catalog → Editor ▸ Add New
Asset ▸ Symbol Image Set, and drag the SVG into the Symbol SVG well (Xcode
re-validates it). Reference it in code by its asset name with the named
initializer, not systemName — Image("voltlight.bolt") (SwiftUI),
UIImage(named: "voltlight.bolt") (UIKit), NSImage(named:) (AppKit).
systemName / Image(systemName:) resolve only Apple's system symbols, so a
custom symbol loaded that way comes back nil. Full per-framework snippets are in
references/custom-symbol-design.md.
Distilled SF Symbols domain knowledge — Apple's HIG and template-format article plus empirical catalog analysis. Read the matching one before answering design questions; don't guess from general knowledge:
| Reference | Read when… |
|---|---|
| naming-conventions.md | predicting/explaining a symbol name, or naming a custom symbol and its output file |
| rendering-modes.md | choosing monochrome/hierarchical/palette/multicolor, gradients, or variable rendering; pre-annotation advice |
| weights-scales-variants.md | picking a weight/scale, or outline vs fill vs slash vs enclosed for a UI context |
| custom-symbol-design.md | any custom-symbol work beyond mechanically running custom — design rules, template anatomy, version targeting, import/validation failures |
| animations.md | recommending how a symbol should animate or use Variable Draw for status, feedback, or progress |
When exporting symbol artwork, remind the user once: Apple licenses SF Symbols
for use "as is" in apps for Apple platforms per the Xcode/SF Symbols agreements;
symbols may not be used as app icons, logos, or trademarks, and some symbols
representing Apple features/devices have usage restrictions (the info command
and the SF Symbols app flag these contexts). Custom symbols made from the
user's own art carry no such restriction.
evals/evals.json (opens in a new tab)evals/files/voltlight-mark.svg (opens in a new tab)evals/trigger_eval.json (opens in a new tab)references/animations.md (opens in a new tab)references/custom-symbol-design.md (opens in a new tab)references/naming-conventions.md (opens in a new tab)references/rendering-modes.md (opens in a new tab)references/weights-scales-variants.md (opens in a new tab)scripts/sf_render.py (opens in a new tab)scripts/sf_symbols.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
sf-symbols-kit@cypherpoet-toolchest is listed by cypherpoet/cypherpoet-toolchest — review the source before installing
npx claudepluginhub cypherpoet/cypherpoet-toolchest --plugin sf-symbols-kit