better-icons Skill Review: A 3,584-Byte Icon Card and an Open Write-Path Report

The whole skill is one file, skills/SKILL.md, at 3,584 bytes. It teaches an agent to call the better-icons CLI and MCP server, which search Iconify's catalog of 200+ icon libraries and return SVG. The repository is at 1,459 stars under an MIT license, and its last push was on 2026-04-02.

TL;DR / Key Takeaways

  • The better-icons skill is one SKILL.md of 3,584 bytes in the better-auth/better-icons repository. The repo ships no other skill file.
  • Dividing the file size by four gives about 896 estimated context tokens. That is file-size arithmetic, not a measured session.
  • The repository has 1,459 GitHub stars, 64 forks, 2 open issues, and an MIT license.
  • Public discussion is thin. One Show HN post has 3 points and 0 comments, and three outside GitHub issues have no comment in the tracker.
  • The open issue #18 reports that the sync_icon tool writes to any absolute path it is given and does not validate the component name it inserts into source code.

What the skill actually says

The frontmatter description tells the agent when to load the skill: "Use when working with icons in any project." The install section then carries the one instruction that matters most for agents:

For AI agents: Prefer the global install so that better-icons is on $PATH and the commands below work as-is.

After that the file lists CLI commands such as better-icons search <query> and better-icons get <icon-id>, an icon ID format (prefix:name, for example lucide:home), and a table of eight MCP tools. One of those tools, sync_icon, writes to the user's project. The table describes sync_icon as "Add icon to project file" and does not say that the tool creates missing directories or appends to an existing file.

What it costs you in context

The skill file is 3,584 bytes. Using the common rule of about four bytes per token for English text, 3,584 / 4 = 896 estimated tokens. That number is arithmetic from file size. We did not load the skill into a model, and we did not run it through our own API, so no measured figure appears here. The MCP server the skill describes is a separate source of context weight that this estimate does not cover.

What the community reports

SourceDateWhat was reportedLink
Hacker News, Show HN2026-01-22Launch post "Skill & MCP server for searching and retrieving 200k+ icons". 3 points, 0 comments.item 46715798
GitHub issue #22026-01-22 (closed)Reporter says npx better-icons setup writes the MCP entry to ~/.claude/settings.json, while Claude Code reads ~/.claude.json. Manual workaround posted. No comment in the thread.issue #2
GitHub issue #112026-03-16 (open)User writes, in Chinese, that no icons appear in what they see and asks how the tool is meant to be used. No reply.issue #11
GitHub issue #182026-05-28 (open)Security report: sync_icon accepts an absolute icons_file path without confinement, and inserts component_name into generated source without identifier validation. No comment.issue #18

We found no public praise for the skill in these sources. The Show HN post drew no comments. The reports that exist are about setup friction and an unanswered security concern.

On issue #18, we read the writer in src/project-sync.ts. It creates missing parent directories with a recursive mkdirSync, reads the target file, appends the generated component, and writes it back with writeFileSync. A caller-supplied component_name goes to the generator without an identifier check on that path. We did not run the tool, so the injection claim is unreproduced.

How to install it

These commands come from the repository README and the skill file.

# Enable the skill for your agent (the form the README uses in its examples)
npx skills add better-auth/better-icons

# Or install the CLI globally, which the skill recommends for agents
npm install -g better-icons
# or
bun add -g better-icons

# Configure the MCP server for your AI coding agent
npx better-icons setup

The skill's own examples call better-icons search arrow --limit 10 and better-icons get lucide:home > icon.svg. Issue #2 is the one to read before running setup with Claude Code. Check the config file it writes.

Where it earns its keep, and where it doesn't

It earns its keep as a short command reference. The CLI options it names, such as --prefix, --limit, --json, --color, and --size, match the README examples. An agent that already has the package installed gets a fixed ID format and a few working commands instead of guessing icon names.

It does not earn its keep on writes. The skill is a reference card, and it never says what sync_icon writes or where. The repo's own issue tracker has a report on exactly that gap, and the skill text does not answer it.

Three more problems:

The main criticism: the skill asks an agent to run a third-party package and to write into project files, and it says nothing about the scope of those writes. If you let an agent use sync_icon, point it at a directory you control, and review the generated file before it is imported.

FAQ

What does the better-icons skill do?

It teaches an agent the better-icons CLI and MCP tools for searching icons across 200+ Iconify libraries and fetching them as SVG. The skill file is 3,584 bytes.

How much context does it use?

About 896 estimated tokens by the bytes-divided-by-four rule. That is file-size arithmetic. We did not measure a session.

How do I install it?

Run npx skills add better-auth/better-icons, or install the CLI globally with npm install -g better-icons or bun add -g better-icons.

Is it safe to let an agent use sync_icon?

Read issue #18 first. It reports that sync_icon writes to any absolute path it receives and inserts the component name without validation. We confirmed the write path in the source and did not run the reported injection. Until the maintainers respond, limit the agent to search and get, or review any file the tool writes before you import it.

Skill and CLI from the better-auth/better-icons repository, MIT licensed (GitHub license field: MIT). Source reviewed: skills/SKILL.md, last commit to that path 2026-04-02. Review date: 2026-11-05. Community reception shifts over time, so the signals above reflect the date of this review. Quoted lines are short excerpts for review purposes.