enhance-capacitor-ui

enhance-capacitor-ui is a skill for Claude Code from kensaurus/cursor-kenji. It costs 65 tokens per session (5,309 once invoked), scanned A, original, MIT.

A UI and UX workflow for keeping desktop web, progressive web app, iOS, and Android versions of a hybrid app usable without one layout harming another.

In plain words
What is it for?
Use it when improving a Capacitor, Tauri, Expo Web, Ionic, or React Native Web app across web and mobile surfaces.
Why use it?
It addresses problems such as a desktop layout becoming cramped on a phone or a mobile design leaving too much empty space on a large screen.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Part of the cursor-kenji plugin — 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers shipped together

Good fit Use it when improving a Capacitor, Tauri, Expo Web, Ionic, or React Native Web app across web and mobile surfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/enhance-capacitor-ui
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 kensaurus/cursor-kenji --skill enhance-capacitor-ui
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code.

Or install cursor-kenji, the plugin that ships this one along with the rest of its 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers.

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 enhance-capacitor-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/enhance-capacitor-ui/github.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/enhance-capacitor-ui)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/enhance-capacitor-ui"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/enhance-capacitor-ui/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 enhance-capacitor-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/enhance-capacitor-ui"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/enhance-capacitor-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.05309
Opus 5.5 $0.00026 $0.02124
Sonnet 5.5 $0.00013 $0.01062
Haiku 4.5 $0.00006 $0.00531

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

Security

Grade A, and why

enhance-capacitor-ui scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| First-paint at /compact | View page source (Next.js `?_rsc` or curl) | If both `<BottomNav>` AND `<DesktopSideNav>` render, then JS hides one — you have FOUC |
skills/enhance-capacitor-ui/SKILL.md · 464 lines

How it starts

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

Surface router: /uiux. You are here: enhance-capacitor-ui. Native iOS/Android (SwiftUI / Compose, no web layer) is out of scope — use Apple HIG / Material directly.

Enhance Web ↔ Mobile UI

Degree of freedom: MIXED. Axis/tier judgment [HIGH freedom]; probes, SSR first-paint, and six-cell verify [LOW freedom — run exactly].

Separate the mobile and desktop design contracts of a hybrid app so that a UIUX sweep on one surface cannot silently degrade the other. This is not a "add a useIsMobile hook" skill. It establishes three orthogonal axes, one source of truth, mode tokens, container-query primitives, and a chrome allow-list — so per-form-factor / per-platform polish is a predictable, reviewable change instead of a regression.

Vague-but-visceral cross-surface feedback ("looks great on web, atrocious on iPhone", "the iPad version is just a stretched phone", "Android dock feels wrong", "everything wraps on tablet") almost always points to axis conflation — one boolean (isMobile) is being asked to answer three different questions. Start at the architecture, not at the broken page.

If browser/native automation is used, first follow the protocol-browser-anti-stall skill when present.

How to reason

  1. Inventory — which surfaces ship; how the code answers "is mobile?"
  2. Separate — form factor vs platform vs pointer (never one boolean)
  3. Allow-list — viewport queries only in chrome; containers elsewhere
  4. Verify — six-cell matrix + SSR first-paint + live data-* on <html>

Worked example

Inventory: Capacitor PWA + iOS + Android; 18 useIsMobile sites; cards use lg:grid-cols-2. Separate: sheet vs popover is compact OR coarse pointer, not viewport < 768. Allow-list: app-shell / docks keep md:; Card becomes @container + @4xl:. Verify: card in a 320px side panel on a 1920 monitor stays compact; no FOUC of both navs.

Self-critique before reporting

  • Three axes — no leftover useIsMobile answering platform or hover
  • SSR — chrome visibility is CSS-gated; no JS-only first paint
  • Six cells — compact/medium/expanded × web/iOS/Android viewed
  • Right owner — one-surface polish → enhance-web-ui; native SwiftUI/Compose is out of scope

Read the full file on GitHub · 464 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. 1mo ago Changed · -12 tokens per session 47d03cb33a9f
  2. 1mo ago First seen · 464 lines · 77 tokens per session scan A 6c635053b53d

Subscribe to this mod's changes

enhance-capacitor-ui is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 5,309 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ui-design

Create distinctive, production-grade web interfaces with high design quality using Tailwind CSS. Use for building UI components, pages, dashboards, apps, and web applications. Generates crafted, polished code that avoids generic AI aesthetics.

jaansokk/cursor_tools · 46 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

expo-ui-jetpack-compose

Skill "expo-ui-jetpack-compose" from tmolavi/mcp-agent-skills-hub, covering when to use, installation, instructions, key components and limitations.

tmolavi/mcp-agent-skills-hub · 13 tokens

dark-mode-implementer

Implements complete dark/light mode theming systems using CSS variables, Tailwind dark mode, React context, and system preference detection. Use when users request "add dark mode", "theme toggle", "dark theme", "light mode switch", or "color scheme".

patricio0312rev/skills · 59 tokens

responsive-design-system

Implements responsive design systems with mobile-first breakpoints, container queries, fluid typography, and adaptive layouts using Tailwind CSS. Use when users request "responsive design", "mobile-first", "breakpoints", "fluid typography", or "adaptive layout".

patricio0312rev/skills · 54 tokens

core-web-vitals-tuner

Systematically improves Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) with prioritized fixes and verification. Use for "Core Web Vitals", "performance", "LCP", "INP", or "CLS".

patricio0312rev/skills · 63 tokens