digital staff
by @mikezhuyan
A modern web-based dashboard for managing OpenClaw agents with real-time monitoring, token usage tracking, skill management, and multi-language support. Prov...
clawhub install digital-staff-dashboard📖 About This Skill
name: agent-dashboard-v2 description: A modern web-based dashboard for managing OpenClaw agents with real-time monitoring, token usage tracking, skill management, and multi-language support. Provides a visual interface for agent operations, subagent dispatch management, and comprehensive statistics. metadata: openclaw: emoji: "📊"
Agent Dashboard V2
A modern, feature-rich web dashboard for OpenClaw agent management with real-time monitoring, token usage tracking, and comprehensive agent operations.
Features
Installation
Quick Install
npx skills add mikezhuyan/agent-dashboard@agent-dashboard-v2
Manual Installation
# Clone the repository
git clone https://github.com/mikezhuyan/agent-dashboard.git ~/.agents/skills/agent-dashboard-v2Navigate to the directory
cd ~/.agents/skills/agent-dashboard-v2Install (optional - creates systemd service)
./install.sh
Usage
Starting the Dashboard
# Run directly
python3 dashboard_server.pyOr use the installed service
systemctl --user start agent-dashboard
Access
Open your browser and navigate to:
http://localhost:5181
Dashboard Features
#### 1. Agent Grid View
#### 2. Skill Management
#### 3. Subagent Dispatch
#### 4. Create New Agent
#### 5. Settings
Configuration
The dashboard reads configuration from:
~/.openclaw/openclaw.json - OpenClaw global config~/.config/agent-dashboard/config.json - Dashboard settings (auto-created)Environment Variables
OPENCLAW_HOME=/home/user/.openclaw # Path to OpenClaw installation
DASHBOARD_PORT=5181 # Dashboard server port
Architecture
API Endpoints
The dashboard provides REST API endpoints:
GET /api/agents # List all agents
POST /api/agents # Create new agent
GET /api/agents/ # Get agent details
DELETE /api/agents/ # Delete agent
GET /api/skills # List all skills
GET /api/agents//skills # Get agent skills
POST /api/agents//skills//enable
POST /api/agents//skills//disable
GET /api/stats # Get statistics
Requirements
File Structure
agent-dashboard/
├── dashboard_server.py # Flask backend
├── openclaw_config.py # OpenClaw config manager
├── openclaw_skills.py # Skills management
├── openclaw_finder.py # OpenClaw path finder
├── openclaw_schema.py # Config validation
├── static/
│ ├── css/style.css # Styles
│ ├── js/app.js # Frontend logic
│ └── js/i18n.js # Internationalization
├── install.sh # Installation script
└── SKILL.md # This file
Troubleshooting
Port Already in Use
# Find and kill process using port 5181
lsof -ti:5181 | xargs kill -9
Or use a different port
DASHBOARD_PORT=8080 python3 dashboard_server.py
Cannot Find OpenClaw
# Set environment variable
export OPENCLAW_HOME=/path/to/.openclaw
Permission Denied
# Fix permissions
chmod +x install.sh
chmod 644 static/*
Updating
cd ~/.agents/skills/agent-dashboard-v2
git pull origin main
Restart service if using systemd
systemctl --user restart agent-dashboard
Uninstallation
# Stop service
systemctl --user stop agent-dashboard
systemctl --user disable agent-dashboardRemove files
rm -rf ~/.agents/skills/agent-dashboard-v2
rm -f ~/.config/systemd/user/agent-dashboard.service
License
MIT
Author
@mikezhuyan
Support
For issues and feature requests, visit: https://github.com/mikezhuyan/agent-dashboard/issues
💡 Examples
Starting the Dashboard
# Run directly
python3 dashboard_server.pyOr use the installed service
systemctl --user start agent-dashboard
Access
Open your browser and navigate to:
http://localhost:5181
Dashboard Features
#### 1. Agent Grid View
#### 2. Skill Management
#### 3. Subagent Dispatch
#### 4. Create New Agent
#### 5. Settings
⚙️ Configuration
The dashboard reads configuration from:
~/.openclaw/openclaw.json - OpenClaw global config~/.config/agent-dashboard/config.json - Dashboard settings (auto-created)Environment Variables
OPENCLAW_HOME=/home/user/.openclaw # Path to OpenClaw installation
DASHBOARD_PORT=5181 # Dashboard server port
📋 Tips & Best Practices
Port Already in Use
# Find and kill process using port 5181
lsof -ti:5181 | xargs kill -9
Or use a different port
DASHBOARD_PORT=8080 python3 dashboard_server.py
Cannot Find OpenClaw
# Set environment variable
export OPENCLAW_HOME=/path/to/.openclaw
Permission Denied
# Fix permissions
chmod +x install.sh
chmod 644 static/*