frontend-patterns

frontend-patterns is a skill for Claude Code, Codex from deepelementlab/clawcode. It costs 24 tokens per session (3,648 once invoked), scanned A, original, GPL-3.0.

A set of frontend development patterns for React and Next.js, including state management, performance, and interface practices. React is a JavaScript library for building interfaces, while Next.js is a framework built around React.

In plain words
What is it for?
Use it when building or reviewing React or Next.js interfaces, choosing state-management approaches, improving performance, or applying frontend conventions.
Why use it?
It helps keep frontend code organized and responsive as an application grows. It also addresses common choices around shared state and slow pages.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when building or reviewing React or Next.js interfaces, choosing state-management approaches, improving performance, or applying frontend conventions.

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

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-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepelementlab/clawcode/frontend-patterns/github.svg)](https://agentmods.dev/skills/deepelementlab/clawcode/frontend-patterns)
Your own site
<a href="https://agentmods.dev/skills/deepelementlab/clawcode/frontend-patterns"><img src="https://agentmods.dev/badge/skills/deepelementlab/clawcode/frontend-patterns/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 frontend-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepelementlab/clawcode/frontend-patterns"><img src="https://agentmods.dev/badge/skills/deepelementlab/clawcode/frontend-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,648 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.
Origin unknown 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.00024 $0.03648
Opus 5.5 $0.00010 $0.01459
Sonnet 5.5 $0.00005 $0.00730
Haiku 4.5 $0.00002 $0.00365

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

Security

Grade A, and why

frontend-patterns 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.

fetch(url)
clawcode/plugin/builtin_plugins/clawcode-skills/skills/frontend-patterns/SKILL.md · 642 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 First seen · 642 lines · 24 tokens per session scan A 462a16c456a9

Subscribe to this mod's changes

frontend-patterns is a skill published in the GitHub repository deepelementlab/clawcode (126 stars, last pushed 4mo ago), licensed GPL-3.0. It adds 24 tokens to every session and 3,648 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

artisan

Implementing production frontend code for React/Vue/Svelte: hooks design, state management, Server Components, form handling, data fetching. Converts Forge prototypes to production quality.

simota/agent-skills · 36 tokens

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

channels-setup

Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams: "set up a channel", "connect my agent to Slack", "get my agent into Teams", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding the…

CopilotKit/CopilotKit · 141 tokens

intelligence-vocabulary

Locks customer-facing CopilotKit Intelligence docs to one approved name per concept. Use when writing, editing, or reviewing Intelligence docs, nav labels, signup labels, or image alt text in showcase/shell-docs. Don't use for renaming code identifiers, route slugs, env vars, API fields, or component names, or for…

CopilotKit/CopilotKit · 79 tokens

dashboard-widgets

Author a dashboard widget — a small React component backed by named LangWatchQL queries — from a plain question. Discovers the analytics schema, writes the queries, writes the widget file, saves it, then proves it renders. Use when asked to build, prototype, or iterate on a custom chart widget, or to add a widget…

langwatch/langwatch · 79 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens