add-icon — Claude Code skill: what it does, how to install
Finds and inserts Font Awesome icons into your codebase according to your active framework and setup.
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a claude-codeWhat add-icon does
This skill inserts Font Awesome icons using concepts or direct names. It inspects your repository to match your implementation style, whether that means React components, raw SVG or CDN tags. First, it looks for the official fa CLI on your PATH. If missing, it runs bundled Python scripts instead.
The tool reads .font-awesome.md or explores dependencies to figure out how imports work in your app. When a requested glyph does not exist, it falls back to an internal suggestion lookup and picks the closest match automatically. For custom Kit subsets, you must have fa version 0.8.0 or newer alongside an active session via fa login or FA_API_TOKEN.
What it helps with
- insert Font Awesome icons using natural language concepts
- generate appropriate markup for React or Vue components
- verify whether an icon exists in a custom Kit subset
- substitute missing icons with relevant catalog alternatives
Example prompts for the agent
- Add a shopping cart icon to the checkout button in src/components/Header.tsx
- Insert a thin coffee cup icon into the navigation menu
- Put a user profile icon next to the account link
How to install add-icon
1Skills CLI (Vercel)
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a claude-code2Manually: put the files in place
~/.claude/skills/add-icon/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/add-icon/
1Skills CLI (Vercel)
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a codex2Manually: put the files in place
.agents/skills/add-icon/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a cursor2Manually: put the files in place
.cursor/skills/add-icon/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install FortAwesome/fontawesome-agent-tools add-icon2Manually: put the files in place
.github/skills/add-icon/SKILL.md1Skills CLI (Vercel)
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a gemini-cli2Platform CLI
gemini skills install https://github.com/FortAwesome/fontawesome-agent-tools --path plugins/icons/skills/add-iconManually: put the files in place
.devin/skills/add-icon/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about add-icon
How to install add-icon in Claude Code?
Run npx skills add FortAwesome/fontawesome-agent-tools --skill add-icon -a claude-code in your terminal. You can also place the skill file directly in ~/.claude/skills/add-icon/SKILL.md.
What does the add-icon skill do?
It discovers your project setup, finds the target Font Awesome glyph, and writes the correct component import or markup.
Is the fa CLI required?
No, it falls back to local Python helpers when the CLI binary is absent. You only need fa version 0.8.0 or higher to inspect custom Kit subsets.