type-system

type-system is a skill for Claude Code from soumyachk101/VibeLens. It costs 95 tokens per session (1,701 once invoked), scanned A, original, MIT.

A workflow for auditing and fixing the typography of a running local website. Typography means the choices around font sizes, line spacing, letter spacing, and text width.

In plain words
What is it for?
Use it to inspect a page on desktop and mobile, inventory its text sizes, and correct font hierarchy, spacing, numerals, and font-loading behavior.
Why use it?
It helps reveal inconsistent text sizes, weak visual hierarchy, hard-to-read line lengths, and layout shifts while fonts load.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the vibelens plugin — 12 skills, 4 agents, 1 hook shipped together

Good fit Use it to inspect a page on desktop and mobile, inventory its text sizes, and correct font hierarchy, spacing, numerals, and font-loading behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soumyachk101/vibelens/type-system
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 soumyachk101/VibeLens --skill type-system
Clone the repo
git clone --depth 1 https://github.com/soumyachk101/VibeLens

Made for: Claude Code.

Or install vibelens, the plugin that ships this one along with the rest of its 12 skills, 4 agents, 1 hook.

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 type-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/soumyachk101/vibelens/type-system/github.svg)](https://agentmods.dev/skills/soumyachk101/vibelens/type-system)
Your own site
<a href="https://agentmods.dev/skills/soumyachk101/vibelens/type-system"><img src="https://agentmods.dev/badge/skills/soumyachk101/vibelens/type-system/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 type-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/soumyachk101/vibelens/type-system"><img src="https://agentmods.dev/badge/skills/soumyachk101/vibelens/type-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,701 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00095 $0.01701
Opus 5 $0.00048 $0.00851
Sonnet 5 $0.00019 $0.00340
Haiku 4.5 $0.00010 $0.00170

Measured 9d ago against content hash 2bb1f134c869, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

type-system scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/type-system/SKILL.md · 117 lines

How it starts

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

Type system audit

Target: $ARGUMENTS (if empty, ask for the URL).

What this skill works from

simplifiedDOM keeps the real class lists, so the type decisions are readable directly: text-sm, text-[15px], font-medium, leading-tight, tracking-wide, max-w-prose. That is the evidence. The screenshot tells you whether the resulting hierarchy actually reads and whether lines are too long to scan. Inline style attributes are kept but truncated past 120 characters, and stylesheets are stripped — so when a size is set in CSS rather than a utility class, find it in the source instead of guessing.

Rationale, the reference scale and the ratio arguments live in docs/design/TYPOGRAPHY.md. Reference it; do not restate it.

Steps

  1. Capture with inspect_localhost_ui, fullPage: true, viewport desktop, then repeat with mobile. Desktop shows measure problems; mobile shows hierarchy collapse and oversized display type. Raise delay to 2000–3000 if the DOM is nearly empty.

  2. Inventory the sizes. Extract every font-size carrier from the DOM — text-xstext-9xl, arbitrary values like text-[13px], and any inline font-size. List each distinct value with a count and one example element. Then judge:

    • Two or three distinct sizes on a full page: no scale. Body and headings are separated by weight alone, which is why the page reads flat.
    • Nine or more: no system. Sizes were chosen per component; text-[15px] next to text-base next to text-[17px] is the signature.
    • Adjacent steps used together (text-sm beside text-base as heading vs body): the contrast is too small to register as hierarchy.
  3. Inventory weight and leading the same way. Flag font-bold used as the only hierarchy device, three or more weights of the same family in one component, leading-none on multi-line body copy, and body text with no leading class at all where the default is too tight for the size. Display type wants tighter leading than body; body copy wants roughly 1.5.

Read the full file on GitHub · 117 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. 9d ago First seen · 117 lines · 95 tokens per session scan A 2bb1f134c869

Subscribe to this mod's changes

type-system is a skill published in the GitHub repository soumyachk101/VibeLens (0 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 1,701 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

frontend-ui-engineering

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

addyosmani/agent-skills · 58 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

ui-designer

Elite UI/UX Design Lead & Frontend Architect. Generates distinctive, non-templated interfaces with opinionated aesthetics, deliberate typography, and exact UX copy. Triggers on UI design, frontend styling, or layout creation.

GulajavaMinistudio/awesome-copilot-id · 49 tokens

impeccable

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states.…

GulajavaMinistudio/awesome-copilot-id · 189 tokens

bootstrap

Bootstrap CSS framework for responsive design. Use for quick styling.

G1Joshi/Agent-Skills · 14 tokens

shadcnui

Skill "shadcnui" from G1Joshi/Agent-Skills, covering shadcn/ui, when to use, core concepts, copy/paste and radix ui.

G1Joshi/Agent-Skills · 21 tokens