ima2-front

ima2-front is a skill for Claude Code, Codex from lidge-jun/ima2-gen. It costs 149 tokens per session (10,259 once invoked), scanned A, original, MIT.

A frontend implementation guide for ima2 users, covering web interfaces, responsive layouts, accessibility, motion, and visual verification. It also explains how to install and start the ima2 development tool.

In plain words
What is it for?
Use it when building, styling, redesigning, or verifying a web page or component with ima2.
Why use it?
It provides project-specific instructions for building and checking polished web interfaces instead of leaving frontend conventions undefined.

Skill for Claude CodeCodex

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 skills/lidge-jun/ima2-gen/ima2-front
Any agent
npx skills add lidge-jun/ima2-gen --skill ima2-front
Clone the repo
git clone --depth 1 https://github.com/lidge-jun/ima2-gen

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 ima2-front

README.md
[![agentmods](https://agentmods.dev/badge/skills/lidge-jun/ima2-gen/ima2-front.svg)](https://agentmods.dev/skills/lidge-jun/ima2-gen/ima2-front)
Your own site
<a href="https://agentmods.dev/skills/lidge-jun/ima2-gen/ima2-front"><img src="https://agentmods.dev/badge/skills/lidge-jun/ima2-gen/ima2-front.svg" alt="Measured on agentmods" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00149 $0.10259
Opus 5 $0.00075 $0.05130
Sonnet 5 $0.00030 $0.02052
Haiku 4.5 $0.00015 $0.01026

Measured yesterday against content hash cccb3f439360, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ima2-front 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 yesterday.

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.

| `references/reference-capture.md` | Cloning/analyzing other sites | HTML+asset capture mechanics (pageAssets/curl), analysis-only legal line, provenance manifest, never-ship gate |
skills/ima2-front/SKILL.md · 618 lines

How it starts

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

ima2 Frontend — Domain-Correct Frontend Engineering

Setup

npm install -g ima2-gen    # install globally (Node.js >= 20)
ima2 setup                 # first-time auth (GPT OAuth recommended)
ima2 serve                 # start local server
ima2 ping                  # verify
ima2 capabilities --json   # check models, limits, providers
ima2 defaults --json       # inspect default model/reasoning

Agent bootstrap: ima2 ping first. If unreachable: ima2 serve &. If not installed: npm install -g ima2-gen && ima2 setup. Use ima2 skill path to locate the skills directory; read ../ima2-uiux/SKILL.md for design direction and ../ima2-front/SKILL.md (this file) for implementation.

Build production-grade frontend implementations from an established product/design direction. This skill owns HTML/CSS/component/runtime implementation, responsive behavior, accessibility wiring, visual verification, and frontend platform rules.

Role separation: For design judgment — typography/color/layout direction, UX decision gates, product personalities, or vague visual briefs — load ima2-uiux first. This skill implements the chosen direction; ima2-uiux makes the design decisions. Implementation anti-slop enforcement stays here; design taste/pattern judgment lives there.

C0/C1 work (small local patches): For small patches, skip the full reference chain.

Modular References

Loading references via CLI: Recommended: install skills to your agent's skill directory.

ima2 skill install --dir <agent-skill-path>   # agent provides its own path
ima2 skill install --tmp                       # ephemeral fallback

The agent determines its own skill directory (e.g. ~/.codex/skills/, ./skills/, etc.) and passes it via --dir. After install, SKILL.md and references/ are on disk — the agent reads them natively via relative paths.

Ad-hoc reading (without install):

ima2 skill front refs              # list all reference modules with line counts
ima2 skill front ref motion        # print one module (basename match)
ima2 skill front ref stacks/react  # print a nested module

Read the full file on GitHub · 618 lines

Files

What ships with it

37 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. yesterday Changed cccb3f439360
  2. 6d ago First seen · 618 lines · 149 tokens per session scan A 5b7b41b419e7

Subscribe to this mod's changes

ima2-front is a skill published in the GitHub repository lidge-jun/ima2-gen (739 stars, last pushed yesterday), licensed MIT. It adds 149 tokens to every session and 10,259 once invoked, about $0.0007 per session on Opus 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

local-image-gen

Generate or edit local images using Codex, Grok, or Gemini/Antigravity subscriptions when logged in, with optional API keys for the same models. Use when the user asks to 生图, 画图, 生成图片, 文生图, 改图, 编辑图片, 配图, 插图, 封面, 海报, image generation, image edit, inpaint, gpt-image-2, grok-imagine, nano banana, or wants to pick model…

DandreYang/local-image-gen · 126 tokens

crossgen-artist

Use CrossGen to plan and execute image generation, editing, inpainting, model selection, media-aware job monitoring, Gallery inspection, and asset export through MCP or its JSON CLI.

Bliveren/CrossGen · 41 tokens

pydantic-ai

Build production-ready AI agents with PydanticAI — type-safe tool use, structured outputs, dependency injection, and multi-model support.

davila7/claude-code-templates · 32 tokens

ocx

Drive a running opencodex (ocx) proxy from the CLI — account pools, provider routing, model catalog, usage and cost attribution, request logs, access keys, storage cleanup, and the management API. Use when a task involves controlling or inspecting an opencodex proxy rather than editing the opencodex codebase.…

lidge-jun/opencodex · 0 tokens

deep-execution

Executes agent-enhanced council queries as one Workflow of parallel Claude analyst agents that each query a provider, evaluate response quality, ask follow-up questions, and return a schema-enforced analysis with confidence ratings and blind spot analysis. Invoked when the --agents flag is used or when complex…

hex/claude-council · 66 tokens

data-fetching-architecture

LobeHub data-fetching pipeline guide. Use for service layer, Zustand store, SWR, lambdaClient, useClientDataSWR, useFetchXxx hooks, or migrating useEffect fetches.

lobehub/lobehub · 48 tokens