codespace-verify

A Codespaces command for starting a web application and checking its user interface in a browser. GitHub Codespaces is a cloud development environment, while PostgreSQL, Redis, and RabbitMQ are supporting services the application may need.

In plain words
What is it for?
Verifying the Quantum Shield frontend, its Japanese and English pages, styling, colors, public port 3000, and supporting service status.
Why use it?
It provides a repeatable checklist for starting the services, opening the app, checking its ports, and diagnosing common errors such as a missing page or unstyled interface.

Command for Claude Code

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/kota1026/quantum-shield/codespace-verify
Clone the repo
git clone --depth 1 https://github.com/kota1026/quantum-shield

Made for: Claude Code.

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 474 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.00000 $0.00474
Opus 5 $0.00000 $0.00237
Sonnet 5 $0.00000 $0.00095
Haiku 4.5 $0.00000 $0.00047

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

Security

Grade A, and why

codespace-verify 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 2d 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/commands/codespace-verify.md · 63 lines

What it actually says

Codespaces UI確認コマンド

Codespacesで$ARGUMENTSシステムのUIを確認します。

1. Codespaces起動確認

ターミナルで以下を実行:

# サービス起動状態確認
docker ps

# PostgreSQL, Redis, RabbitMQが起動していない場合
cd /workspaces/quantum-shield
docker compose -f docker/docker-compose.dev.yml up -d

# フロントエンド起動
cd /workspaces/quantum-shield/apps/web
pnpm install
pnpm dev

2. ポート確認

Codespaces の「ポート」タブで以下を確認:

  • 3000: Next.js フロントエンド ← ここでUI確認
  • 5432: PostgreSQL
  • 6379: Redis
  • 15672: RabbitMQ管理画面

3. UI確認URL

ポート3000を「公開」に設定後、以下のURLでアクセス:

https://{codespace-name}-3000.app.github.dev/ja/consumer/landing
https://{codespace-name}-3000.app.github.dev/ja/consumer/dashboard
https://{codespace-name}-3000.app.github.dev/en/consumer/landing

4. 確認チェックリスト

  • ページが404にならない
  • Tailwindスタイルが適用されている(背景色、ボタン色)
  • 日本語/英語切り替えが動作する
  • hinomaru(赤), gold(金)の色が表示される

5. トラブルシューティング

502エラーの場合:

cd /workspaces/quantum-shield/apps/web && pnpm dev

スタイルが適用されない場合:

ls apps/web/postcss.config.js  # 存在確認
cat apps/web/postcss.config.js # 内容確認

ポートが表示されない場合:

  • Codespaces「ポート」タブ → 「ポートの追加」→ 3000
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. 2d ago First seen · 63 lines · 0 tokens per session scan A b34ebd61239d

Subscribe to this mod's changes

codespace-verify is a command published in the GitHub repository kota1026/quantum-shield (0 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 474 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-31.