native-pwa-design-system

native-pwa-design-system is a skill for Claude Code, Codex from tjakoen/grain. It costs 39 tokens per session (1,253 once invoked), scanned A, original, Apache-2.0.

A design and implementation guide for GRAIN, a dependency-free PWA. A PWA is a web app that can behave more like an installed app, including support for mobile layouts and offline use.

In plain words
What is it for?
Use it when building or reviewing GRAIN screens, app shells, routes, mobile interactions, installation, offline behavior, or shared design tokens.
Why use it?
It provides repository-specific rules for navigation, browser behavior, accessibility, responsive layouts, and avoiding unnecessary framework dependencies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it when building or reviewing GRAIN screens, app shells, routes, mobile interactions, installation, offline behavior, or shared design tokens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tjakoen/grain/native-pwa-design-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 tjakoen/grain --skill native-pwa-design-system
Clone the repo
git clone --depth 1 https://github.com/tjakoen/grain

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 native-pwa-design-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tjakoen/grain/native-pwa-design-system"><img src="https://agentmods.dev/badge/skills/tjakoen/grain/native-pwa-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 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.00039 $0.01253
Opus 5.5 $0.00016 $0.00501
Sonnet 5.5 $0.00008 $0.00251
Haiku 4.5 $0.00004 $0.00125

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

Security

Grade A, and why

native-pwa-design-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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (references/ui-sheet.js), 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.

packages/grain/skills/native-pwa-design-system/SKILL.md · 58 lines

How it starts

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

GRAIN native PWA design system

Activate for PWA UI builds and reviews, component creation, token changes, and work on mobile layout, navigation, installation, or offline behavior. Activate explicitly when asked for /sync-standards. That phrase is an agent trigger and can also be mapped by a host that supports slash commands.

Execution workflow

  1. Read STANDARDS_BASELINE.md and the relevant files in references/. Check freshness before using a platform claim.
  2. Identify routes, entry points, scroll owners, and supported browser/install contexts. Preserve deep links, reload, browser Back and Forward, and in-app Back with a deterministic parent route for direct entry.
  3. Use semantic HTML, CSS, and vanilla JS. Reject framework, utility-CSS, component-library, and runtime package dependencies. Start with dialog, popover="auto", native date inputs and selects, and feature-detected sharing. Use custom elements only for missing primitives such as sheets, refresh gestures, or toast stacks.
  4. Use the shared tokens and one adaptive navigation tree. Verify safe areas, keyboard visibility, reflow, text enlargement, and preserved route/selection across resize, rotation, and folding. Use Visual Viewport measurements only where tested and needed.
  5. Verify pointer, touch, keyboard, and screen-reader operation. Check focus order, visible focus, modal dismissal and restoration, hit areas, color contrast, reduced motion, and alternatives to gestures. Keep user content selectable.
  6. If applicable, verify manifest and icons, installed and browser navigation, update and offline paths, cache eviction recovery, and capability fallbacks with permission denied or installation unavailable.
  7. Before presenting or committing HTML/CSS/JS, run available static and browser checks. Cover iOS tab and Home Screen, Android tab and installed, and desktop where available. Exercise widths 320, 599, 600, 839, and 840 CSS px, a short landscape window, and both foldable displays. Record actual passes and untested device cases separately.

Read the full file on GitHub · 58 lines

Files

What ships with it

4 files 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. yesterday First seen · 58 lines · 39 tokens per session scan A d259b45353a7

Subscribe to this mod's changes

native-pwa-design-system is a skill published in the GitHub repository tjakoen/grain (179 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,253 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-12-03.

Related

native-pwa-design-system compared with skills from other repositories

native-pwa-design-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
native-pwa-design-systemtjakoen/grainSkill179yesterdayApache-2.0A39Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
baseline-uivercel-labs/open-agentsSkill5.9k2d agoMITA48Claude Code, Codex
prototype-webnexu-io/html-anythingSkill17k5d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex