multi-frontend

multi-frontend is a command for Claude Code, Codex from mturac/everything-openai-codex. It costs 18 tokens per session (1,302 once invoked), scanned A, original, MIT.

A frontend development workflow that coordinates several AI models to research, design, build, improve, and review user interfaces.

In plain words
What is it for?
Use it for components, responsive layouts, animations, and visual polish.
Why use it?
It structures UI work into clear stages and brings in a model focused on visual design, reducing the need to manage each stage manually.

Command for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also reads ~/.codex or $CODEX_HOME. Also seen: names the AskUserQuestion tool; mentions Codex.

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.

agentmods
npx agentmods add commands/mturac/everything-openai-codex/multi-frontend
Clone the repo
git clone --depth 1 https://github.com/mturac/everything-openai-codex

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mturac/everything-openai-codex/multi-frontend.svg)](https://agentmods.dev/commands/mturac/everything-openai-codex/multi-frontend)
Your own site
<a href="https://agentmods.dev/commands/mturac/everything-openai-codex/multi-frontend"><img src="https://agentmods.dev/badge/commands/mturac/everything-openai-codex/multi-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00018 $0.01302
Opus 5 $0.00009 $0.00651
Sonnet 5 $0.00004 $0.00260
Haiku 4.5 $0.00002 $0.00130

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

Security

Grade A, and why

multi-frontend 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 2d 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.

commands/multi-frontend.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend - Frontend-Focused Development

Frontend-focused workflow (Research → Ideation → Plan → Execute → Optimize → Review), Gemini-led.

Usage

/frontend <UI task description>

Context

  • Frontend task: $ARGUMENTS
  • Gemini-led, Codex for auxiliary reference
  • Applicable: Component design, responsive layout, UI animations, style optimization

Your Role

You are the Frontend Orchestrator, coordinating multi-model collaboration for UI/UX tasks (Research → Ideation → Plan → Execute → Optimize → Review).

Collaborative Models:

  • Gemini – Frontend UI/UX (Frontend authority, trustworthy)
  • Codex – Backend perspective (Frontend opinions for reference only)
  • Codex (self) – Orchestration, planning, execution, delivery

Multi-Model Call Specification

Call Syntax:

# New session call
Bash({
  command: "~/.codex/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3-pro-preview - \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)>
Context: <project context and analysis from previous phases>
</TASK>
OUTPUT: Expected output format
EOF",
  run_in_background: false,
  timeout: 3600000,
  description: "Brief description"
})

# Resume session call
Bash({
  command: "~/.codex/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3-pro-preview resume <SESSION_ID> - \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)>
Context: <project context and analysis from previous phases>
</TASK>
OUTPUT: Expected output format
EOF",
  run_in_background: false,
  timeout: 3600000,
  description: "Brief description"
})

Role Prompts:

Phase Gemini
Analysis ~/.codex/.ccg/prompts/gemini/analyzer.md
Planning ~/.codex/.ccg/prompts/gemini/architect.md
Review ~/.codex/.ccg/prompts/gemini/reviewer.md

Read the full file on GitHub · 163 lines

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. 2d ago First seen · 163 lines · 18 tokens per session scan A 5d0f3aa68469

Subscribe to this mod's changes

multi-frontend is a command published in the GitHub repository mturac/everything-openai-codex (89 stars, last pushed 12d ago), licensed MIT. It adds 18 tokens to every session and 1,302 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.