quicker-rpc: Command for Claude Code

.cursor/commands/frontend-check.md

frontend-check is a command for Claude Code, Cursor from QuickerHub/quicker-rpc. It costs 0 tokens per session (510 once invoked), scanned A, original, MIT.

A development command for checking the frontend of the agent-gui application after UI code changes. It checks the running local app and reports frontend issues.

In plain words
What is it for?
Use it after changing agent-gui components, pages, styles, or UI-related Electron code to check paths, inspect reported errors, and confirm that no issues remain.
Why use it?
It catches build and browser-side problems before you claim the interface is fixed, including problems in specific pages such as /tool-test.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is QuickerHub/quicker-rpc's own configuration. It tells Claude Code and Cursor how to work on quicker-rpc 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 quicker-rpc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to QuickerHub/quicker-rpc. 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/QuickerHub/quicker-rpc/main/.cursor/commands/frontend-check.md
Clone the repo
git clone --depth 1 https://github.com/QuickerHub/quicker-rpc

Made for: Claude Code, Cursor.

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-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/frontend-check.svg)](https://agentmods.dev/commands/quickerhub/quicker-rpc/frontend-check)
Your own site
<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/frontend-check"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/frontend-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 510 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.00000 $0.00510
Opus 5 $0.00000 $0.00255
Sonnet 5 $0.00000 $0.00102
Haiku 4.5 $0.00000 $0.00051

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

Security

Grade A, and why

frontend-check 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 6d 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.

.cursor/commands/frontend-check.md · 54 lines

What it actually says

agent-gui 前端检查(dev_frontend_check)

agent-gui UI 改动后执行。先 Read skill:.cursor/skills/quicker-agent-gui-frontend/SKILL.md

何时执行

  • 改了 agent-gui/components/**app/**lib/**(页面逻辑)、app/globals.csselectron/**(影响 UI 时)
  • 准备声称「前端已修好 / 完成」之前
  • 不必跑根目录 build.ps1 -t(仅 UI 时)

前置

  1. pwsh ./dev.ps1pwsh ./dev.ps1 -Electron 在跑(http://127.0.0.1:3000)。
  2. 等待上次保存触发的 Next 编译完成(约 3–8 秒)。

执行(Agent 自跑,勿让用户代劳)

首选 QuickerAgent / MCP 工具:

dev_frontend_check({ paths: ["/", "/tool-test"] })

无 MCP 时用 Shell:

Invoke-RestMethod "http://127.0.0.1:3000/api/dev/frontend-check?paths=/,/tool-test"

改过 /tool-test 或 Electron 标题栏时务必带上 /tool-test

循环直到通过

  1. ok: false → 读返回的 issues[]agent-gui/.local/frontend-build-error.jsonfrontend-client-errors.json
  2. 修源码 → 等待重编译 → 再跑
  3. ok: true 后:
Invoke-RestMethod "http://127.0.0.1:3000/api/dev/frontend-check?clearCaptured=true"

dev_frontend_check({ clearCaptured: true })

完成后汇报

  • ok、探测 URL、issues 数量(应为 0)
  • 若曾修复:简述根因(一行)

禁止

  • 未检查就声称前端无错
  • 仅改 agent-gui/** 却跑 build.ps1 -t
  • agent-gui/.local/*.json 提交 Git
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. 6d ago First seen · 54 lines · 0 tokens per session scan A f19a4f0f75d3

Subscribe to this mod's changes

frontend-check is a command published in the GitHub repository QuickerHub/quicker-rpc (13 stars, last pushed 23d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 510 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.