ciel-frontend-and-hooks

ciel-frontend-and-hooks is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 22 tokens per session (502 once invoked), scanned A, original, Apache-2.0.

A guide to building React interfaces with reusable components, managed state, validated forms, accessible controls, and local rules that can warn about or block risky actions.

In plain words
What is it for?
It is for structuring React components, fetching data, validating forms with schemas, managing keyboard focus, and enforcing local command or file-edit rules.
Why use it?
It helps avoid oversized components, unsafe input handling, inaccessible interfaces, and accidental workspace changes such as exposing API keys.

Skill for Claude CodeCodex

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

Good fit It is for structuring React components, fetching data, validating forms with schemas, managing keyboard focus, and enforcing local command or file-edit rules.

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

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 ciel-frontend-and-hooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/ciel-frontend-and-hooks"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/ciel-frontend-and-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.00022 $0.00502
Opus 5 $0.00011 $0.00251
Sonnet 5 $0.00004 $0.00100
Haiku 4.5 $0.00002 $0.00050

Measured 7d ago against content hash 48b6379278d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ciel-frontend-and-hooks 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 7d 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.

skills/ciel-frontend-and-hooks/SKILL.md · 52 lines

What it actually says

CIEL ADAPTATION: Frontend & Hooks (The Component Layer)

This skill manages modern React development and the enforcement of local workspace rules.

React Development Patterns

  1. Composition First: Compose small components over complex inheritance.
  2. State Hygiene: Use useMemo for sorting/filtering. Use useCallback for props passed to children.
  3. Fetching: Prefer useQuery patterns (SWR/React Query) for SSR-safe data retrieval.
  4. Forms: Use controlled inputs with Zod schema validation. Fail fast on bad input.

Local Rules (Hookify)

  • Events: Define rules for bash (commands), file (edits), stop (completion), or prompt (workflow).
  • Actions:
    • warn: Show message; allow operation.
    • block: Prevent operation (e.g., Adding API keys to .env).
  • Organization: Rules live in .claude/hookify.{name}.local.md. ALWAYS gitignore local rule files.

Visual Accessibility

  • Keyboard: EVERY interactive element must be reachable via Tab and activatable via Enter/Space.
  • Focus: Manage focus explicitly in Modals (Restore on Close).

Anti-Patterns

  • Fat Components: Putting 500 lines of business logic in a single UI component.
  • Prop Drilling: Passing state through 5+ layers instead of using Context or Zustand.
  • RegEx Loopholes: Writing too-broad Hookify patterns (e.g., log) that cause noise.
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. 7d ago First seen · 52 lines · 22 tokens per session scan A 48b6379278d3

Subscribe to this mod's changes

ciel-frontend-and-hooks is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 3d ago), licensed Apache-2.0. It adds 22 tokens to every session and 502 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-09-03.

Related

Other skills, from other repositories

frontend-patterns

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

Kacper0199/Opencode-Ultrathinker · 24 tokens

agent-spec-mobile-react-native

Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.

ruvnet/ruflo · 22 tokens

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API ( component, addTransitionType, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components…

fcakyon/claude-codex-settings · 127 tokens

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

fcakyon/claude-codex-settings · 57 tokens

panel-app-react-vite-creator

Create or update an engineering-style NextClaw Panel component with pnpm, Vite, React, TypeScript, and Tailwind CSS, then build it into a static .panel directory inside a schema v2 package or an explicitly loose workspace Panel. Use for modern, reusable, complex, Agent-powered, typed Panel interfaces.

Peiiii/nextclaw · 73 tokens

Nerve Development

Nerve backend (Python) and frontend (React/TS) development and code contribution. Use when writing Python code for Nerve, fixing bugs, adding features, reviewing Nerve PRs, building the frontend, running tests, or working with the Nerve codebase. Triggers on "nerve code", "nerve PR", "fix nerve", "nerve feature"…

ClickHouse/nerve · 96 tokens