codex-harness: Skill for Claude Code

.codex/skills/ui/SKILL.md

ui is a skill for Claude Code, Codex from Chachamaru127/codex-harness. It costs 53 tokens per session (957 once invoked), scanned A, original, MIT.

A skill for creating user-interface components and feedback forms. User interfaces are the screens and controls people use in an application.

In plain words
What is it for?
Use it to build components, hero sections, contact or feedback forms, and other interface elements while checking labels, focus states, contrast, and heading structure.
Why use it?
It provides project-specific design and accessibility checks, helping forms and components remain usable with keyboards, screen readers, and different visual needs.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also installed under .codex/.

This is Chachamaru127/codex-harness's own configuration. It tells Claude Code and Codex how to work on codex-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codex-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Chachamaru127/codex-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Chachamaru127/codex-harness/main/.codex/skills/ui/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Chachamaru127/codex-harness

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 ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/chachamaru127/codex-harness/ui.svg)](https://agentmods.dev/skills/chachamaru127/codex-harness/ui)
Your own site
<a href="https://agentmods.dev/skills/chachamaru127/codex-harness/ui"><img src="https://agentmods.dev/badge/skills/chachamaru127/codex-harness/ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 957 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.00053 $0.00957
Opus 5 $0.00026 $0.00478
Sonnet 5 $0.00011 $0.00191
Haiku 4.5 $0.00005 $0.00096

Measured 6d ago against content hash fdadc4a340cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ui 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 6d 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.

.codex/skills/ui/SKILL.md · 80 lines

What it actually says

UI Skills

UIコンポーネントとフォームの生成を担当するスキル群です。

制約の優先順位と適用条件

  1. 基本は references/ui-skills.md の制約を最優先で適用する。
  2. references/frontend-design.md は「尖った/独自/表現強め/ブランド強化」などが明示された場合のみ適用する。
  3. UI Skills の MUST/NEVER は原則維持。ただしユーザーが明示的に要求した場合のみ以下の例外を許可する:
    • グラデーション、発光、強い装飾
    • アニメーション(追加・拡張)
    • カスタム easing

機能詳細

機能 詳細
制約セット See references/ui-skills.md / references/frontend-design.md
コンポーネント生成 See references/component-generation.md
フィードバックフォーム See references/feedback-forms.md

実行手順

  1. 制約セットを適用(優先順位に従う)
  2. 品質判定ゲート(Step 0)
  3. ユーザーのリクエストを分類
  4. 上記の「機能詳細」から適切な参照ファイルを読む
  5. その内容に従って生成

Step 0: 品質判定ゲート(a11y チェックリスト)

UI コンポーネント生成時は、アクセシビリティを確保:

♿ アクセシビリティチェックリスト

生成する UI は以下を満たすことを推奨:

### 必須項目
- [ ] 画像に alt 属性を設定
- [ ] フォーム要素に label を関連付け
- [ ] キーボード操作可能(Tab でフォーカス移動)
- [ ] フォーカス状態が視覚的に分かる

### 推奨項目
- [ ] 色だけに依存しない情報伝達
- [ ] コントラスト比 4.5:1 以上(テキスト)
- [ ] aria-label / aria-describedby の適切な使用
- [ ] 見出し構造(h1 → h2 → h3)が論理的

### インタラクティブ要素
- [ ] ボタンに適切なラベル(「詳細」ではなく「製品詳細を見る」)
- [ ] モーダル/ダイアログのフォーカストラップ
- [ ] エラーメッセージがスクリーンリーダーで読まれる

VibeCoder 向け

♿ 誰でも使えるデザインにするために

1. **画像には説明をつける**
   - 「商品画像」ではなく「赤いスニーカー、正面から」

2. **クリックできる場所はキーボードでも操作可能に**
   - Tab キーで移動、Enter で決定

3. **色だけで判断させない**
   - 赤=エラー だけでなく、アイコン+テキストも
Files

What ships with it

5 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. 6d ago First seen · 80 lines · 53 tokens per session scan A fdadc4a340cf

Subscribe to this mod's changes

ui is a skill published in the GitHub repository Chachamaru127/codex-harness (2 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 957 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

moai-ref-ui-polish

UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…

modu-ai/moai-adk · 98 tokens