# Findicon

> Search, preview, and resolve Nerd Fonts codepoints for C++ and ImGui using the findicon CLI.

Findicon is a free AI agent skill on Agensi by 毒カレー, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [毒カレー](https://www.agensi.io/creators/poicurr)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/findicon
- Tags: ui-ux, api, cpp, imgui, nerd-fonts

## About this skill

Finding the right icon for a user interface should not require guessing Unicode codepoints or relying on an AI model's memory. FindIcon combines an offline, native C++20 CLI with an agent skill that searches Nerd Fonts, renders actual glyphs into PNG preview sheets, and retrieves exact Unicode codepoints and UTF-8 byte sequences.

Instead of simply recommending an icon by name, the agent can visually inspect and compare real glyphs at the intended UI size before selecting one.

### What it does

- **Multi-family search** — Searches thousands of Nerd Fonts icons using ranked keyword matching and family filters.
- **Visual preview generation** — Rasterizes actual font glyphs into numbered PNG contact sheets, displaying both enlarged and actual-size samples.
- **Glyph validation** — Detects unsupported and clipped glyphs in the generated previews.
- **Visual comparison** — Enables agents to evaluate icon shape, clarity, visual weight, and stylistic consistency.
- **Exact codepoint resolution** — Retrieves icon IDs, Unicode codepoints, and UTF-8 byte sequences from a versioned local catalog.
- **Custom font support** — Generates previews using the actual font and pixel size intended for the target application.
- **C++ and ImGui integration** — Guides agents in generating accurate UTF-8 string literals and handling font atlas requirements.

### How it works

1. **Search** — Use `findicon search` to retrieve a ranked shortlist of candidates.
2. **Render** — Use `findicon preview` to generate a PNG contact sheet and its corresponding JSON manifest.
3. **Inspect** — Open the generated image and visually compare the actual glyphs at the intended UI size.
4. **Select** — Choose a suitable icon and verify that it is supported and unclipped.
5. **Resolve** — Retrieve the exact icon ID, codepoint, and UTF-8 bytes from the corresponding JSON entry and confirm the selection with `findicon info`.
6. **Implement** — Provide the verified icon information in a format appropriate for the target programming language or UI framework.

### Frameworks & tools

FindIcon is implemented in C++20 and uses FreeType and libpng for CPU-based glyph rasterization and PNG generation.

Although the skill provides specific guidance for C++ and Dear ImGui, the CLI is independent of any programming language or UI framework.

Once built, FindIcon operates entirely offline. It requires no GPU, browser, display server, Python runtime, external API, or MCP server.

### Why use FindIcon instead of prompting an AI directly?

AI models can generate incorrect Unicode codepoints, reference nonexistent icons, or confuse glyph mappings between font versions.

FindIcon replaces these assumptions with verifiable data and actual rendered images.

The agent does not need to imagine what an icon looks like. It can inspect the real glyph, compare alternatives, and retrieve its exact codepoint from the same preview's JSON manifest.

### Use cases

- Selecting icons for toolbars, sidebars, menus, and editor interfaces.
- Comparing filled and outlined icons at actual UI sizes.
- Maintaining consistent icon styles across an application.
- Investigating missing or clipped glyphs.
- Generating C++ icon constants with accurate UTF-8 byte sequences.
- Comparing glyph readability at different pixel sizes.
- Inspecting glyphs using a project's actual UI font.

### Requirements & limitations

- The native FindIcon executable and its accompanying assets must be available.
- Building from source requires a C++20 compiler, CMake 3.24 or newer, and a compatible build tool.
- Network access is required for initial dependency retrieval when building with the default configuration.
- Visual selection requires an agent capable of opening and inspecting generated PNG images.
- FindIcon verifies glyph rendering in its own previews, not within the final application.
- The skill discourages unnecessary dependency installation or changes to the user's global environment.

### License

FindIcon and its agent skill are free and open-source under the MIT License.

Bundled fonts and third-party components retain their respective licenses. Consult `THIRD_PARTY.md` for applicable notices and redistribution requirements.

## Requires

- Python
- Git

## Known limitations

Requires findicon CLI and assets on PATH or in a known checkout. Build requires CMake 3.24+ and C++20. Visual verification depends on environment support for image viewing.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Findicon skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Findicon prevent the common issue of icons appearing as question marks or empty boxes in ImGui?

Findicon solves the problem of "broken icons" and Unicode hallucinations by using a local CLI to verify that chosen Nerd Fonts glyphs actually exist and will render correctly in your C++ UI code. It provides verified UTF-8 literals and visual previews, ensuring what you see in the design phase matches the final build.

### Which AI agents and development environments are supported?

This skill is compatible with any AI agent that has file system access and image viewing capabilities. It is specifically optimized for developers using C++20 and Dear ImGui, though the codepoint resolution works for any environment supporting Nerd Fonts.

### What exactly is included in the purchase?

The package includes the Findicon skill manifest for your AI agent, the source code for the `findicon` CLI utility, and a pre-indexed metadata catalog of Nerd Fonts icons. You also receive integration templates for CMake to easily incorporate the tool into your existing build pipeline.

### Can I preview how an icon will look at a specific pixel size before adding it to my code?

Yes, the skill allows you to generate PNG preview sheets at specific pixel sizes (e.g., 16px or 24px). This is crucial for ImGui developers to ensure an icon's line weight and detail remain legible at the target UI scale before committing to a codepoint.

### What are the technical requirements for the initial setup?

You will need a C++20 compliant compiler and CMake 3.24 or higher to build the local CLI component. Once built, the AI agent uses this local executable to perform searches and generate previews without needing external API calls.

### How are updates handled when Nerd Fonts releases a new version or new icons?

Updates are released periodically to sync with new Nerd Fonts versions or to add support for additional icon libraries. As a buyer, you will have access to updated metadata catalogs and CLI refinements through the marketplace's update system.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
