lit-dev

lit-dev is a skill for Claude Code, Codex from klh/speedy-claude. It costs 48 tokens per session (5,984 once invoked), scanned A, original, MIT.

A workflow for building reusable Lit web components—small UI elements that work in regular HTML and across front-end frameworks—using TypeScript, validation, documentation, and browser tests.

In plain words
What is it for?
Use it to build web components, design systems, and shared interface elements, including their schemas, documentation, linting, and Playwright end-to-end or component tests.
Why use it?
It gives component code a consistent structure and checks inputs and behavior, reducing mismatches when shared UI is used in different projects.

Skill for Claude CodeCodex

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 skills/klh/speedy-claude/lit-dev
Any agent
npx skills add klh/speedy-claude --skill lit-dev
Clone the repo
git clone --depth 1 https://github.com/klh/speedy-claude

Made for: Claude Code, Codex.

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 lit-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/klh/speedy-claude/lit-dev.svg)](https://agentmods.dev/skills/klh/speedy-claude/lit-dev)
Your own site
<a href="https://agentmods.dev/skills/klh/speedy-claude/lit-dev"><img src="https://agentmods.dev/badge/skills/klh/speedy-claude/lit-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,984 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.00048 $0.05984
Opus 5 $0.00024 $0.02992
Sonnet 5 $0.00010 $0.01197
Haiku 4.5 $0.00005 $0.00598

Measured today against content hash f261bb1662bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lit-dev 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (template.ts), 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.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills-available/lit-dev/SKILL.md · 957 lines

How it starts

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

Lit Web Components

Tech Stack

Tool Purpose Version
Lit Web component library Latest (lit)
TypeScript Type-safe development Latest
Zod Schema validation & type inference Latest
Playwright E2E/component testing Latest (@playwright/test)
ESLint Linting Latest with Lit configs
Turborepo Monorepo build system Latest
pnpm Package management Latest (strict peer dependencies)

Setup commands:

pnpm create turbo@latest  # or pnpm init
pnpm add lit zod @playwright/test
pnpm add -D typescript @types/node eslint eslint-plugin-lit

Overview

Lit is a lightweight library (~5KB) for building fast, standards-based web components. At its core: reactive state, scoped styles, and declarative templates via tagged template literals.

Core principle: Every Lit component is a standard web component—interoperable across any framework or vanilla HTML.

Component Structure Pattern

Follow this 7-point pattern for every Lit component:

components/
  my-component/
    my-component.ts          # Component definition
    my-component.zod.ts      # Zod schemas + TS types
    my-component.spec.tsx    # Playwright tests
    fixtures/
      basic.html             # Fixture for testing
      interactive.html
    index.ts                 # Barrel export
  index.ts                   # Root barrel export

1. Component Directory Structure

Each component gets its own directory under components/:

mkdir -p components/my-component/fixtures
touch components/my-component/my-component.ts
touch components/my-component/my-component.zod.ts
touch components/my-component/my-component.spec.tsx
touch components/my-component/fixtures/basic.html
touch components/my-component/index.ts

Read the full file on GitHub · 957 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. today Changed · +27 lines f261bb1662bf
  2. 4d ago First seen · 930 lines · 48 tokens per session scan A 909492ffbae0

Subscribe to this mod's changes

lit-dev is a skill published in the GitHub repository klh/speedy-claude (11 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 5,984 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-30.