frontend-composition

frontend-composition is a skill for Claude Code, Codex from juspay/xyne-spaces. It costs 26 tokens per session (208 once invoked), scanned A, original, Apache-2.0.

A guide to building complete self-contained HTML interfaces with semantic structure, maintainable CSS, realistic content, and working interactions.

In plain words
What is it for?
Use it to create or revise HTML interfaces, including page structure, CSS Grid and Flexbox layouts, forms and controls, responsive content, and shared component styles.
Why use it?
It helps keep pages understandable, responsive, and usable even when JavaScript fails. It also gives rules for layout, spacing, controls, and targeted component changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or revise HTML interfaces, including page structure, CSS Grid and Flexbox layouts, forms and controls, responsive content, and shared component styles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juspay/xyne-spaces/frontend-composition
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 juspay/xyne-spaces --skill frontend-composition
Clone the repo
git clone --depth 1 https://github.com/juspay/xyne-spaces

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 frontend-composition

README.md
[![agentmods](https://agentmods.dev/badge/skills/juspay/xyne-spaces/frontend-composition.svg)](https://agentmods.dev/skills/juspay/xyne-spaces/frontend-composition)
Your own site
<a href="https://agentmods.dev/skills/juspay/xyne-spaces/frontend-composition"><img src="https://agentmods.dev/badge/skills/juspay/xyne-spaces/frontend-composition.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 208 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. 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.00026 $0.00208
Opus 5 $0.00013 $0.00104
Sonnet 5 $0.00005 $0.00042
Haiku 4.5 $0.00003 $0.00021

Measured 8d ago against content hash 438ce34e8361, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

frontend-composition 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 8d 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.

apps/xyne-claw/design-skills/frontend-composition/SKILL.md · 24 lines

What it actually says

Frontend composition

Deliver one complete HTML document with its CSS and JavaScript embedded. Use semantic landmarks and native controls before custom div-based widgets.

  • Establish hierarchy through size, spacing, alignment, contrast, and density.
  • Use CSS Grid for two-dimensional page structure and Flexbox for component alignment. Avoid absolute positioning for normal flow.
  • Keep line lengths readable and controls comfortably clickable.
  • Use icons only when their meaning is recognizable; label ambiguous actions.
  • Provide realistic states and interactions. Every visible control should work or be clearly presented as static content.
  • Prefer progressive enhancement: the document should retain useful structure if JavaScript fails.

For a node-scoped revision, locate the stable selector supplied by Design Studio. Preserve unrelated regions. For component scope, update all instances of the same component through a shared selector or rendering function.

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. 8d ago First seen · 24 lines · 26 tokens per session scan A 438ce34e8361

Subscribe to this mod's changes

frontend-composition is a skill published in the GitHub repository juspay/xyne-spaces (143 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 208 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

frontend-enhancer

This skill should be used when enhancing the visual design and aesthetics of web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. REQUIRES ui-research skill first. Use this skill for tasks like improving styling, creating responsive designs…

travisjneuman/.claude · 79 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens

generic-static-design-system

Complete design system reference for static HTML/CSS/JS sites. Covers colors, typography, component patterns, animations, and accessibility. Use when implementing UI, choosing colors, or ensuring brand consistency.

travisjneuman/.claude · 44 tokens

generic-static-ux-designer

Professional UI/UX design expertise for static HTML/CSS/JS sites. Covers design thinking, user psychology, visual hierarchy, minimalist interaction patterns, accessibility, and performance-driven design. Use when designing features, improving UX, or conducting design reviews.

travisjneuman/.claude · 56 tokens

static-page-stack

SOTA stack recommendations for elegant, controlled, semantic static HTML pages — dashboards, post-mortems, technical-investigation reports.

terrylica/cc-skills · 30 tokens