font-extractor

font-extractor is a skill for Claude Code from trtmn/agent-plugins. It costs 89 tokens per session (721 once invoked), scanned A, original, Unlicense.

A website font downloader that finds font files used by a web page and organizes them locally by font family.

In plain words
What is it for?
Extracting and downloading fonts from a website or URL into organized local folders.
Why use it?
It avoids manually searching page stylesheets and web assets for every font file used by a site.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the font-extractor plugin — 1 skill shipped together

Good fit Extracting and downloading fonts from a website or URL into organized local folders.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add trtmn/agent-plugins
Claude Code
/plugin install font-extractor

Made for: Claude Code.

Or install font-extractor, the plugin that ships this one along with the rest of its 1 skill.

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 font-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/trtmn/agent-plugins/font-extractor/github.svg)](https://agentmods.dev/skills/trtmn/agent-plugins/font-extractor)
Your own site
<a href="https://agentmods.dev/skills/trtmn/agent-plugins/font-extractor"><img src="https://agentmods.dev/badge/skills/trtmn/agent-plugins/font-extractor/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 font-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/trtmn/agent-plugins/font-extractor"><img src="https://agentmods.dev/badge/skills/trtmn/agent-plugins/font-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00089 $0.00721
Opus 5.5 $0.00036 $0.00288
Sonnet 5.5 $0.00018 $0.00144
Haiku 4.5 $0.00009 $0.00072

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

Security

Grade A, and why

font-extractor scanned grade A 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/organize_fonts.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl -L *:*)
plugins/font-extractor/skills/font-extractor/SKILL.md · 76 lines

How it starts

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

Font Extractor

Extract all fonts used on a website and save them locally, organized by font family.

Workflow

  1. Ask — confirm where to save fonts (default: ./fonts/)
  2. Download — find and download all font files from the site
  3. Organize — run the bundled script to sort them into family subdirectories

The heavy lifting of family detection is done by reading each font file's internal name table — no need to parse CSS family names.


Step 0: Confirm output location

Before downloading, ask the user where they'd like the fonts saved. Default to ./fonts/ if they don't have a preference. Use their chosen path in place of ./fonts/ throughout the remaining steps.


Step 1: Download all font files

Fetch the page HTML and find font file URLs. Use whatever approach gets the job done fastest:

  • Parse <link rel="stylesheet"> tags, fetch each CSS file, extract url(...) values from @font-face blocks
  • Check <link rel="preload" as="font"> tags
  • Search inline <style> blocks
  • If nothing turns up in CSS, search the JS bundle(s) for font file URLs (SPAs often embed them there)
  • If using Claude-in-Chrome (mcp__claude-in-chrome__*), read_network_requests will catch dynamically loaded fonts

Font file extensions to look for: .woff2, .woff, .ttf, .otf, .eot

Download every font file URL you find into ./fonts/ (flat). Use curl -L with a Referer header matching the page URL — many CDNs require it:

mkdir -p ./fonts
curl -L -H "Referer: <page-url>" -o "./fonts/<filename>" "<font-url>"

Download all unique URLs. Do not deduplicate — different URLs may be different versions or formats of the same font, and the user may want all of them.


Step 2: Organize by family

Run the bundled organize script. It reads each font file's internal metadata to determine its family name, then moves files into ./fonts/<family>/ subdirectories:

uv run "$CLAUDE_PLUGIN_ROOT/skills/font-extractor/scripts/organize_fonts.py" ./fonts

Read the full file on GitHub · 76 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 76 lines · 89 tokens per session scan A b013b3ab0fc9

Subscribe to this mod's changes

font-extractor is a skill published in the GitHub repository trtmn/agent-plugins (2 stars, last pushed 15d ago), licensed Unlicense. It adds 89 tokens to every session and 721 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

font-extractor compared with skills from other repositories

font-extractor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
font-extractortrtmn/agent-pluginsSkill215d agoUnlicenseA89Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k10d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code