favicon

favicon is a skill for Claude Code from artivilla/agents-config. It costs 28 tokens per session (2,283 once invoked), scanned B, a copy of favicon, MIT.

A tool for creating the small icon files that browsers use in tabs, bookmarks, and shortcuts from one source image. It also adds the required icon references to a web project's HTML.

In plain words
What is it for?
Use it when setting up browser icons for Rails, Next.js, Gatsby, SvelteKit, Astro, or other web projects, using a PNG, JPG, SVG, WEBP, or GIF source image.
Why use it?
It removes the need to create several icon sizes and edit the correct HTML tags by hand. It also checks the image and identifies common web project layouts.

Skill for Claude Code

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

Good fit Use it when setting up browser icons for Rails, Next.js, Gatsby, SvelteKit, Astro, or other web projects, using a PNG, JPG, SVG, WEBP, or GIF source image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artivilla/agents-config/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 artivilla/agents-config --skill favicon
Clone the repo
git clone --depth 1 https://github.com/artivilla/agents-config

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/artivilla/agents-config/favicon/github.svg)](https://agentmods.dev/skills/artivilla/agents-config/favicon)
Your own site
<a href="https://agentmods.dev/skills/artivilla/agents-config/favicon"><img src="https://agentmods.dev/badge/skills/artivilla/agents-config/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/artivilla/agents-config/favicon"><img src="https://agentmods.dev/badge/skills/artivilla/agents-config/favicon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,283 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 97% copy Near-identical to another mod 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.00028 $0.02283
Opus 5 $0.00014 $0.01141
Sonnet 5 $0.00006 $0.00457
Haiku 4.5 $0.00003 $0.00228

Measured 8d ago against content hash dcc1e91edf90, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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

This is a copy

97% identical to favicon — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/favicon/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 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 · 225 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. 8d ago First seen · 225 lines · 28 tokens per session scan B dcc1e91edf90

Subscribe to this mod's changes

favicon is a skill published in the GitHub repository artivilla/agents-config (0 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 2,283 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 97% identical to favicon, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

eval-graphics

Turn an eval study's numbers into on-brand, publish-ready figures using the Newsjack chart room (the eval design system), then validate them with Playwright. For producing the charts in a published eval/data study.

elvisun/newsjack · 47 tokens

loom-accessibility

Web accessibility patterns, WCAG compliance, and inclusive design.

cosmix/loom · 16 tokens

aksel-builder

Expert builder for Aksel, the Nav / @navikt design system — React components, design tokens, layout primitives, theming (light/dark), icons, CSS, the Tailwind preset, version migrations, Figma-to-code. Triggers — Aksel, "using/with aksel", Nav/Navikt, "designsystemet", "design system", @navikt/ds- (e.g.…

navikt/copilot · 181 tokens

aksel-spacing

Lag responsive layouts med Aksel Design System (v8+) - spacing tokens, layout primitives (Box, HStack, VStack, HGrid, Page, Bleed) og ResponsiveProp.

navikt/copilot · 41 tokens

web-design-reviewer

Visuell inspeksjon av nettsider for å identifisere og fikse designproblemer. Trigges av forespørsler som "sjekk designet", "gå gjennom UI-en", "fiks layouten", "finn designfeil". Finner problemer med responsivt design, tilgjengelighet, visuell konsistens og layout, og fikser dem i kildekoden.

navikt/copilot · 89 tokens

design-shiny-ui

Design Shiny application UIs using bslib for theming, layoutcolumns for responsive grids, value boxes, cards, and custom CSS/SCSS. Covers page layouts, accessibility, and brand consistency. Use when building a new Shiny app UI from scratch, modernizing an existing app from fluidPage to bslib, applying brand theming…

pjt222/agent-almanac · 96 tokens