Skip to content
Development
Command

/icon-lookup

Search for icons by name, or identify a PUA character

BOOST
From plugin
nix-config
4622 skills6 agents2 commands
Install
$ npx -y skills add malob/nix-config --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/icon-lookup

Context preview

What this command does when you run it.

Search for icons by name, or identify a PUA character

Command definition

icon-lookup.md
description: Search for icons by name, or identify a PUA character
argument-hint: "<search query or character>"
allowed-tools: ["Bash", "Read"]

Icon Lookup

Search for icons by name or identify an actual PUA character. Uses the Nerd Fonts icon database.

Instructions

**If the argument contains PUA characters** (codepoints in U+E000-U+F8FF or U+F0000+), identify them:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/identify-icons.py -c "$ARGUMENTS"

**Otherwise**, search by name:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/lookup-icon.py "$ARGUMENTS"

Present results showing:

  • Icon name (e.g., `nf-fa-star`)
  • Codepoint (e.g., `U+F005`)
  • Whether it's in the filtered BMP PUA range (U+E000-U+F8FF) or the working Supplementary PUA-A range (U+F0000+)
  • For filtered icons: placeholder syntax `{{U+F005}}` or `{{nf-fa-star}}`
  • For working icons: note they can be written directly

If no results found, suggest different search terms or the Nerd Fonts cheat sheet.

Examples

  • `/icon-lookup git` → search for git-related icons
  • `/icon-lookup 󰊤` → identify the character (nf-md-github)
Ships withnix-config

This repo contains my Nix configs for macOS and Linux and by extension, configuration for most tools/programs I use, at least in the terminal.

Get the whole plugin

Other commands on nix-config.