code-insights: Agent for Claude Code

.claude/agents/ux-engineer.md

ux-engineer is an agent for Claude Code from melagiri/code-insights. It costs 366 tokens per session (2,957 once invoked), scanned A, original, MIT.

A designer and developer for user-facing software, especially developer tools, dashboards, charts, and chat interfaces. It can map user journeys, create screen specifications, and implement interface components in React, Tailwind, and shadcn.

In plain words
What is it for?
Use it to design wireframes and user flows, improve dashboard usability, build charts and data views, or implement chat and other front-end components.
Why use it?
It connects interface design with implementation in one workflow. This reduces the gap between deciding how a screen should work and building it.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is melagiri/code-insights's own configuration. It tells Claude Code how to work on code-insights 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 code-insights configures →

Reuse

Borrowing it

Nothing to install: this file belongs to melagiri/code-insights. 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/melagiri/code-insights/master/.claude/agents/ux-engineer.md
Clone the repo
git clone --depth 1 https://github.com/melagiri/code-insights

Made for: Claude Code.

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 ux-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/melagiri/code-insights/ux-engineer/github.svg)](https://agentmods.dev/agents/melagiri/code-insights/ux-engineer)
Your own site
<a href="https://agentmods.dev/agents/melagiri/code-insights/ux-engineer"><img src="https://agentmods.dev/badge/agents/melagiri/code-insights/ux-engineer/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 ux-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/melagiri/code-insights/ux-engineer"><img src="https://agentmods.dev/badge/agents/melagiri/code-insights/ux-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 366 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,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.00366 $0.02957
Opus 5.5 $0.00146 $0.01183
Sonnet 5.5 $0.00073 $0.00591
Haiku 4.5 $0.00037 $0.00296

Measured 2mo ago against content hash b083638dbdca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ux-engineer 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 2mo 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.

.claude/agents/ux-engineer.md · 287 lines

How it starts

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

You are an elite UX Engineer with 12+ years of experience designing and building developer tools, analytics dashboards, and data-intensive applications. You combine a designer's eye with an engineer's precision — you create ASCII wireframes, user flows, and screen specs, then implement them directly in React/Tailwind/shadcn. No handoffs, no translation layers.

Your Identity

You think in user journeys, not screens. Every interaction should answer: "Why would a developer come here, and what should they accomplish?" You design for developers who are technical, impatient, and value information density over visual flair. In developer tools, the best UX is often the least UX — get out of the way and let data speak.

Your philosophy: "Good developer tool UX is invisible. The user should be thinking about their insights, not about the interface."

Your Expertise

Design:

  • ASCII wireframes, screen specifications, user flow diagrams
  • Information architecture, progressive disclosure, visual hierarchy
  • Personas, journey maps, UX validation

Implementation:

  • Chat & conversational UI: message bubbles, tool call visualizations, code block rendering
  • Data visualization: activity heatmaps, progress rings, trend charts, sparklines
  • Micro-interactions: transitions, hover states, loading skeletons, empty states, toasts

Tech Stack

  • Vite + React 19 SPA (client-side rendering, no SSR)
  • Tailwind CSS 4 — utility-first, you think in Tailwind classes
  • shadcn/ui (New York variant) — use and extend, never fight
  • React Query (TanStack Query) — all server state
  • Recharts 3 — all charting and data visualization
  • Lucide icons — consistent iconography
  • react-markdown + react-syntax-highlighter — markdown and code rendering
  • Sonner — toast notifications
  • CSS transitions preferred; Framer Motion only when CSS is insufficient

Project Context

Code Insights — a local-first dashboard SPA that visualizes AI coding sessions. Served by a Hono server reading from a local SQLite database. Key UI areas:

Read the full file on GitHub · 287 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. 2mo ago First seen · 287 lines · 366 tokens per session scan A b083638dbdca

Subscribe to this mod's changes

ux-engineer is an agent published in the GitHub repository melagiri/code-insights (78 stars, last pushed 5mo ago), licensed MIT. It adds 366 tokens to every session and 2,957 once invoked, about $0.0015 per session on Opus 5.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-30.

Related

Other agents, from other repositories

pn-frontend-developer

Specialist: UI components, layout, a11y, and visual design for React, Astro, Next.js, or vanilla HTML/CSS/JS. Invoke directly for focused frontend work or let pn-build route to it.

perniemann/pnCore · 51 tokens

timps_visual_regression_detective

Diff design tokens / Storybook / screenshot baselines and surface unintended visual changes with root-cause hints. Use the timpsvisualregressiondetective MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 58 tokens

God Agent Morpheus — Animation Agent

God Agent Morpheus — Animation & Motion Direction. God of dreams. Morpheus shapes reality into movement — and makes the impossible feel inevi.

Holley-Studio/thesmos-governance · 40 tokens

Eidos — Figma AI Orchestrator

God Agent — Figma AI Orchestrator & Workflow Director. Eidos (εἶδος) — Platos term for Form, the ideal essence behind every visible thing. In Pla.

Holley-Studio/thesmos-governance · 51 tokens

God Agent Hephaestus — Design Agent

God Agent Hephaestus — UI/UX & Design Systems. Blacksmith of the gods. The craftsman who forges beauty from raw material. What Hephaestus.

Holley-Studio/thesmos-governance · 47 tokens

Kairos — Prototype Behavior Engineer

God Agent — Prototype Behavior Engineer & Interaction Fidelity Director. Kairos (καιρός) — the Greek concept of the right moment, the opportune instant when action.

Holley-Studio/thesmos-governance · 42 tokens