favicon

favicon is a skill for Claude Code from sutchan/Agent-Skills-Hub. It costs 23 tokens per session (2,333 once invoked), scanned B, original, MIT.

A setup workflow that creates common favicon files from a source image and adds the required HTML links to a web project. Favicons are the small icons shown in browser tabs and bookmarks.

In plain words
What is it for?
Use it to configure favicons for supported web projects from a PNG, JPEG, SVG, WebP, or GIF source image.
Why use it?
It avoids manually preparing multiple icon sizes and wiring them into the page.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to configure favicons for supported web projects from a PNG, JPEG, SVG, WebP, or GIF source image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sutchan/agent-skills-hub/favicon
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sutchan/Agent-Skills-Hub --skill favicon
Clone the repo
git clone --depth 1 https://github.com/sutchan/Agent-Skills-Hub

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for favicon

README.md
[![agentmods](https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/favicon/github.svg)](https://agentmods.dev/skills/sutchan/agent-skills-hub/favicon)
Your own site
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/favicon"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/favicon/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for favicon

Your own site · 80×15
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/favicon"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/favicon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.02333
Opus 5.5 $0.00009 $0.00933
Sonnet 5.5 $0.00005 $0.00467
Haiku 4.5 $0.00002 $0.00233

Measured 1mo ago against content hash b8f3675a9219, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

favicon scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Linux**: `sudo apt install imagemagick`
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • favicon — 97% identical, 8 lines differ
skills/favicon/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate a complete set of favicons from the source image at $1 and update the project's HTML with the appropriate link tags.

Prerequisites

First, verify ImageMagick v7+ is installed by running:

which magick

If not found, stop and instruct the user to install it:

  • macOS: brew install imagemagick
  • Linux: sudo apt install imagemagick

Step 1: Validate Source Image

  1. Verify the source image exists at the provided path: $1
  2. Check the file extension is a supported format (PNG, JPG, JPEG, SVG, WEBP, GIF)
  3. If the file doesn't exist or isn't a valid image format, report the error and stop

Note whether the source is an SVG file - if so, it will also be copied as favicon.svg.

Step 2: Detect Project Type and Static Assets Directory

Detect the project type and determine where static assets should be placed. Check in this order:

Framework Detection Static Assets Directory
Rails config/routes.rb exists public/
Next.js next.config.* exists public/
Gatsby gatsby-config.* exists static/
SvelteKit svelte.config.* exists static/
Astro astro.config.* exists public/
Hugo hugo.toml or config.toml with Hugo markers static/
Jekyll _config.yml with Jekyll markers Root directory (same as index.html)
Vite vite.config.* exists public/
Create React App package.json has react-scripts dependency public/
Vue CLI vue.config.* exists public/
Angular angular.json exists src/assets/
Eleventy .eleventy.js or eleventy.config.* exists Check _site output or root
Static HTML index.html in root Same directory as index.html

Important: If existing favicon files are found (e.g., favicon.ico, apple-touch-icon.png), use their location as the target directory regardless of framework detection.

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines b8f3675a9219
  2. 2mo ago First seen · 228 lines · 23 tokens per session scan B 5a0fc81acdb5

Subscribe to this mod's changes

favicon is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (3 stars, last pushed 6d ago), licensed MIT. It adds 23 tokens to every session and 2,333 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

favicon compared with skills from other repositories

favicon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
faviconsutchan/Agent-Skills-HubSkill36d agoMITB23Claude Code
writing-skillsobra/superpowersSkill331k2d agoMITA20Claude Code
writing-plansobra/superpowersSkill331k2d agoMITA21Claude Code
skill-creatorluongnv89/asmSkill976yesterdayMITA60Claude Code
iflytek-hyper-ttsiflytek/iFly-SkillsSkill2175d agoApache-2.0A92Claude Code, Codex
iflytek-pdf-image-ocriflytek/iFly-SkillsSkill2175d agoApache-2.0A81Claude Code, Codex
zhuangxiu-houhui-bikeng-zhinan-2026zx029w/zhuangxiu-skillsSkill10918d agoMITA89Claude Code, Codex