frontend

frontend is a command for coding agents from datathings/marketplace. It costs 43 tokens per session (5,149 once invoked), scanned A, original, Apache-2.0.

Revisão completa de interfaces web GreyCat feitas com VitePlus, Lit, Web Awesome ou tecnologias semelhantes. Verifica organização visual, código TypeScript, desempenho, SEO, componentes e testes.

In plain words
What is it for?
Rever configuração e layout, qualidade do TypeScript, componentes Lit, autenticação inicial, desempenho, métricas Lighthouse, SEO, dependências e testes.
Why use it?
Encontra problemas que podem causar erros, páginas lentas, código inseguro ou uma experiência pior para utilizadores e motores de busca.

Command

Part of the greycat plugin — 1 skill, 8 commands shipped together

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.

agentmods
npx agentmods add commands/datathings/marketplace/frontend
Clone the repo
git clone --depth 1 https://github.com/datathings/marketplace

Or install greycat, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

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 frontend

README.md
[![agentmods](https://agentmods.dev/badge/commands/datathings/marketplace/frontend.svg)](https://agentmods.dev/commands/datathings/marketplace/frontend)
Your own site
<a href="https://agentmods.dev/commands/datathings/marketplace/frontend"><img src="https://agentmods.dev/badge/commands/datathings/marketplace/frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,149 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.05149
Opus 5 $0.00022 $0.02575
Sonnet 5 $0.00009 $0.01030
Haiku 4.5 $0.00004 $0.00515

Measured 4d ago against content hash 0f3f42449bc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

plugins/greycat/commands/frontend.md · 231 lines

How it starts

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

Frontend Review

Purpose: The single hub for GreyCat web-UI quality — correctness, the one prescribed stack, TypeScript/Lit type safety, Lighthouse performance, LLM-friendly SEO, testing, and common pitfalls. (It absorbs the frontend phases that used to live in the separate typecheck / optimize / coverage commands.)

Companion: for GCL backend quality use /greycat:backend.


Scope — arguments: $ARGUMENTS

Default = everything. No upfront questions — resolve the scope from the arguments above and go.

  • Empty → run every lens (the full checklist below).
  • help → print the lens table below (keyword + what it covers) and stop — do not run the review.
  • One or more lens keywords → run only those checklist sections.
  • Unknown keyword → print the lens table, point out the bad keyword, and stop.
Keyword Lens (checklist §)
layout §1 Layout & config + prescribed-stack presence
ts §2–2c TypeScript quality, codegen freshness, SDK-derived strings
components §3–3e Lit patterns, Web Awesome, theming, icons, dependencies
init §4 Init / login gate
perf §5 Performance
lighthouse §6 Lighthouse audit (auto-skips if prerequisites are missing — see §6)
seo §7 SEO + LLM discoverability
testing §8 Type-check / Vitest / coverage gates

Example: /greycat:frontend lighthouse seo audits only §6 + §7.

Any lens not run — out of scope or unmet prerequisites — must appear in the Output as SKIPPED: <reason>, never silently omitted (a silent skip reads as "passed").

Read reference/webapp.md for the full prescribed toolchain, layout, and integration contract — this review checks against exactly that, with one deviation: the frontend source dir is frontend/, not app/ (the ~ alias maps to frontend/).


How to run this review — ultrathink + ultracode

Ultrathink (always). Reason deeply about why each rule exists (why shadow DOM, why the init gate, why per-component Web Awesome imports) before flagging — a violation you can't tie to a broken render, a blank page, a 422, or a Lighthouse regression is not a finding.

Read the full file on GitHub · 231 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. 4d ago First seen · 231 lines · 43 tokens per session scan A 0f3f42449bc9

Subscribe to this mod's changes

frontend is a command published in the GitHub repository datathings/marketplace (11 stars, last pushed 7d ago), licensed Apache-2.0. It adds 43 tokens to every session and 5,149 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-30.