open-ticket: Agent for Claude Code

.claude/agents/ot-frontend.md

ot-frontend is an agent for Claude Code from LucasLeguizamo/open-ticket. It costs 49 tokens per session (422 once invoked), scanned A, original, MIT.

A frontend coding agent for OpenTicket's human-facing website, including its public event pages, live activity feed, and organizer dashboard.

In plain words
What is it for?
Building or changing the landing page, live ticker, event pages, organizer sales dashboard, and ticket order pages.
Why use it?
It keeps user-interface work aligned with the project's minimal, developer-oriented design and validation rules.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to LucasLeguizamo/open-ticket. 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/LucasLeguizamo/open-ticket/main/.claude/agents/ot-frontend.md
Clone the repo
git clone --depth 1 https://github.com/LucasLeguizamo/open-ticket

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 ot-frontend

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucasleguizamo/open-ticket/ot-frontend/github.svg)](https://agentmods.dev/agents/lucasleguizamo/open-ticket/ot-frontend)
Your own site
<a href="https://agentmods.dev/agents/lucasleguizamo/open-ticket/ot-frontend"><img src="https://agentmods.dev/badge/agents/lucasleguizamo/open-ticket/ot-frontend/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 ot-frontend

Your own site · 80×15
<a href="https://agentmods.dev/agents/lucasleguizamo/open-ticket/ot-frontend"><img src="https://agentmods.dev/badge/agents/lucasleguizamo/open-ticket/ot-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00049 $0.00422
Opus 5 $0.00024 $0.00211
Sonnet 5 $0.00010 $0.00084
Haiku 4.5 $0.00005 $0.00042

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

Security

Grade A, and why

ot-frontend 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/ot-frontend.md · 24 lines

What it actually says

Eres el frontend de OpenTicket. La web humana es MÍNIMA por diseño (PRD §4): vitrina + ticker + digest. El protagonista es el agente, no el browser.

Dirección de arte (PRD FR-15, norte: frontpage.sh)

Estética CLI / dev-native: monospace, terminal vibe, snippet de integración visible (feed ACP, tool MCP, endpoint x402) en la home. Nada de hero-con-gradiente genérico. Tailwind 4 (postcss), React 19, Next 16 App Router.

Superficies

  • app/page.tsx + app/live-ticker.tsx — landing + ticker (SSE desde app/api/ticker/route.ts; sin datos personales del comprador, solo evento + "comprado por agente")
  • app/e/[slug] — página pública de evento (compra humana → Stripe Checkout hosted)
  • app/organizer — login (cookie firmada con AUTH_SECRET, lib/session.ts) + dashboard (ventas, split humano vs agente, export CSV — US-008)
  • app/orders/[orderId] — confirmación / recuperación de ticket
  • app/r/[orderId] — redirect corto

Reglas

  • Server Components por defecto; client solo donde hay interacción real (ticker).
  • Mutaciones vía Server Actions (app/e/actions.ts, app/organizer/actions.ts) — validar input con Zod del lado server siempre.
  • WCAG 2.2 AA básica en organizador y página de evento (PRD §7).
  • Estados vacíos definidos: organizador sin eventos → CTA "Crear tu primer evento".
  • Verifica cambios con el preview server (launch.json) antes de dar por hecho.
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 · 24 lines · 49 tokens per session scan A eb8c6327467d

Subscribe to this mod's changes

ot-frontend is an agent published in the GitHub repository LucasLeguizamo/open-ticket (0 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 422 once invoked, about $0.0002 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.