← 返回 Skills 市场
guillaumetch

Moltworld Dashboard Deploy

作者 guillaumetch · GitHub ↗ · v0.1.3
cross-platform ✓ 安全检测通过
619
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install moltworld-dashboard-deploy
功能描述
Install, harden, and run the MoltWorld Dashboard reliably for real users. Use when asked to set up local runtime scaffolding (README/package.json/.env/.gitig...
使用说明 (SKILL.md)

MoltWorld Dashboard Deploy

Standardize this workflow to make moltworld-dashboard easy to run and operate safely.

Runtime requirements

Required binaries:

  • npm
  • docker
  • docker-compose

Optional (privileged persistence path only):

  • systemd
  • sudo

Safety gates (mandatory)

  1. Treat project dependencies as untrusted until reviewed.
  2. Before package install, inspect package.json and lockfile for suspicious scripts/deps.
  3. Ask for explicit approval before any privileged/persistent action (sudo, systemctl enable, writing under /etc/systemd/system).
  4. Prefer non-privileged runtime paths first (local run or Docker Compose without host-level service install).
  5. Never use curl | bash or equivalent remote script execution.

Workflow

  1. Verify baseline project files exist (server.mjs, public/).
  2. Add/shareability files if missing:
    • package.json (start script)
    • .env.example
    • .nvmrc
    • .gitignore
    • README.md
  3. Add deployment files if requested:
    • Dockerfile
    • docker-compose.yml
    • moltworld-dashboard.service (systemd, only with explicit approval)
  4. Validate startup and confirm HTTP 200 on http://localhost:8787/.
  5. Validate restart behavior and long-running stability.
  6. Confirm accessibility via localhost or host IP.
  7. Document runbook steps for operators.

Required file conventions

  • Keep runtime state out of git (data/state.json, logs, pids).
  • Keep secrets out of git (.env).
  • Default runtime port: 8787.
  • README must include:
    • local quick start
    • Docker run
    • Docker Compose run
    • systemd install/enable instructions marked as privileged/optional

Runtime stability checks

Use these checks when service becomes unreachable:

ss -ltnp | grep ':8787' || true
curl -I --max-time 5 http://localhost:8787/

If process is down, restart with a supervisor (Docker Compose or approved systemd service) instead of ad-hoc foreground runs.

Troubleshooting quick checks

  • Service down: verify listener on :8787.
  • Loop timeouts: increase API timeout and add retries in postJson.
  • Process died after exec session: restart with supervisor.

References

  • Deployment/runbook command snippets: references/commands.md
安全使用建议
This skill appears to do what it says: deploy and harden a local dashboard. Before using it, review package.json/package-lock for unexpected install scripts or dependencies, prefer non-privileged runs (local or Docker Compose) first, and explicitly approve any systemd/sudo steps. When building/running containers or running npm installs, do so in an isolated environment (sandbox or VM) and avoid piping remote scripts into the shell. If you will expose the service beyond localhost, verify network/firewall settings and that secrets are kept out of git (.env) as the SKILL.md recommends.
功能分析
Type: OpenClaw Skill Name: moltworld-dashboard-deploy Version: 0.1.3 The skill bundle is designed for deploying a dashboard, which inherently involves system-level operations. However, both `SKILL.md` and `references/commands.md` include explicit and strong security 'Safety gates' for the AI agent. These instructions mandate asking for explicit approval before any privileged or persistent actions (e.g., `sudo`, `systemctl enable`), prohibit dangerous patterns like `curl | bash`, and require inspection of `package.json` before installing dependencies (using `npm ci --ignore-scripts` by default). These measures demonstrate a clear intent to operate securely and transparently, preventing common attack vectors and requiring human oversight for sensitive operations.
能力评估
Purpose & Capability
Name/description match the instructions: all declared runtime needs (npm, docker, docker-compose, optional systemd) are appropriate for installing and deploying a Node/Docker-based dashboard. No unrelated credentials, binaries, or surprising capabilities are requested.
Instruction Scope
SKILL.md stays on task: it instructs verifying project files, inspecting package.json/lockfile before installs, building/running locally or via Docker/Compose, optionally installing a systemd unit with explicit approval, and performing HTTP/port checks. It does not instruct reading unrelated system files or exfiltrating data.
Install Mechanism
This is an instruction-only skill with no install spec and no bundled code to write to disk. That is the lowest-risk pattern and is proportionate for a deploy/runbook helper.
Credentials
No environment variables, credentials, or config paths are requested. The guidance to inspect package.json/lockfile and to use npm ci --ignore-scripts before running install is appropriate and limits risk from untrusted dependencies.
Persistence & Privilege
Skill does not request permanent presence or elevated privileges. It explicitly requires operator approval before privileged actions (sudo/systemd), and 'always' is false. Autonomous invocation is allowed by platform default but not combined with other red flags here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install moltworld-dashboard-deploy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /moltworld-dashboard-deploy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Declared runtime requirements explicitly in SKILL.md: required npm/docker/docker-compose; optional systemd/sudo for privileged persistence path.
v0.1.2
- Added mandatory security gates: dependency trust check, explicit approval for privileged/persistent actions, and prohibition of curl|bash patterns. - Switched default install guidance to npm ci --ignore-scripts. - Marked systemd flow as optional and operator-approved only. - Updated and repackaged skill to reduce high-risk behavior profile while keeping install/deploy reliability workflow.
v0.1.1
- Refocused the skill on installation, accessibility, deployment, and uptime reliability. - Removed GitHub publishing/push guidance from skill instructions and command references. - Updated runtime checks for port/listener and localhost health verification. - Repackaged the skill with cleaned deployment runbook commands.
v0.1.0
- Initial release of the MoltWorld Dashboard Deploy skill. - Standardizes project setup to ensure easy cloning, running, and deployment. - Adds scaffolding files: `README.md`, `package.json`, `.env.example`, `.gitignore`, and more if missing. - Provides deployment support with Docker, Docker Compose, and systemd service files. - Guides on Git/GitHub setup, commits, branch management, and troubleshooting push/auth issues. - Enforces file conventions and includes local/startup validation steps.
元数据
Slug moltworld-dashboard-deploy
版本 0.1.3
许可证
累计安装 1
当前安装数 1
历史版本数 4
常见问题

Moltworld Dashboard Deploy 是什么?

Install, harden, and run the MoltWorld Dashboard reliably for real users. Use when asked to set up local runtime scaffolding (README/package.json/.env/.gitig... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 619 次。

如何安装 Moltworld Dashboard Deploy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install moltworld-dashboard-deploy」即可一键安装,无需额外配置。

Moltworld Dashboard Deploy 是免费的吗?

是的,Moltworld Dashboard Deploy 完全免费(开源免费),可自由下载、安装和使用。

Moltworld Dashboard Deploy 支持哪些平台?

Moltworld Dashboard Deploy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Moltworld Dashboard Deploy?

由 guillaumetch(@guillaumetch)开发并维护,当前版本 v0.1.3。

💬 留言讨论