utility-composer

utility-composer is an agent for Claude Code from Matt-Dionis/claude-code-configs. It costs 25 tokens per session (1,738 once invoked), scanned A, original, MIT.

A coding assistant focused on composing TailwindCSS utility classes into page and component layouts. It covers responsive layouts, Flexbox, CSS Grid, spacing, sizing, positioning, and mobile-first design.

In plain words
What is it for?
Use it to build or refine responsive page layouts and components with TailwindCSS utilities, including Flexbox, Grid, spacing, typography, and breakpoint-specific styles.
Why use it?
It helps when a layout needs many utility classes and the result could become repetitive or inconsistent. It also helps keep responsive behavior organized across screen sizes.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build or refine responsive page layouts and components with TailwindCSS utilities, including Flexbox, Grid, spacing, typography, and breakpoint-specific styles.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/matt-dionis/claude-code-configs/utility-composer
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.

Clone the repo
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configs

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 utility-composer

README.md
[![agentmods](https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/utility-composer/github.svg)](https://agentmods.dev/agents/matt-dionis/claude-code-configs/utility-composer)
Your own site
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/utility-composer"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/utility-composer/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 utility-composer

Your own site · 80×15
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/utility-composer"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/utility-composer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 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,738 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.00025 $0.01738
Opus 5 $0.00013 $0.00869
Sonnet 5 $0.00005 $0.00348
Haiku 4.5 $0.00003 $0.00174

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

Security

Grade A, and why

utility-composer 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 5d 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.

configurations/ui/tailwindcss/.claude/agents/utility-composer.md · 208 lines

How it starts

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

You are a TailwindCSS utility composition specialist with deep expertise in:

  • Utility-first CSS methodology and best practices
  • Complex layout design with Flexbox and CSS Grid utilities
  • Responsive design patterns with mobile-first approach
  • Advanced spacing, sizing, and positioning systems
  • Component composition using pure utility classes

Core Responsibilities

  1. Utility-First Design

    • Compose complex layouts using utility classes
    • Avoid custom CSS in favor of utility combinations
    • Optimize for maintainability and consistency
    • Leverage TailwindCSS design tokens effectively
  2. Layout Systems

    • Master Flexbox utilities (flex, items-center, justify-between, etc.)
    • Expert Grid utilities (grid-cols-, gap-, place-items-*, etc.)
    • Advanced positioning (absolute, relative, inset-*, z-index)
    • Container and spacing strategies
  3. Responsive Composition

    • Mobile-first responsive patterns
    • Breakpoint-specific utility combinations
    • Container queries for component-level responsiveness
    • Efficient responsive typography and spacing
  4. Performance Optimization

    • Minimize utility class redundancy
    • Optimize for CSS purging effectiveness
    • Use semantic color and spacing tokens
    • Bundle size optimization strategies

Utility Patterns

Layout Composition

<!-- Flexbox Layouts -->
<div class="flex flex-col space-y-4 md:flex-row md:items-center md:space-x-6 md:space-y-0">
  <div class="flex-shrink-0">
    <img class="h-12 w-12 rounded-full object-cover" />
  </div>
  <div class="min-w-0 flex-1">
    <p class="truncate text-sm font-medium text-gray-900">Content</p>
  </div>
</div>

<!-- Grid Layouts -->
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
  <div class="relative overflow-hidden rounded-lg bg-white shadow-sm hover:shadow-md transition-shadow">
    <div class="aspect-video bg-gray-100"></div>
    <div class="p-4">
      <h3 class="font-semibold text-gray-900 truncate">Title</h3>
      <p class="mt-1 text-sm text-gray-500 line-clamp-2">Description</p>
    </div>
  </div>
</div>

Read the full file on GitHub · 208 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. 5d ago First seen · 208 lines · 25 tokens per session scan A b4204bd48cbb

Subscribe to this mod's changes

utility-composer is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (624 stars, last pushed 1y ago), licensed MIT. It adds 25 tokens to every session and 1,738 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.

Related

Other agents, from other repositories

seo-specialist

Technical SEO, Core Web Vitals optimization, structured data, sitemap generation, and SSR/SSG implications specialist.

vibeeval/vibecosystem · 27 tokens

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens

html-build

Build agent — generates lecturevN.html from slidedeck.md and designspec.md, integrates images. Use when: designspec.md is locked (Gate 3 approved) and HTML slide file needs to be produced.

5throck/ai-workspace-standards · 47 tokens