Icon Recommendation Skill: Finding SVG Icons for Agents and Products with Iconify API

Introduction

When configuring icons for Skills, MCP services, or small products, a common approach is to open a few icon websites and manually browse, or hardcode names from a particular icon set. Iconify unifies a large number of open-source icon sets into a single HTTP API, but an Agent still needs to know clearly “what to search, which libraries to prioritize, and how to assemble the SVG URL.” The Icon Recommendation Skill (coordinate @user_c9af6e01/iconify-search) bakes the search interface, library priorities, and output format into SKILL.md, so the model can search, recommend, and provide ready-to-use SVG links following a consistent set of rules. This Skill is categorized under design-media on SkillHub and has the tag requires_api_key=false, meaning no additional API key is needed.

What is this

The Icon Recommendation Skill is a community-sourced (community) Agent Skill, currently at version 1.0.0, maintained by publisher user_c9af6e01. In one sentence: it searches, recommends, and retrieves SVG icon resources via Iconify’s public API, suitable for Agents, MCP, Skills, logos, favicons, and related scenarios.

Compared with “remembering a few curl examples yourself,” it locks the supported icon library list, search URL, SVG path rules, and recommendation priorities into the skill description, reducing repeated format explanations in every conversation.

Core features

Based on SKILL.md in the skill package, the verified capabilities include:

  1. Keyword search: Calls Iconify’s search API to find icons by concept keywords.
  2. Multi-icon-set coverage: The libraries listed in the docs include Lucide, Tabler Icons, Material Symbols, Material Design Icons (MDI), Phosphor, Carbon, Simple Icons, Boxicons, and Heroicons.
  3. Direct SVG links: Generates URLs in the form https://api.iconify.design/{prefix}/{name}.svg based on the prefix:icon-name convention.
  4. Recommendation priority: When multiple candidates exist, prefer lucide → tabler → material-symbols → mdi → ph → simple-icons.
  5. Structured output: Requires returning the icon name, SVG URL, and recommendation reason (the docs provide examples such as lucide:bot and tabler:robot).

The argument-hint in the skill metadata is [keyword], indicating that the typical trigger is to use it with a search term.

Installation and activation

There are two installation methods published on SkillHub. After installation, ensure that the current Agent can read the corresponding skills directory (some clients may require a restart to take effect).

Method 1: SkillHub CLI

First, check whether the CLI is already installed on your machine (see SkillHub installation instructions):

command -v skillhub && skillhub --version

When installing the Icon Recommendation Skill, you must use --dir to point to the current Agent’s skills directory; otherwise it will default to ./skills/ and may not be recognized. A common Cursor path is ~/.cursor/skills/.

skillhub install iconify-search --namespace user_c9af6e01 --dir ~/.cursor/skills/

When searching to verify, the CLI will display the coordinate @user_c9af6e01/iconify-search along with the installation command of the same name.

Method 2: Let the AI install it using the official instruction

The prompt provided on the SkillHub skill page is: Please refer to https://skillhub.cn/install/skillhub.md to install @user_c9af6e01/iconify-search.

Send the above to an Agent that supports Skill installation, and let it complete the CLI check, download, and directory configuration according to the documentation.

Skills directories for various clients (excerpt)

The following paths come from the SkillHub installation documentation; choose one according to the client you actually use:

Client skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

For tools not listed separately in the official documentation, use the tool’s own skills path as the standard, and align the --dir in the installation command with it.

Typical usage

The skill description keeps the interface and URL rules concise, so you can reproduce them directly.

1. Search icons

Request the search API in a browser or terminal, replacing query with your keyword:

https://api.iconify.design/search?query=关键词

For example, when searching for icons related to “robot,” set query to robot (the actual results depend on Iconify’s live response).

2. Assemble the SVG URL

Icon names use the prefix:name format. As an example in the documentation: lucide:bot corresponds to:

https://api.iconify.design/lucide/bot.svg

Another example: tabler:robot corresponds to:

https://api.iconify.design/tabler/robot.svg

3. Trigger the Skill in a conversation

After enabling this Skill, describe the scenario in natural language, for example: “Find a robot icon for an MCP service, prioritize Lucide, and provide the SVG link.” The model should return the name, URL, and a brief recommendation reason according to the recommendation priorities and output requirements in SKILL.md.

Use cases and considerations

Who it is for

  • Developers who are selecting icons for Agents, MCP services, Skill metadata, or website favicons.
  • Teams that want to standardize on Iconify without writing search and URL rules manually each time.

Limitations and notes

  • The capability boundary is defined by the skill package’s SKILL.md; do not assume that features not promised in the documentation (such as local batch packaging or framework component code generation) are included in this Skill.
  • Icon copyrights and licenses vary by icon set. Before using them in brand logos or external products, verify the license in the corresponding Iconify icon set documentation.
  • SkillHub page statistics (as of the time this material was captured): rating 100000, downloads 1646; refer to the SkillHub skill page as the authoritative source, and note that the numbers may change over time.
  • It depends on Iconify’s public service; in offline or network-restricted environments, assess availability accordingly.

Conclusion

The Icon Recommendation Skill encapsulates Iconify search and direct SVG link rules into an Agent-executable specification, making it suitable for quickly finalizing icons in Skills, MCP services, and small front-end resource scenarios. Official entry point: SkillHub skill page; API resource URL: https://api.skillhub.cn/user_c9af6e01/iconify-search.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye