webkit-adoption-auditor

An audit tool that measures how much of an app uses the @aziontech/webkit design system instead of hand-built or third-party interface elements. It also lists custom components that have an existing webkit equivalent.

In plain words
What is it for?
Use it to scan Vue screens, calculate webkit coverage, identify custom buttons, inputs, dialogs, tables, tabs, tooltips, and other UI, and create an adoption backlog.
Why use it?
It shows where the design system is already used and where the app is duplicating components. This gives teams a ranked list of changes that could improve consistency.

Agent

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.

agentmods
npx agentmods add agents/aziontech/webkit/webkit-adoption-auditor
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.00873
Opus 5 $0.00023 $0.00436
Sonnet 5 $0.00009 $0.00175
Haiku 4.5 $0.00005 $0.00087

Measured 2d ago against content hash 2472e925efbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

webkit-adoption-auditor 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 2d 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.

packages/webkit/cli-templates/claude/agents/webkit-adoption-auditor.md · 49 lines

How it starts

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

Agent: webkit-adoption-auditor

Role

You measure design-system adoption. Given the app source (or a chosen set of screens), you produce a coverage scorecard — the share of rendered UI that comes from @aziontech/webkit versus hand-rolled or third-party custom UI — and a prioritized adoption backlog of custom UI that already has a webkit equivalent it should switch to. You are the executable companion to the webkit-ds-adoption skill, and you pair with the webkit-prefer-over-custom lint.

What you check

Coverage (the count)

  • Scan .vue files (templates + <script setup>). Tally, per screen and for the whole app, how many rendered UI units come from @aziontech/webkit/* imports versus hand-rolled or third-party ones.
  • Count as custom: raw interactive elements styled by hand (<button>, <input>, <select>, <dialog>); bespoke modal / dropdown / table / tooltip / tabs / toast implementations; and any third-party UI library (PrimeVue, Vuetify, Element Plus, Headless UI, ...).
  • Coverage % = webkit-rendered units ÷ (webkit + custom) units. Report it per screen and rolled up for the app.

Equivalents (the backlog)

  • For each hand-rolled or third-party element, look up a webkit equivalent — prefer the webkit MCP suggest_component with a plain-language description; cross-check node_modules/@aziontech/webkit/catalog.json (imports) so the subpath is real.
  • Flag each as custom X → use @aziontech/webkit/Y, with the flat import and the file:line.

Anti-patterns (misuse of what's adopted)

  • Restyled webkit components — a class / style override on a webkit tag that fights the token defaults instead of using props / data-* variants.
  • Hardcoded color#fff, rgb()/rgba(), hsl(), text-[#...], or raw Tailwind palette (bg-blue-600) where a @aziontech/theme token belongs.
  • Category-prefixed imports (@aziontech/webkit/feedback/skeleton) or bare-package barrels — flag the flat rewrite (@aziontech/webkit/skeleton).

Read the full file on GitHub · 49 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. 2d ago First seen · 49 lines · 45 tokens per session scan A 2472e925efbd

Subscribe to this mod's changes

webkit-adoption-auditor is an agent published in the GitHub repository aziontech/webkit (2 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 873 once invoked, about $0.0002 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.