Skip to main content
hook CX Codex

oma-frontend — Claude Code hook for frontend design and debugging

oma-frontend — a hook that wires frontend tooling into Claude Code: UI work, design, review and debugging. It fires on agent session events.

MIT ★ 1,472 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add first-fluke/oh-my-agent
/plugin install oma-frontend@oh-my-agent
Open on GitHub

What oma-frontend does

oma-frontend ships as a set of hooks inside the oh-my-agent plugin for Claude Code. It targets frontend work: markup, interface design, code review and bug hunting.

It fires on four events: PreToolUse, UserPromptSubmit, SessionStart and Stop. The PreToolUse entry has a Bash matcher, so the hook attaches to shell command runs. Session start calls plugin-bootstrap.sh frontend, other events go through plugin-hook.sh. The hook config lands in .claude/settings.json after install.

Under the hood these are shell scripts invoked by Claude Code. Timeouts differ: 15 seconds for PreToolUse and UserPromptSubmit, 40 for Stop, and SessionStart runs async with a 600-second timeout. The hook also works in Codex.

What it helps with

  • build a component from a mockup
  • trace a bug in JavaScript code
  • review frontend code before commit
  • suggest a design for a form
  • run frontend tools on session start

Example prompts for the agent

  • Build a product card for an online store
  • Find the bug in this React component
  • Review my CSS before release

How to install oma-frontend

1Plugin marketplace

/plugin marketplace add first-fluke/oh-my-agent
/plugin install oma-frontend@oh-my-agent

2Manually: put the files in place

.claude/settings.json

The hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json

Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command

Questions about oma-frontend

How do I install oma-frontend in Claude Code?

First add the marketplace: /plugin marketplace add first-fluke/oh-my-agent. Then install the plugin: /plugin install oma-frontend@oh-my-agent. The hook config goes into .claude/settings.json.

What does oma-frontend do?

It connects frontend tooling to Claude Code events: shell command runs, prompt submission, session start and stop. Useful for markup, design, review and debugging.

Which events does the hook listen to?

PreToolUse with a Bash matcher, UserPromptSubmit, SessionStart and Stop. Session start runs plugin-bootstrap.sh frontend, other events run plugin-hook.sh.

Source text

frontend · MIT
Hooks bundle shipped with the oma-frontend plugin for Claude Code.

Frontend implementation, interface design, review, and debugging

Triggers on: PreToolUse, UserPromptSubmit, SessionStart, Stop.

```json
{"Stop":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" Stop","timeout":40}]}],"PreToolUse":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" PreToolUse Bash","timeout":15}],"matcher":"Bash"}],"SessionStart":[{"hooks":[{"type":"command","async":true,"command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-bootstrap.sh\" frontend","timeout":600}]}],"UserPromptSubmit":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" UserPromptSubmit","timeout":15}]}]}
```

© First Fluke · MIT · first-fluke/oh-my-agent

Similar hooks

Everything for Frontend and UI →

From the same set69

The whole set →
oma-orchestration oma-orchestration — a Claude Code skill that dispatches and supervises parallel specialist agents with persistent task state. Coordinates multi-agent execution, QA verification, and recovery budgets. CX Codex +1 ★ 1,472repo stars oma-dev-workflow The oma-dev-workflow Claude Code skill configures development tasks, Git hooks, CI/CD, and release automation. It runs when a repository workflow needs to be created or fixed. CX Codex +1 ★ 1,472repo stars oma-research oma-research automates research workflows in Claude Code, assisting with literature reviews and market research. CX Codex ★ 1,472repo stars oma-security The oma-security hook runs security scans, source review, and verified remediation. It responds to session, prompt, Bash, and stop events. CX Codex ★ 1,472repo stars frontend-engineer frontend-engineer — a subagent for React, Next.js, Angular, and TypeScript frontend development. Builds UI components with TailwindCSS v4 and enforces FSD-lite architecture. CX Codex ★ 1,472repo stars qa-reviewer qa-reviewer — a code review agent that scans for OWASP vulnerabilities, performance bottlenecks, accessibility gaps and code quality issues. Runs before you merge and flags each finding with severity and remediation. CX Codex ★ 1,472repo stars mobile-engineer mobile-engineer implements mobile features across Flutter, React Native, Swift, and Kotlin following Clean Architecture boundaries. CX Codex ★ 1,472repo stars backend-engineer backend-engineer is a Claude Code subagent for API, authentication, and database migration tasks. It joins work on those tasks when requested. CX Codex ★ 1,472repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open