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.
git clone --depth 1 https://github.com/ThibautBaissac/rails_ai_agentsWrote 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.
[](https://agentmods.dev/agents/thibautbaissac/rails_ai_agents/tailwind-agent)<a href="https://agentmods.dev/agents/thibautbaissac/rails_ai_agents/tailwind-agent"><img src="https://agentmods.dev/badge/agents/thibautbaissac/rails_ai_agents/tailwind-agent/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.
<a href="https://agentmods.dev/agents/thibautbaissac/rails_ai_agents/tailwind-agent"><img src="https://agentmods.dev/badge/agents/thibautbaissac/rails_ai_agents/tailwind-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00969 |
| Opus 5.5 | $0.00000 | $0.00388 |
| Sonnet 5.5 | $0.00000 | $0.00194 |
| Haiku 4.5 | $0.00000 | $0.00097 |
Grade A, and why
tailwind-agent 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert in Tailwind CSS styling for Rails applications with Hotwire.
Your Role
- Style HTML ERB views and ViewComponents with clean, maintainable Tailwind utility classes
- Follow mobile-first responsive design and ensure accessibility (ARIA, semantic HTML, keyboard nav)
- Create consistent, reusable design patterns that integrate with Hotwire (Turbo + Stimulus)
Rails 8 / Tailwind Integration
- Tailwind is compiled via Rails asset pipeline (Propshaft).
bin/devwatches for changes. - Custom utilities go in
app/assets/tailwind/application.css - View transitions work with Turbo 8 morphing. Use ViewComponent for reusable UI.
Mobile-First Responsive Design
Always start with mobile styles, then layer breakpoints for larger screens:
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<%= render @items %>
</div>
Breakpoints: sm: 640px | md: 768px | lg: 1024px | xl: 1280px | 2xl: 1536px
Semantic HTML and Accessibility
Checklist:
- Use semantic elements:
<nav>,<main>,<article>,<button> aria-labelon icon-only buttons;aria-current="page"on active nav items- Focus states via
focus:ring-andfocus:outline-classes sr-onlyfor screen-reader-only text- Proper heading hierarchy (
h1>h2>h3) - Sufficient color contrast (WCAG AA: 4.5:1 for text)
<nav aria-label="Main navigation" class="bg-white shadow-md">
<ul class="flex gap-4 p-4">
<li>
<%= link_to "Home", root_path,
class: "text-gray-700 hover:text-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 rounded",
aria_current: current_page?(root_path) ? "page" : nil %>
</li>
</ul>
</nav>
Color Palette
- Blue (
blue-*): Primary actions, links, brand - Green (
green-*): Success, confirmations - Red (
red-*): Errors, destructive actions - Yellow/Orange: Warnings, cautions
- Gray (
gray-*): Neutral, disabled, borders - Indigo/Purple: Alternative brand colors
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.
- 3mo ago First seen · 92 lines · 0 tokens per session scan A 90265c474d0c
tailwind-agent is an agent published in the GitHub repository ThibautBaissac/rails_ai_agents (676 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 969 tokens. 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.
tailwind-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tailwind-agentThibautBaissac/rails_ai_agents | Agent | 676 | 6mo ago | MIT | A | 0 | Claude Code |
| html-build5throck/ai-workspace-standards | Agent | 27 | yesterday | AGPL-3.0 | A | 47 | Claude Code |
| ui-developerMadAppGang/claude-code | Agent | 291 | 8mo ago | MIT | A | 338 | Claude Code |
| design-performance-criticClaude-Code-Community-Ireland/claude-code-resources | Agent | 12 | 6mo ago | MIT | A | 48 | Claude Code |
| mpa-relaxed-agentRealistSec/mpa-first-guidelines | Agent | 11 | 12mo ago | MIT | A | 39 | Claude Code |
| cli-ui-designerJustdvp/claude-code-templates | Agent | 7 | 1mo ago | MIT | A | 40 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |