浏览器

WebClaw

试用

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...

它能做什么

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.

技能文档

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

  • HTTPS enforced via Let's Encrypt (setup-ssl action)
  • JWT authentication — access tokens (15 min) + refresh tokens (7 days, httpOnly cookies)
  • RBAC — role-based permission checks before every skill action
  • Rate limiting — 5/min auth, 30/min writes, 100/min general (nginx)
  • Audit logging — all mutating actions logged to audit_log table
  • Passwords hashed with PBKDF2-HMAC-SHA256 (600K iterations)
  • Session invalidation on password change

Installation Requirements

This is an infrastructure package. Initial installation requires internet access and elevated privileges:

  • Source: Clones application code from GitHub at a pinned release tag (v2.1.0)
  • Dependencies: Installs Python and Node.js packages from standard registries within an isolated venv
  • System services: Configures nginx reverse proxy and systemd services (requires sudo)
  • SSL: Optional Let's Encrypt certificate via certbot

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.com

Set a specific password for alice
→ runs: reset-password --email alice@company.com --password MyNewPass123!

All Actions (Tier 2)

ActionArgsDescription
status—Service status, SSL, user count
setup-ssl--domainConfigure HTTPS with Let's Encrypt
renew-ssl—Check + renew SSL certificate
list-users—List all web dashboard users
create-user--email, --full-name, --roleCreate user with temp password
reset-password--email, --password (optional)Set specific password, or generate random one
disable-user--emailDisable 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 saysAction
"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

  • Frontend: Next.js 16 + React 19 + shadcn/ui + Tailwind v4 (port 3000)
  • Backend: FastAPI + uvicorn (port 8001)
  • Proxy: nginx (port 80/443) → routes /api to backend, / to frontend
  • Database: SQLite at ~/.openclaw/webclaw/webclaw.sqlite

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_log

Script Path

scripts/db_query.py --action  [--key value ...]

Per-Skill Customization

Skills can add a webclaw 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]

相关技能

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。

作者 Iván535 次安装31 星标

mailnike 的更多技能

浏览全部技能

AI-native GRC (Governance, Risk, and Compliance) for OpenClaw. 97 actions across 13 frameworks including SOC 2, ISO 27001, HIPAA, GDPR, NIST CSF, PCI DSS, CI...

作者 mailnike36 次安装

AI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842,...

作者 mailnike35 次安装

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...

作者 mailnike31 次安装

Identity provider compliance checks for auditclaw-grc. 8 read-only checks across Google Workspace (MFA, admin audit, inactive users, passwords) and Okta (MFA...

作者 mailnike34 次安装

GCP compliance evidence collection for auditclaw-grc. 12 read-only checks across Cloud Storage, firewall, IAM, logging, KMS, DNS, BigQuery, Compute, and Clou...

作者 mailnike33 次安装