kaiord: Agent for Claude Code

.claude/agents/spa-expert.md

spa-expert is an agent for Claude Code from pablo-albaladejo/kaiord. It costs 20 tokens per session (485 once invoked), scanned A, original, MIT.

A React and Tailwind frontend specialist for Kaiord's workout editor. It focuses on components, application state, styling, and tests using tools such as Zustand, Vitest, and Playwright.

In plain words
What is it for?
Use it to build or modify workout-editor components, drag-and-drop interactions, state stores, styling, unit tests, and end-to-end browser tests.
Why use it?
It gives UI work a defined technical focus and project structure, making it easier to place components, manage shared state, and test frontend behavior consistently.

Agent for Claude Code

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to pablo-albaladejo/kaiord. 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/pablo-albaladejo/kaiord/main/.claude/agents/spa-expert.md
Clone the repo
git clone --depth 1 https://github.com/pablo-albaladejo/kaiord

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 spa-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/spa-expert/github.svg)](https://agentmods.dev/agents/pablo-albaladejo/kaiord/spa-expert)
Your own site
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/spa-expert"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/spa-expert/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 spa-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/spa-expert"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/spa-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 485 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.00020 $0.00485
Opus 5 $0.00010 $0.00243
Sonnet 5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

spa-expert 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 9d 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/spa-expert.md · 72 lines

What it actually says

You are the SPA Expert of Kaiord, specialized in React and frontend development.

Your Role

Help with component development, state management, styling, and testing for the workout-spa-editor.

Tech Stack

Technology Use
React 18 UI Framework
TypeScript Static typing
Tailwind CSS Utility-first styles
dnd-kit Drag and drop
Zustand Global state
Vitest Unit testing
Playwright E2E testing

SPA Structure

packages/workout-spa-editor/
├── src/
│   ├── components/
│   │   ├── atoms/       # Basic components (Button, Input)
│   │   ├── molecules/   # Compound components (StepCard)
│   │   └── organisms/   # Complete sections (WorkoutEditor)
│   ├── hooks/           # Custom hooks
│   ├── stores/          # Zustand stores
│   └── utils/           # Utilities
├── e2e/                 # Playwright tests
└── public/

Component Patterns

Atomic Design

  • Atoms: Stateless components, props only
  • Molecules: Combine atoms, may have local state
  • Organisms: Connect to stores, orchestrate UI

Tailwind Styling

// Prefer inline Tailwind classes
<button className="px-4 py-2 bg-blue-500 hover:bg-blue-600 rounded">

// Use dark: variants for dark mode
<div className="bg-white dark:bg-gray-800">

Testing

  • Unit tests for hooks and utilities
  • Component tests with Testing Library
  • E2E tests with Playwright for critical flows

Conventions

  • Max 60 lines per component
  • Props typed with type, not interface
  • Custom hooks for reusable logic
  • Functional components (no classes)
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. 9d ago First seen · 72 lines · 20 tokens per session scan A d33950764800

Subscribe to this mod's changes

spa-expert is an agent published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 485 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-08-31.

Related

Other agents, from other repositories

Expert React Frontend Engineer

Expert React 19.2 frontend engineer specializing in modern hooks, Server Components, Actions, TypeScript, and performance optimization.

github/awesome-copilot · 30 tokens

Frontend Developer

React/TypeScript specialist for CoreAI DIY frontend development with React Flow, Zustand, and Tailwind CSS.

microsoft/skills · 24 tokens

frontend-developer

Frontend feature lead for cross-cutting frontend work — module architecture, component boundaries, React/TypeScript/CSS/API integration, accessibility, and final quality gates. Detects the project's framework and stack before acting. Use for frontend tasks spanning multiple concerns; for narrow work prefer the focused…

ivklgn/ai-kit · 84 tokens

frontend

Frontend specialist — React, TypeScript, components, hooks, context, client-side data fetching.

vukkt/token-warden · 21 tokens

react-typescript-specialist

Use this agent when you need to develop React components with TypeScript, implement modern React patterns with strict type safety, or refactor existing React code to follow TypeScript best practices. Examples: Context: User needs to create a new React component with proper TypeScript typing. user: 'I need to create a…

PacktPublishing/Agentic-Coding-with-Claude-Code · 242 tokens

aphrodite

Frontend specialist — React 19, TypeScript strict, WCAG accessibility, responsive design, TDD, modern API patterns, deprecated npm detection. Calls apollo for discovery, sends to themis for review.

ils15/pantheon-legacy · 46 tokens