跳至主要内容
小龙虾小龙虾AI
🤖

AI Commander Dashboard

AI Commander Management Dashboard. A lightweight companion web UI for monitoring inbound emails received via the email-webhook skill and browser session stat...

下载454
星标0
版本1.8.0
商业运营
安全通过
⚙️脚本

技能说明


name: aic-dashboard description: AI Commander Management Dashboard. A lightweight companion web UI for monitoring inbound emails received via the email-webhook skill and browser session status created by the browser-auth skill. metadata: {"openclaw": {"requires": {"bins": ["node"], "env": ["DASHBOARD_TOKEN"]}, "primaryEnv": "DASHBOARD_TOKEN", "install": [{"id": "npm-deps", "kind": "node", "package": "express@4.21.2", "label": "Install Dashboard dependencies"}]}}

AI Commander Dashboard

A companion dashboard for AI Commander agents. Displays inbound emails collected by the email-webhook skill and shows the status of browser sessions created by the browser-auth skill.

This skill is a read-only viewer — it does not capture credentials, control browsers, or send messages. It simply reads local data files and serves them via a token-protected web UI.

Companion Skills

SkillWhat it does
email-webhookReceives inbound emails and writes them to inbox.jsonl
browser-authRuns a remote browser tunnel and writes session data to session.json

This dashboard reads both files and displays them in one place.

What This Skill Does

  • Reads inbox.jsonl and displays the last 50 inbound emails
  • Reads session.json and shows whether an active browser session exists
  • Serves a token-gated web UI on a configurable local port
  • Refreshes automatically every 5 seconds

Environment Variables

VariableRequiredDefaultDescription
DASHBOARD_TOKENYesSecret token for accessing the dashboard.
PORTNo19195Port for the web dashboard.
DASHBOARD_HOSTNo127.0.0.1IP to bind the dashboard to.
INBOX_PATHNo./data/inbox.jsonlPath to inbound email data (from email-webhook).
SESSION_PATHNo./data/session.jsonPath to session file (from browser-auth).

Setup

  1. Install dependencies:
    npm install express@4.21.2
    
  2. Start (zero config needed):
    node scripts/server.js
    
  3. Read the printed URL — it includes the auto-generated token:
    🏠 AI COMMANDER DASHBOARD READY
    Access URL: http://YOUR_IP:19195/?token=a3f9c2...
    

That's it. No configuration required.

Optional Environment Variables

Override defaults only if needed:

VariableDefaultDescription
DASHBOARD_TOKEN(random)Custom token instead of auto-generated
PORT19195Server port
DASHBOARD_HOST0.0.0.0Bind address
INBOX_PATH./data/inbox.jsonlPath to email data (from email-webhook)
SESSION_PATH./data/session.jsonPath to session file (from browser-auth)

Security

  • A fresh random token is generated on every start if DASHBOARD_TOKEN is not set
  • All requests require the token (?token=, X-Dashboard-Token header, or Authorization: Bearer)
  • The UI stores the token in localStorage and removes it from the URL after load

如何使用「AI Commander Dashboard」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「AI Commander Dashboard」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能