Loading...
Loading...
Illustrate an article (Markdown, HTML, etc.) with animated-style icons from itshover.com/icons. Fetches icons as clean inline SVG and places them at section headings, key concepts, lists, and callouts. Triggers on: /article-icons, 配图, 给文章配图标, add icons to article, illustrate with icons.
npx skill4agent add smallnest/goal-workflow article-iconsmotion/article-icons <file>.md.html.mdxscripts/fetch_icon.py# Get one icon (defaults: size 24, color currentColor, stroke-width 2)
python3 scripts/fetch_icon.py heart-icon
# Customize
python3 scripts/fetch_icon.py rocket-icon --size 32 --color "#d97757" --stroke-width 1.5
# Discover names (do this FIRST — names must match exactly)
python3 scripts/fetch_icon.py --list
python3 scripts/fetch_icon.py --search arrow
python3 scripts/fetch_icon.py --search brandscripts/icon_names.json-iconheart-iconrocket-icondatabase-iconbrand-<name>-iconbrand-anthropic-iconshield-checkcredit-carddown-chevronapple-brand-logoskull-emoji--search###<h1><h2>rocket-iconzap-iconshield-iconlock-iconalert-triangle-icon--searchfetch_icon.py<h2 style="display:flex;align-items:center;gap:.5rem;">
<svg ...>...</svg> Performance
</h2>## <svg ... width="22" height="22" ...>...</svg> Getting Startedassets/icons/h1h2h3currentColor--colordisplay:flex;align-items:center;gap:.4–.5rem--search| Theme | Real icon names |
|---|---|
| intro / overview | |
| performance / speed | |
| security | |
| data / charts | |
| settings / config | |
| warning / note | |
| success / done | |
| ideas | |
| AI / brands | |
| navigation | |
| Scenario | Handling |
|---|---|
| Icon name not found (404) | Run |
| Icon won't convert (rare; ~2/263 use a JS map for paths) | Script prints a clear error. Pick an alternative icon with similar meaning. |
| No network access | Cannot fetch SVGs; tell the user the skill needs network access to itshover.com. |
| Markdown renderer strips inline SVG | Fall back to |
| Article already has icons | Ask whether to replace, supplement, or skip those sections. |
| Very long article | Confirm the mapping for the first few sections, then apply the same family consistently throughout. |
--search--list