当前位置: 首页 > Skill >

OpenClaw Bot Dashboard

OpenClaw Bot Dashboard

1.0.5 2026.11.13 浏览:269
获取Skill文件查看使用说明
作者:周辰许可证:
本文目录展开

OpenClaw Dashboard Skill

Launch and manage the OpenClaw Dashboard web UI for monitoring all your bots, agents, models, and sessions.

Activation

Activate when user says:

  • "打开 OpenClaw-bot-review"
  • "打开 Openclaw dashboard"
  • "打开 bot review"
  • "打开机器人大盘"
  • "打开 bot-review"
  • "打开openclaw机器人大盘"
  • "open openclaw dashboard"
  • "open OpenClaw-bot-review"
  • "open bot review"
  • "open bot-review"
  • "launch bot review"
  • "start dashboard"

What This Skill Does

  1. Detects the operating system (macOS/Windows)
  2. Checks if git is installed
  3. Downloads/clones the OpenClaw Dashboard project if not already present
  4. Installs dependencies (npm install)
  5. Starts the development server in background
  6. Returns the access URL to the user

Installation Directory

  • macOS/Linux: ~/projects/OpenClaw-bot-review/
  • Windows: %USERPROFILE%projectsOpenClaw-bot-review

Prerequisites

  • Node.js 18+ must be installed
  • OpenClaw config at ~/.openclaw/openclaw.json (or %USERPROFILE%.openclawopenclaw.json on Windows)

Workflow

Step 1: Check if already running and stop it

# Check if process is already running on port 3000
# macOS/Linux
lsof -ti:3000

# Windows
netstat -ano | findstr :3000

If already running:

  • Stop the service first (ensure clean restart)

macOS/Linux:

lsof -ti:3000 | xargs kill -9 2>/dev/null
echo "已停止旧服务"

Windows (PowerShell):

Get-Process -Id (Get-NetTCPConnection -LocalPort 3000).OwningProcess | Stop-Process -Force
Write-Host "已停止旧服务"

Windows (cmd):

for /f "tokens=5" %a in ('netstat -ano ^| findstr :3000') do taskkill /F /PID %a
echo 已停止旧服务

Then proceed to Step 1.5.

Step 1.5: Check for updates (if project exists)

If project exists, check if there's a newer version:

If git is available:

# macOS/Linux
cd ~/projects/OpenClaw-bot-review
git fetch origin main 2>/dev/null
LOCAL=$(git rev-parse HEAD 2>/dev/null)
REMOTE=$(git rev-parse origin/main 2>/dev/null)

if [ "$LOCAL" != "$REMOTE" ]; then
  echo "update_available"
else
  echo "up_to_date"
fi

# Windows (PowerShell)
cd "$env:USERPROFILEprojectsOpenClaw-bot-review"
git fetch origin main 2>$null
$local = git rev-parse HEAD 2>$null
$remote = git rev-parse origin/main 2>$null
if ($local -ne $remote) { "update_available" } else { "up_to_date" }

If update available:

  • Inform user: "检测到新版本,正在更新..."
  • Pull latest code: git pull origin main
  • Reinstall dependencies: npm install
  • Continue to Step 5 (start service)

If up to date:

  • Continue to Step 5 (start service)

If git is NOT available:

  • Inform user: "检测到项目无 git 管理,正在重新下载最新版本..."
  • Remove old project directory:
    # macOS/Linux
    rm -rf ~/projects/OpenClaw-bot-review
    
    # Windows (PowerShell)
    Remove-Item -Recurse -Force "$env:USERPROFILEprojectsOpenClaw-bot-review"
    
  • Go to Step 3 (download project via ZIP)

Step 2: Check if project exists

# macOS/Linux
test -d ~/projects/OpenClaw-bot-review && echo "exists" || echo "not found"

# Windows (PowerShell)
Test-Path "$env:USERPROFILEprojectsOpenClaw-bot-review"

If exists, skip to Step 4.

Step 3: Download project

Option A: With git (preferred)

# macOS/Linux
mkdir -p ~/projects
cd ~/projects
git clone https://github.com/xmanrui/OpenClaw-bot-review.git

# Windows (PowerShell)
New-Item -ItemType Directory -Force -Path "$env:USERPROFILEprojects"
cd "$env:USERPROFILEprojects"
git clone https://github.com/xmanrui/OpenClaw-bot-review.git

Option B: Without git (fallback)

macOS/Linux:

mkdir -p ~/projects
cd ~/projects
curl -L https://github.com/xmanrui/OpenClaw-bot-review/archive/refs/heads/main.zip -o openclaw-dashboard.zip
unzip openclaw-dashboard.zip
mv OpenClaw-bot-review-main OpenClaw-bot-review
rm openclaw-dashboard.zip

Windows (PowerShell):

New-Item -ItemType Directory -Force -Path "$env:USERPROFILEprojects"
cd "$env:USERPROFILEprojects"
Invoke-WebRequest -Uri "https://github.com/xmanrui/OpenClaw-bot-review/archive/refs/heads/main.zip" -OutFile "openclaw-dashboard.zip"
Expand-Archive -Path "openclaw-dashboard.zip" -DestinationPath "."
Rename-Item -Path "OpenClaw-bot-review-main" -NewName "OpenClaw-bot-review"
Remove-Item "openclaw-dashboard.zip"

Windows (cmd with curl - Windows 10+):

mkdir "%USERPROFILE%projects" 2>nul
cd /d "%USERPROFILE%projects"
curl -L https://github.com/xmanrui/OpenClaw-bot-review/archive/refs/heads/main.zip -o openclaw-dashboard.zip
tar -xf openclaw-dashboard.zip
ren OpenClaw-bot-review-main OpenClaw-bot-review
del openclaw-dashboard.zip

Step 4: Install dependencies (if needed)

Check if node_modules exists. If not:

# macOS/Linux
cd ~/projects/OpenClaw-bot-review
npm install

# Windows
cd "%USERPROFILE%projectsOpenClaw-bot-review"
npm install

Step 5: Start the server

macOS/Linux:

cd ~/projects/OpenClaw-bot-review
npm run dev > /dev/null 2>&1 &

Windows (PowerShell):

cd "$env:USERPROFILEprojectsOpenClaw-bot-review"
Start-Process -NoNewWindow -FilePath "npm" -ArgumentList "run", "dev"

Windows (cmd):

cd /d "%USERPROFILE%projectsOpenClaw-bot-review"
start /B npm run dev

Step 6: Wait for server to be ready

Poll http://localhost:3000 until it responds (max 30 seconds).

# macOS/Linux
for i in {1..30}; do
  curl -s http://localhost:3000 > /dev/null && break
  sleep 1
done

# Windows (PowerShell)
for ($i=0; $i -lt 30; $i++) {
  try {
    Invoke-WebRequest -Uri "http://localhost:3000" -UseBasicParsing -TimeoutSec 1 | Out-Null
    break
  } catch {
    Start-Sleep -Seconds 1
  }
}

Step 7: Return access URLs (required)

You MUST return both:

  • Local URL
  • LAN URL

First, actually detect the machine's LAN IPv4 address. Do not guess it.

macOS/Linux:

(ipconfig getifaddr en0 || ipconfig getifaddr en1 || hostname -I | awk '{print $1}') 2>/dev/null

Windows (PowerShell):

(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias "Ethernet*","Wi-Fi*" | Select-Object -First 1).IPAddress

Rules:

  • You MUST execute an IP detection command before composing the final reply.
  • Do NOT guess or fabricate the LAN IP.
  • Do NOT omit the LAN URL just because localhost works.
  • You MUST include both the local URL and the LAN URL in the final reply.
  • If LAN IP detection fails, you MUST still include the local URL and explicitly say:
    • 局域网访问地址:获取失败
    • and briefly mention that LAN IP detection failed.
  • Do NOT end with only a localhost URL.

Return message format:

✅ OpenClaw Dashboard 已启动!

访问地址:
- 本地访问:http://localhost:3000
- 局域网访问:http://<LAN-IP>:3000

Dashboard 会自动读取你的 OpenClaw 配置,展示所有机器人、模型、会话的状态。

需要停止服务时告诉我一声。

If LAN IP detection fails, use:

✅ OpenClaw Dashboard 已启动!

访问地址:
- 本地访问:http://localhost:3000
- 局域网访问:获取失败

原因:未能检测到当前机器的局域网 IPv4 地址。

需要停止服务时告诉我一声。

Stopping the Server

When user asks to stop:

macOS/Linux:

lsof -ti:3000 | xargs kill -9

Windows (PowerShell):

Get-Process -Id (Get-NetTCPConnection -LocalPort 3000).OwningProcess | Stop-Process -Force

Windows (cmd):

for /f "tokens=5" %a in ('netstat -ano ^| findstr :3000') do taskkill /F /PID %a

Error Handling

  • Node.js not found: Tell user to install Node.js 18+ from https://nodejs.org/
  • Port 3000 already in use: Check if it's the dashboard (return URL) or another service (suggest using a different port with PORT=3001 npm run dev)
  • OpenClaw config not found: Warn that dashboard may not work properly without ~/.openclaw/openclaw.json
  • Download failed: Suggest checking internet connection or manually downloading from GitHub
  • npm install failed: Suggest running npm cache clean --force and retrying

Notes

  • The server runs in background and persists until stopped or system reboot
  • Dashboard reads config directly from ~/.openclaw/openclaw.json - no database needed
  • Supports auto-refresh, dark/light theme, i18n (Chinese/English)
  • Includes pixel-art office animation for fun visualization

Platform Detection

# Detect OS
uname -s  # macOS: Darwin, Linux: Linux, Windows (Git Bash): MINGW*/MSYS*

# Windows detection in PowerShell
$PSVersionTable.Platform  # Win32NT or empty on Windows

Git Detection

# Check if git is available
git --version
# Exit code 0 = installed, non-zero = not installed

Detection logic:

  1. Run git --version at the beginning
  2. Store result (available/not available)
  3. Use this result throughout the workflow

If git not available:

  • Always use ZIP download method
  • Always force re-download when project exists (to get latest version)
  • Clean up old directory before downloading

Implementation Tips

  1. Always stop old service first - ensures clean restart with latest code
  2. Check git availability at the start - determines update strategy
  3. With git: Check for updates and pull if needed
  4. Without git: Force re-download ZIP to ensure latest version
  5. No user confirmation needed - auto-update and restart for best UX
  6. Use background process management to avoid blocking
  7. Provide clear feedback at each step ("已停止旧服务", "检测到新版本,正在更新...", "正在重新下载最新版本...")
  8. Handle both PowerShell and cmd on Windows
  9. Clean up temporary files (zip archives)
  10. Log errors for debugging but keep user messages simple
  11. Always ensure latest code - either via git pull or re-download

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
Skill 文件
  • SKILL.md
    • OpenClaw Dashboard Skill
    • Activation
    • What This Skill Does
    • Installation Directory
    • Prerequisites
    • Workflow
      • Step 1: Check if already running and stop it
      • Step 1.5: Check for updates (if project exists)
      • Step 2: Check if project exists
      • Step 3: Download project
      • Step 4: Install dependencies (if needed)
      • Step 5: Start the server
      • Step 6: Wait for server to be ready
      • Step 7: Return access URLs (required)
    • Stopping the Server
    • Error Handling
    • Notes
    • Platform Detection
    • Git Detection
    • Implementation Tips
  • 项目或源文件

相关 Skill

更多
OpenClaw Dashboard Skill Modal Patch OpenClaw Dashboard Skill Modal Patch 修复 OpenClaw 控制 UI 技能模态框在点击技能行时无响应,DevTools 显示 showModal InvalidStateError,因为对话框未打开
OpenClaw Dashboard OpenClaw Dashboard 用于本地可视化运营仪表盘,展示OpenClaw的可爱机器人形象、实时状态、聊天入口和效率趋势。
OpenClaw Dashboard Theme Changer OpenClaw Dashboard Theme Changer 一句话更改 OpenClaw Dashboard 的强调色,自动查找 CSS/JS 文件并更新所有强调色 CSS 变量。
token-panel-ultimate token-panel-ultimate Track AI usage across Claude Max, ChatGPT, Gemini & Manus in one OpenClaw dashboard. 5-hour/7-day rolling windows, per-model rate limits, credit balances, reset times. Webchat widget overlay. Never hi
SeedFlip Dashboard Theme SeedFlip Dashboard Theme Re-theme your OpenClaw dashboard with 104 curated design seeds from SeedFlip. Fonts, colors, shadows, radii. One command, instant transformation.