admin-ui-debug

$npx mdskill add vercel-labs/vercel-openclaw-archived/admin-ui-debug

Debug the vercel-openclaw admin UI and operator control surface.

  • Fixes broken admin UI, controls, visual state, or operator copy.
  • Depends on /api/status, /api/channels/summary, launch verify, preflight, and logs.
  • Uses evidence-first approach: screenshots, console errors, and viewport checks.
  • Delivers targeted fixes to command-shell.tsx and admin core files with verification.

SKILL.md

.github/skills/admin-ui-debugView on GitHub ↗
---
name: admin-ui-debug
description: "Admin UI and operator surface debugging for vercel-openclaw: command shell design, admin actions, request core, status panels, launch verification UI, channel readiness UI, and local read-only production-data workflows. Use when the root admin UI, controls, visual state, or operator copy is wrong."
---

# Admin UI Debug

Use this skill when the root admin control surface or operator-facing UI behavior is the focus.

## Evidence First

Collect:

- Screenshot or browser reproduction path.
- API payloads the UI consumes: `/api/status`, `/api/channels/summary`, launch verify, preflight, logs.
- Browser console errors.
- Whether `LOCAL_READ_ONLY=1` is set.
- Mobile and desktop viewport checks for layout changes.

## Design Constraints

This is an operator control surface, not a marketing dashboard. Keep it dense, dark-only, Vercel-native, and restrained. Avoid decorative cards, ornamental color, and copy that explains obvious controls.

Use existing components and patterns before adding abstractions. Keep text small enough for compact panels and ensure button/card text cannot overflow.

## Fix Boundaries

- UI: `src/components/designs/command-shell.tsx`.
- Action/request helpers: `src/components/admin-{action,request}-core.ts`.
- API shape changes: affected route/shared type only.
- Design reference: `.impeccable.md`.

## Verification

Run focused tests/typecheck and, for visual changes, use browser verification or screenshots:

```bash
node scripts/verify.mjs --steps=test,typecheck
lat check
```

When a dev server is needed, start it and report the URL.

More from vercel-labs/vercel-openclaw-archived

SkillDescription
auth-store-debugAuth and store debugging for vercel-openclaw: admin-secret mode, Sign in with Vercel, session cookies, CSRF, LOCAL_READ_ONLY, Redis vs memory store, keyspace namespacing, and metadata shape migrations. Use when login, route authorization, Redis persistence, or metadata state is suspect.
channel-debug-coreChannel webhook triage for vercel-openclaw Slack/Telegram/Discord/WhatsApp issues: prove deployment state, collect admin readiness endpoints, build evidence-first handoff before fixes.
channel-forward-parityWebhook route parity audit for channel delivery changes: ensure terminal paths log, record lastForward, classify failures, and refresh stale sandbox port URLs.
cron-watchdog-debugCron and watchdog debugging for vercel-openclaw: Vercel Cron auth, persisted OpenClaw jobs, cron wake keys, token refresh, restore oracle, hot spare, and watchdog reports. Use when scheduled OpenClaw jobs fail to wake or run, watchdog status is wrong, cron persistence is suspect, or /api/cron/watchdog behavior changes.
discord-deliveryDiscord channel specialist workflow: debug interaction webhooks, Ed25519 signatures, deferred replies, workflow forwarding to /discord-webhook, integration reconcile, and token expiry.
firewall-ai-gateway-debugFirewall and Vercel AI Gateway debugging for vercel-openclaw: network policy allowlists, OIDC token refresh, AI Gateway transform rules, firewall learning/enforcement, and sandbox.update networkPolicy calls. Use when model calls, egress, token refresh, or firewall policy application fails.
gateway-proxy-debugGateway and proxy debugging for vercel-openclaw: /gateway routing, HTML injection, WebSocket rewrite, gateway-token handoff, waiting page, status heartbeat, sandbox port URL cache, and proxy auth. Use when the OpenClaw UI, WebSockets, gateway proxying, or waiting-page flow breaks.
lat-md>-
launch-verify-debugLaunch verification and remote smoke debugging for vercel-openclaw: preflight, queue ping, ensureRunning, chatCompletions, wakeFromSleep, restorePrepared, channelReadiness, NDJSON progress, and vclaw create readiness. Use when launch verification, vclaw create validation, or remote smoke checks fail.
openclaw-bootstrap-debugOpenClaw bootstrap, bundle, config, and restore-asset debugging for vercel-openclaw: openclaw.bundle sidecars, plugin discovery, channel catalog, restart scripts, config hashes, dynamic resume files, and fast restore. Use when setup, gateway boot, plugin loading, or bundle-sidecar compatibility fails.