WebClaw
by @mailnike
Web dashboard for OpenClaw. Browser-based UI for any installed skill. Schema-driven rendering, JWT auth, RBAC, AI chat, real-time updates. Install web dashbo...
clawhub install webclawπ About This Skill
name: webclaw version: 2.1.0 description: > Web dashboard for OpenClaw. Browser-based UI for any installed skill. Schema-driven rendering, JWT auth, RBAC, AI chat, real-time updates. Install web dashboard, manage users, configure SSL HTTPS, web admin panel. author: AvanSaber / Nikhil Jathar homepage: https://www.erpclaw.ai source: https://github.com/avansaber/webclaw tier: 0 category: infrastructure requires: [] database: ~/.openclaw/webclaw/webclaw.sqlite user-invocable: true tags: [web, dashboard, ui, admin, login, ssl, https, users, roles] metadata: {"openclaw":{"type":"executable","install":{"pre":"bash scripts/check_deps.sh","post":"bash scripts/install.sh","pip":"api/requirements.txt"},"requires":{"bins":["python3","node","npm","nginx","certbot","git","sudo"],"env":[],"optionalEnv":["WEBCLAW_DOMAIN"]},"os":["linux"]}} cron: - expression: "0 2 * * *" timezone: "UTC" description: "Clean expired sessions and check SSL cert renewal" message: "Using webclaw, run the maintenance action." announce: false
webclaw
You are the Web Dashboard administrator for this OpenClaw instance. You manage a browser-based UI that provides forms, tables, charts, and AI chat for every installed skill.
Security Model
Installation Requirements
This is an infrastructure package. Initial installation requires internet access and elevated privileges:
v2.1.0)After installation, all runtime operations are local. No ongoing internet access is required for normal operation. No credentials or API keys are required. All data is stored locally in SQLite.
Skill Activation Triggers
Activate this skill when the user mentions: web dashboard, web UI, web interface, login page, HTTPS, SSL certificate, web users, roles, RBAC, nginx, web admin, dashboard access, browser access, setup web, install web dashboard.
Setup (First Use Only)
IMPORTANT: After installation, tell the user to open the setup page in their browser:
> Open https://YOUR_SERVER/setup to create your admin account.
Steps:
1. Open the URL shown in the install output (e.g., https://1.2.3.4/setup)
2. Create the first admin account (email + password)
3. Log in β all installed skills appear in the sidebar
To enable HTTPS with a custom domain: say "Set up SSL for yourdomain.com"
ERP Company Setup (via erpclaw, NOT webclaw)
CRITICAL: Company setup, demo data, and all ERP actions are handled by the erpclaw skill, not webclaw. Webclaw is only for web dashboard administration (users, SSL, sessions).
To set up a company via Telegram/CLI:
1. First: erpclaw initialize-database (creates tables + shared library β required on first install)
2. Then: erpclaw setup-company --name "Company Name" --currency USD --fiscal-year-start-month 1
3. Optional: erpclaw seed-demo-data (loads sample data)
NEVER import webclaw Python modules directly (e.g., from api.auth import ...). The webclaw API runs as a service β use the actions listed below or call the REST API.
Quick Start (Tier 1)
Check Status
Using webclaw, show me the dashboard status
β runs: status
Enable HTTPS
Set up SSL for erp.example.com
β runs: setup-ssl --domain erp.example.com
Create a Web User
Create a web user for alice@company.com with Manager role
β runs: create-user --email alice@company.com --full-name "Alice" --role Manager
Reset a Password
Reset the web password for alice@company.com
β runs: reset-password --email alice@company.comSet a specific password for alice
β runs: reset-password --email alice@company.com --password MyNewPass123!
All Actions (Tier 2)
| Action | Args | Description |
|--------|------|-------------|
| status | β | Service status, SSL, user count |
| setup-ssl | --domain | Configure HTTPS with Let's Encrypt |
| renew-ssl | β | Check + renew SSL certificate |
| list-users | β | List all web dashboard users |
| create-user | --email, --full-name, --role | Create user with temp password |
| reset-password | --email, --password (optional) | Set specific password, or generate random one |
| disable-user | --email | Disable a user account |
| list-sessions | β | Show active login sessions |
| clear-sessions | β | Force all users to re-login |
| maintenance | β | Cron: clean sessions, check cert |
| restart-services | β | Restart API + frontend services |
| show-config | β | Display current configuration |
Quick Command Reference
| User says | Action |
|-----------|--------|
| "Is the dashboard running?" | status |
| "Set up SSL for example.com" | setup-ssl --domain example.com |
| "Who has web access?" | list-users |
| "Add web user bob@co.com" | create-user --email bob@co.com |
| "Reset password for bob" | reset-password --email bob@co.com |
| "Disable bob's web access" | disable-user --email bob@co.com |
| "Who's logged in?" | list-sessions |
| "Force everyone to re-login" | clear-sessions |
| "Restart the web dashboard" | restart-services |
| "Show web dashboard config" | show-config |
Proactive Suggestions
After create-user: remind user to share the temp password securely.
After setup-ssl: confirm HTTPS redirect is working.
After status shows ssl=false: suggest running setup-ssl.
After status shows users=0: suggest opening /setup in browser.
Technical Details (Tier 3)
Architecture
8 Generic UI Components
DataTable, FormView, DetailView, ChatPanel, ChartPanel, KanbanBoard, CalendarView, TreeView β all render dynamically from skill action responses.Tables Owned
webclaw_user, webclaw_session, webclaw_config, webclaw_role, webclaw_user_role, webclaw_role_permission, chat_session, chat_message, audit_logScript Path
scripts/db_query.py --action [--key value ...]
Per-Skill Customization
Skills can add awebclaw section to their SKILL.md frontmatter:
webclaw:
domain: "GRC & Audit"
database: "~/.openclaw/auditclaw/data.sqlite"
entities:
risk:
table: risk_register
name_col: risk_title
id_col: id
search_cols: [risk_category, severity]