Token导航 LogoToken导航TokenDH.com
运维敏感数据clawhub未标认证来源可访问clear审计提醒

universal-shell-deployer通用 shell 部署器

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

2,296

周安装

92

GitHub Stars

公开资料未说明

下载量

743
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:universal-shell-deployer(通用 shell 部署器)
来源仓库:https://github.com/hgvgfgvh/universal-shell-deployer
安装命令:
openclaw skills install universal-shell-deployer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install universal-shell-deployer

简介

通过统一执行命令,在 Windows、Linux 和 macOS 上安装、配置、启动、停止和验证本地或远程开发基础设施。

SKILL.md

name
universal-shell-deployer
description
Install, configure, start, stop, and verify local or remote development infrastructure across Windows, Linux, and macOS by executing commands through a unified workflow. Use when the user asks to set up databases, MinIO, ZLMediaKit, Docker, Redis, PostgreSQL, MySQL, Nginx, Node.js, Java, or other developer environments on local machines or remote hosts.

Universal Shell Deployer

Purpose

Use this skill for cross-platform environment setup driven by command execution.

Targets may be:

  • local Windows, Linux, or macOS
  • remote Linux or macOS over SSH
  • remote Windows over PowerShell Remoting or another configured command bridge

This skill is configuration-first. Always read the sibling config.json before planning or executing changes.

Required Inputs

Before executing anything, identify:

  1. target node
  2. target service or recipe
  3. desired action: install, configure, start, stop, restart, status, verify, uninstall
  4. whether elevated privileges are allowed
  5. whether the task is local-only, remote-only, or mixed

If any of these are unclear, ask the user.

Config Contract

Read config.json in the same directory and use it as the single source of truth for:

  • default behavior
  • node definitions
  • recipe preferences
  • execution history
  • current state

Update config.json after meaningful progress so future runs can resume from the last known state.

Execution Workflow

1. Load config

Read config.json and resolve:

  • defaults
  • nodes
  • recipes
  • state

If the requested node does not exist, ask whether to create it before proceeding.

2. Select node

Choose a node by name. Respect the node's:

  • transport
  • os
  • shell
  • workdir
  • packageManager
  • privilege policy

If the node says enabled: false, do not use it without user confirmation.

3. Select recipe

If a named recipe exists, use it as the default implementation.

Prefer the recipe's:

  • install method
  • package names
  • service names
  • ports
  • environment variables
  • health checks

If no recipe exists, build a minimal plan using the node defaults and keep it idempotent.

4. Plan before execution

State the concrete execution plan before changing the system:

  • which node will be used
  • which transport will be used
  • which commands will run
  • what success looks like
  • what state fields will be updated

Break risky changes into small steps.

5. Execute by transport

Local

Run commands directly in the correct shell:

  • Windows: prefer powershell
  • Linux/macOS: prefer bash

SSH

Use ssh and keep commands non-interactive where possible.

Prefer:

  • explicit usernames
  • explicit hostnames
  • idempotent shell commands
  • small batches instead of one giant script

Windows remote

Use the configured command bridge in the node definition. Default to PowerShell Remoting semantics unless the user configured something else.

6. Verify every step

After install or configuration, verify with one or more of:

  • package version
  • service status
  • listening port
  • process existence
  • HTTP health endpoint
  • storage login or test query

Never mark a step complete without a verification signal.

7. Persist state

Write back useful state into config.json, such as:

  • state.lastSelectedNode
  • state.lastRecipe
  • state.lastAction
  • state.lastResults
  • state.installations
  • state.services

Record failures with timestamps and short error summaries.

Cross-Platform Rules

  • Prefer the package manager declared in the node config.
  • Do not assume sudo on Windows.
  • Do not assume systemctl exists on all Linux hosts.
  • Do not assume Homebrew exists on macOS unless config says so.
  • For containers, prefer docker compose when already configured in the node or recipe.
  • For direct binary installs, pin the version only when the user asked for it or the recipe requires it.

Safety Rules

  • Never run destructive commands unless the user explicitly approved them.
  • Never wipe data directories during reinstall unless the user asked for a reset.
  • For database setup, prefer creating dedicated users and data directories.
  • For internet downloads, prefer official release URLs recorded in the recipe or confirmed by the user.
  • Surface privilege escalation clearly before executing privileged commands.

Recommended State Shape

When updating config.json, use these sections consistently:

  • nodes.<node>.connection: stable connection metadata
  • nodes.<node>.overrides: node-specific behavior overrides
  • recipes.<recipe>: reusable install/config templates
  • state.installations.<node>.<service>: install status and version
  • state.services.<node>.<service>: running status and health
  • state.lastResults.<node>: last action summary

Suggested Recipe Coverage

Keep recipes for common environment services:

  • redis
  • postgresql
  • mysql
  • minio
  • zlmediakit
  • docker
  • nginx
  • nodejs
  • python
  • java

Each recipe should define:

  • package names by platform
  • service names by platform
  • default ports
  • install steps
  • configuration targets
  • verification commands

Response Style

When using this skill:

  1. briefly confirm the target node and action
  2. show the planned commands before execution
  3. execute in small validated steps
  4. summarize what changed
  5. mention which config.json fields were updated

Example Requests

  • "在本机 Windows 安装 MinIO 并开机启动"
  • "在远程 Ubuntu 机器安装 PostgreSQL 16"
  • "帮我给 dev-linux-01 安装 ZLMediaKit 并验证 1935 和 8080 端口"
  • "在 macOS 上补齐 Docker、Redis、Node.js 开发环境"
  • "更新 prod-edge-02 上的 MinIO 配置但不要删除数据"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.84%
按下载量换算578

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills