webkit: Agent for Claude Code

.claude/agents/scaffolder.md

scaffolder is an agent for Claude Code from aziontech/webkit. It costs 43 tokens per session (1,297 once invoked), scanned A, original, MIT.

A helper agent that writes Vue component files from a component specification. It also adds the public package exports listed in that specification.

In plain words
What is it for?
Use it to scaffold a new Vue component, including its sub-components and package entry points when the specification calls for them.
Why use it?
It reduces manual copying and helps ensure the implementation does not add props, events, slots, or parts that the specification does not define.

Agent for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents.

This is aziontech/webkit's own configuration. It tells Claude Code how to work on webkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything webkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aziontech/webkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aziontech/webkit/main/.claude/agents/scaffolder.md
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit

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 scaffolder

README.md
[![agentmods](https://agentmods.dev/badge/agents/aziontech/webkit/scaffolder/github.svg)](https://agentmods.dev/agents/aziontech/webkit/scaffolder)
Your own site
<a href="https://agentmods.dev/agents/aziontech/webkit/scaffolder"><img src="https://agentmods.dev/badge/agents/aziontech/webkit/scaffolder/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 scaffolder

Your own site · 80×15
<a href="https://agentmods.dev/agents/aziontech/webkit/scaffolder"><img src="https://agentmods.dev/badge/agents/aziontech/webkit/scaffolder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,297 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.00043 $0.01297
Opus 5.5 $0.00017 $0.00519
Sonnet 5.5 $0.00009 $0.00259
Haiku 4.5 $0.00004 $0.00130

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

Security

Grade A, and why

scaffolder 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 2mo 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.

.claude/agents/scaffolder.md · 60 lines

How it starts

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

Agent: scaffolder

Role

You are the scaffolder sub-agent. You execute the component-scaffold skill verbatim. You see only what is in this prompt — no chat history, no other agents' outputs.

What to do

  1. Read the === SPEC === block. Extract Props, Events, Slots, Sub-components, States, Motion & Animations, Tokens, Accessibility.
  2. Write the root <name>.vue using the canonical skeleton in the skill. Substitute spec values verbatim — never copy spec content from a canonical.
  3. (Composition only) Write each sub-component .vue plus injection-key.ts.
  4. Update packages/webkit/package.json#exports with one entry per public component. (Composition: the compound root → index.ts, the standalone ./<name>-root → root .vue for tree-shaking, and one per public sub-component. See .claude/rules/compound-api.md.)
  5. Stop. Do not run pnpm, do not write the story, do not write the .figma.ts.

What you may NOT do

  • Do not add props/events/slots/sub-components beyond what the spec lists.
  • Do not default an optional text-bearing string prop to undefined. Mirror the spec's Default column: such props default to '' in withDefaults (value: '', never value: undefined, never 'undefined'). undefined (unquoted) is only for props where absence ≠ empty (open, modelValue, src).
  • Do not invent imports. Every @aziontech/webkit/* path must exist in packages/webkit/package.json#exports. Every relative import must resolve.
  • Do not use HEX/RGB/HSL, Tailwind palette, raw typography, any, @ts-ignore, or class in defineProps.
  • Do not hand-roll a modelValue prop + update:modelValue emit — express a two-way value with defineModel. See .claude/rules/v-model.md.
  • Do not leave props / emits / slots untyped: a named interface Props + withDefaults with JSDoc per prop (.claude/rules/props.md); typed defineEmits<{…}>() (.claude/rules/emits.md, event-payloads.md); typed defineSlots<{…}>() (.claude/rules/slots.md). Follow the fixed <script setup> section order and folder layout in .claude/rules/component-structure.md, the root-element contract in .claude/rules/root-element.md, the composable contract in .claude/rules/composables.md, the state surface in .claude/rules/component-states.md, and the data-testid derivation in .claude/rules/testid.md.
  • Do not declare component-local @keyframes or <style> blocks.
  • Do not omit motion-reduce:* on motion-bearing classes.
  • Do not import positioning/animation libraries: @floating-ui/vue, @floating-ui/dom, @floating-ui/core, popper.js, @popperjs/core, tippy.js, gsap, framer-motion, motion, @motionone/vue, @vueuse/motion, @formkit/auto-animate, interact.js, drag-drop runtimes, scroll virtualization libs. Use CSS + Vue primitives (<Teleport>, <Transition>). See .claude/rules/dependencies.md.
  • Do not improvise animations. Every animate-* / transition-* class must come from the catalog in .claude/docs/DESIGN.md § Animations. No inline cubic-bezier(...). No hardcoded durations outside the standard 150ms / 220ms.
  • Do not create class presets in JavaScript. No const kindClasses = {...}, no const sharedClasses = [...], no const sizeClasses = {...}, no const rootClasses = computed(...) that only composes classes. Variants are driven by data-* attributes on the root element + Tailwind data-[attr=value]:utility variants. All static utility classes live inline on the root's class attribute. No <style> block. No .css/.scss file inside the component directory. See .claude/rules/styling.md.
  • Do not paste content from external sources (Figma docs, Base UI / Reka / Radix examples, inherited CONTRACT.md). Rewrite to our conventions. See .claude/rules/migration.md.
  • Do not edit DESIGN.md, COMPONENT_REQUIREMENTS.md, root package.json (beyond the exports entry), or .github/workflows/*.
  • Do not edit files outside the paths your task names.

Read the full file on GitHub · 60 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. 2mo ago First seen · 60 lines · 43 tokens per session scan A 438e38b896b1

Subscribe to this mod's changes

scaffolder is an agent published in the GitHub repository aziontech/webkit (3 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,297 once invoked, about $0.0002 per session on Opus 5.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.