SponsoredSkillry: Agent Skills with taste. Designed and tested in-house, so one prompt gives you polished slides, web pages and launch videos.Skillry: Agent Skills with taste Try free Skills
Agent Skills
  • Skills
  • Picks
  • ShopSoon
  • Solutions
  • Specification
  • Submit
Agent Skills
Agent Skills

Discover and share powerful Agent Skills for AI assistants

GitHubX (Twitter)
Skills
  • View All
  • Install Guide
  • Documentation
  • Solutions
  • Product Launch Video
  • Submit
Tools
  • Claude Code
  • Cursor
  • OpenCode
  • Codex CLI
  • Gemini CLI
Resources
  • anthropics/skills
  • awesome-claude-skills
  • vercel-labs/agent-skills
  • kepano/obsidian-skills
Company
  • About
  • Blog
  • Authors
  • Changelog
  • Privacy Policy
  • Terms of Service

Sponsored by Vectrust @ OpenDev Org & NextRouter Alliance

© 2026 EvergreenAI. Built with JimmyLv
better-icons - Agent Skill - Agent Skills
Home/Skills/better-icons

better-icons

206

Use when working with icons in any project. Provides CLI for searching 200+ icon libraries (Iconify) and retrieving SVGs. Commands: `better-icons search <query>` to find icons, `better-icons get <id>` to get SVG. Also available as MCP server for AI agents.

Download FolderView on GitHub

CLI Install

Recommended

Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.

Method 1 - skills CLI

npx skills i better-auth/better-icons/skills

Method 2 - openskills (supports sync & update)

npx openskills install better-auth/better-icons

Auto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.

Installation Path

Download and extract to one of the following locations:

~/.claude/skills/better-icons/
SKILL.md

Skill Instructions

Back

Run with Cloud Agent

No setup needed. Let our cloud agents run this skill for you.

Select Provider

Select Model

ClaudeClaude Sonnet 5.5
$0.20/task

Best for coding tasks

Join Cloud Agent Waitlist

No setup required

Before you install

Read from this skill's files on GitHub on 2026-11-09. These are facts about the files, not a review of how well the skill works.

Files
1 file, 0 scripts, SKILL.md is 470 words
Needs on your machine
Node.js, Bun
Web addresses in its scripts
No URLs in its scripts
Worth a look before running
No sudo, rm -rf, curl | sh or shell=True in its scripts
Agent Skills spec
name differs from the folder name
Last upstream change
2026-04-02

We ran this skill ourselves. Here is what went in and what came out.

Field noteRan on 2026-11-22

Claude Code 2.1.329, claude-opus-5-5, headless, 61s. Claude picked the skill on its own from a plain prompt. How we test skills

The four files Claude saved, and on the right the raw output of better-icons get lucide:settings rendered in red.
The four files Claude saved, and on the right the raw output of better-icons get lucide:settings rendered in red.
Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.
Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.

Input

Empty folder. Prompt: gear, bell, lock and log out SVGs from one icon set, saved as icons/<name>.svg, and say which ids were used.

Output

npm install -g better-icons, then better-icons search and get for lucide:settings, lucide:bell, lucide:lock, lucide:log-out. Final files are outline SVGs from api.iconify.design.

What happened

better-icons get returned the gear and lock with fill="currentColor" on the inner path, which renders Lucide's outline icons as solid shapes. Claude noticed and replaced all four with the Iconify API copies. We reproduced it: npx better-icons get lucide:settings still adds that fill (the red shape in the screenshot).

Use it when

Finding icon ids across Iconify sets quickly from the terminal.

Skip it when

Saving SVGs straight from get without looking at them. Check outline sets for the stray fill.

Better Icons

Search and retrieve icons from 200+ libraries via Iconify.

Installation

Before using any better-icons commands, ensure the tool is available in the environment.

Option 1 — Install globally (recommended, matches all examples below):

# Using npm
npm install -g better-icons
 
# Using Bun (faster)
bun add -g better-icons

Option 2 — Run without installing (prefix every command with npx or bunx):

# Using npx (npm)
npx better-icons search arrow --limit 10
npx better-icons get lucide:home > icon.svg
 
# Using bunx (Bun — faster)
bunx better-icons search arrow --limit 10
bunx better-icons get lucide:home > icon.svg

For AI agents: Prefer the global install so that better-icons is on $PATH and the commands below work as-is. Run the install step once during environment setup, then use the commands without npx/bunx.

CLI
# Search icons
better-icons search <query> [--prefix <prefix>] [--limit <n>] [--json]
 
# Search and download all found icons as SVG files
better-icons search <query> -d [dir] [--color <color





Examples
better-icons search arrow --limit 10
better-icons search home --json | jq '.icons[0]'
better-icons get lucide:home > icon.svg
better-icons get mdi:home --color '#333' --json
 
# Batch download all search results
better-icons search arrow -d              # saves to ./icons/

Icon ID Format

prefix:name - e.g., lucide:home, mdi:arrow-right, heroicons:check

Popular Collections

lucide, mdi, heroicons, tabler, ph, ri, solar, iconamoon


MCP Tools (for AI agents)
ToolDescription
search_iconsSearch across all libraries
get_iconGet single icon SVG
get_iconsBatch retrieve multiple icons
list_collectionsBrowse available icon sets
recommend_iconsSmart recommendations for use cases
find_similar_iconsFind variations across collections
TypeScript Interfaces
interface SearchIcons {
  query: string
  limit?: number        // 1-999, default 32
  prefix?: string       // e.g., 'mdi', 'lucide'
  category?: string     // e.g., 'General', 'Emoji'
}
 
interface GetIcon {






















API

All icons from https://api.iconify.design

>
] [--size
<
px
>
]
# Get icon SVG (outputs to stdout)
better-icons get <icon-id> [--color <color>] [--size <px>] [--json]
# Setup MCP server for AI agents
better-icons setup [-a cursor,claude-code] [-s global|project]
better-icons search check -d ./my-icons # saves to ./my-icons/
better-icons search star -d -c '#000' -s 24 --limit 64
sync_iconAdd icon to project file
scan_project_iconsList icons in project
icon_id
:
string
// 'prefix:name' format
color?: string // e.g., '#ff0000', 'currentColor'
size?: number // pixels
}
interface GetIcons {
icon_ids: string[] // max 20
color?: string
size?: number
}
interface RecommendIcons {
use_case: string // e.g., 'navigation menu'
style?: 'solid' | 'outline' | 'any'
limit?: number // default 10
}
interface SyncIcon {
icons_file: string // absolute path
framework: 'react' | 'vue' | 'svelte' | 'solid' | 'svg'
icon_id: string
component_name?: string
}