llmlb: Command for Claude Code

.claude/commands/e2e.full.md

e2e.full is a command for Claude Code from akiojin/llmlb. It costs 23 tokens per session (1,538 once invoked), scanned A, original, MIT.

A command that runs a complete end-to-end browser test of an LLM router's dashboard and playground. The playground is the interactive chat area, while end-to-end testing checks the full user-facing flow across both pages.

In plain words
What is it for?
Use it to test dashboard controls, statistics, model and node views, dialogs, playground sessions, model selection, settings, chat input, and message exchange.
Why use it?
It brings many interface checks into one ordered run instead of requiring separate manual checks for each page and interaction.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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

Reuse

Borrowing it

Nothing to install: this file belongs to akiojin/llmlb. 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/akiojin/llmlb/develop/.claude/commands/e2e.full.md
Clone the repo
git clone --depth 1 https://github.com/akiojin/llmlb

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 e2e.full

README.md
[![agentmods](https://agentmods.dev/badge/commands/akiojin/llmlb/e2e.full/github.svg)](https://agentmods.dev/commands/akiojin/llmlb/e2e.full)
Your own site
<a href="https://agentmods.dev/commands/akiojin/llmlb/e2e.full"><img src="https://agentmods.dev/badge/commands/akiojin/llmlb/e2e.full/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 e2e.full

Your own site · 80×15
<a href="https://agentmods.dev/commands/akiojin/llmlb/e2e.full"><img src="https://agentmods.dev/badge/commands/akiojin/llmlb/e2e.full.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.01538
Opus 5.5 $0.00009 $0.00615
Sonnet 5.5 $0.00005 $0.00308
Haiku 4.5 $0.00002 $0.00154

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

Security

Grade A, and why

e2e.full scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Settings | 11 | `#settings-toggle`, `#modal-close`, `.provider-btn`, `#api-key-input`, `#stream-toggle`, `#append-system`, `#system-prompt`, `#reset-chat`, `#copy-curl` |
.claude/commands/e2e.full.md · 175 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Goal

MCP Playwrightツールを使用して、LLM RouterのDashboardとPlayground両方の完全なE2Eテストを実行する。 すべてのUI要素、インタラクション、モーダル、フォームを網羅的にテストする。

Prerequisites

  • llmlbサーバーが http://localhost:8080 で起動していること
  • サーバーが起動していない場合は、別ターミナルで cargo run --release -p llmlb を実行

Test Execution Order

Part 1: Dashboard Tests

Execute /e2e.dashboard scenarios:

  1. 初期表示テスト
  2. Header Controls (テーマ、Playground、API Keys、Refresh)
  3. Stats Grid (ノード数、リクエスト数、GPU使用率)
  4. Models Tab (URL登録、モデル一覧、タスク)
  5. Nodes Tab (フィルタ、ソート、ページネーション、Export)
  6. Modals (API Keys、Convert、Chat)

Part 2: Playground Tests

Execute /e2e.playground scenarios:

  1. 初期表示テスト
  2. Sidebar (折りたたみ、セッション管理)
  3. Header (モデル選択、ステータス、設定)
  4. Chat Input (入力、送信)
  5. Settings Modal (Provider、API Key、ストリーミング)
  6. Chat Flow (メッセージ送受信)

Full Test Matrix

Dashboard (90+ checkpoints)

Category Tests Selectors
Header 7 #theme-toggle, #chat-open, #api-keys-button, #refresh-button, #connection-status, #last-refreshed, #refresh-metrics
Stats 8 [data-stat="*"] variants
Models 8 #hf-register-url, #hf-register-url-submit, #registered-models-list, #download-tasks-list, #convert-tasks-list, #convert-modal
Nodes 13 #nodes-body, #filter-status, #filter-query, th[data-sort="*"], #page-prev, #page-next, #select-all, #export-json, #export-csv
History 7 #request-history-tbody, #filter-history-model, #history-per-page, #history-page-prev, #history-page-next, #export-history-csv
Logs 5 #logs-coordinator-list, #logs-coordinator-refresh, #logs-node-select, #logs-node-refresh
Modals 13 #node-modal, #request-modal, #api-keys-modal, #chat-modal, #convert-modal

Playground (29+ checkpoints)

Category Tests Selectors
Sidebar 6 #sidebar, #sidebar-toggle, #new-chat, #session-list
Chat 12 #model-select, #chat-input, #send-button, #stop-button, .message--user, .message--assistant, #router-status, #error-banner
Settings 11 #settings-toggle, #modal-close, .provider-btn, #api-key-input, #stream-toggle, #append-system, #system-prompt, #reset-chat, #copy-curl

Read the full file on GitHub · 175 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. 8d ago First seen · 175 lines · 23 tokens per session scan A ae74f9919676

Subscribe to this mod's changes

e2e.full is a command published in the GitHub repository akiojin/llmlb (10 stars, last pushed 2d ago), licensed MIT. It adds 23 tokens to every session and 1,538 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.