llmlb: Command for Claude Code

.claude/commands/e2e.playground.md

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

An end-to-end browser test command for an LLM router playground. It opens the chat interface and checks its layout, sessions, model selection, settings, message input, and related interactions.

In plain words
What is it for?
Use it to test the local playground page, including the sidebar, new sessions, model and connection status, settings, chat input, and sending messages.
Why use it?
It reduces the need to manually verify that the playground's controls and chat flow still work after changes.

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.playground.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.playground

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/akiojin/llmlb/e2e.playground"><img src="https://agentmods.dev/badge/commands/akiojin/llmlb/e2e.playground.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 1,326 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.00020 $0.01326
Opus 5.5 $0.00008 $0.00530
Sonnet 5.5 $0.00004 $0.00265
Haiku 4.5 $0.00002 $0.00133

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

Security

Grade A, and why

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

| PST-07 | Copy cURL | `#copy-curl` | クリック |
.claude/commands/e2e.playground.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 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 PlaygroundのE2Eテストを対話的に実行する。 ブラウザを起動し、チャット機能・設定・セッション管理の動作を検証する。

Prerequisites

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

Test Scenarios

Phase 1: 初期表示テスト

  1. ナビゲーション: /playground にアクセス
  2. 初期スクリーンショット: 初期状態を記録
  3. 要素存在確認:
    • サイドバー (#sidebar)
    • チャットエリア (.chat-main)
    • モデル選択 (#model-select)
    • 入力フォーム (#chat-form)

Phase 2: Sidebar テスト

ID テスト内容 セレクタ 操作
PS-01 サイドバー表示 #sidebar 存在確認
PS-02 折りたたみトグル #sidebar-toggle クリック→状態変化確認
PS-03 New Playgroundボタン #new-chat クリック→新規セッション作成
PS-04 セッションリスト #session-list 項目確認

Phase 3: Header テスト

ID テスト内容 セレクタ 操作
PH-01 モデル選択 #model-select オプション一覧確認
PH-02 接続ステータス #router-status 状態確認
PH-03 設定ボタン #settings-toggle クリック→モーダル表示

Phase 4: Chat Input テスト

ID テスト内容 セレクタ 操作
PC-01 メッセージ入力 #chat-input テキスト入力
PC-02 送信ボタン #send-button 存在確認
PC-03 停止ボタン #stop-button 存在確認(hidden状態)
PC-04 Enterキー送信 #chat-input Enter押下

Phase 5: Settings Modal テスト

ID テスト内容 セレクタ 操作
PST-01 モーダル開く #settings-toggle クリック
PST-02 Provider切替 .provider-btn 各ボタンクリック
PST-03 API Key入力 #api-key-input テキスト入力
PST-04 ストリーミングトグル #stream-toggle チェック切替
PST-05 システムプロンプト #system-prompt テキスト入力
PST-06 Clear Playground #reset-chat クリック
PST-07 Copy cURL #copy-curl クリック
PST-08 モーダル閉じる #modal-close クリック

Phase 6: Chat Flow テスト(オプション)

モデルが利用可能な場合のみ実行:

ID テスト内容 操作
CF-01 メッセージ送信 テキスト入力→送信
CF-02 ユーザーメッセージ表示 .message--user 確認
CF-03 レスポンス待機 .message--assistant 確認
CF-04 履歴保存 セッションリスト更新確認

Read the full file on GitHub · 133 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 · 133 lines · 20 tokens per session scan A 7c42adf0569c

Subscribe to this mod's changes

e2e.playground is a command published in the GitHub repository akiojin/llmlb (10 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 1,326 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.