← Back to Skills Marketplace
jack-liang

1panel-install

by Jack-Liang · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
286
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 1panel-install
Description
1Panel 服务器管理面板一键安装。当用户提到安装、部署、配置 1Panel 时激活。自动检测是否已安装,已安装则返回访问信息,未安装则自动完成安装流程。
README (SKILL.md)

1Panel 一键安装技能

通过调用官方安装脚本,自动完成 1Panel 的安装并返回访问信息。

意图处理

当用户说"安装 1Panel"、"部署 1Panel"、"配置 1Panel"等请求时,自动执行安装流程。

前置检查

1. 检查系统依赖

确保以下命令可用:

  • bash - shell 环境
  • curl - 下载安装包
  • tar - 解压
  • systemctl - 管理系统服务

如果缺少依赖,提示用户安装。

2. 检查 root 权限

此脚本需要 root 权限安装系统服务。如果当前用户不是 root,提示用户使用 sudo 执行。

安装流程

场景 A:1Panel 已安装

  1. 检测 1pctl 命令是否存在
  2. 如果存在,执行 1pctl user-info
  3. 返回现有的面板访问信息

场景 B:1Panel 未安装

  1. 下载 1Panel v2.1.4 安装包到 /root/.openclaw/workspace/
  2. 解压到当前工作区
  3. 运行官方安装脚本 install.sh
    • 自动选择中文语言
    • 使用默认安装路径 /opt
    • 选择不安装 Docker
  4. 等待服务启动(最长 30 秒)
  5. 执行 1pctl user-info 获取访问信息
  6. 返回完整结果

返回值

自然语言文本,包含:

✅ 1Panel 安装成功!

外部地址:http://\x3C公网IP>:\x3C随机端口>/\x3C随机路径>
内部地址:http://\x3C内网IP>:\x3C随机端口>/\x3C随机路径>
面板用户:\x3C随机生成的用户名>
面板密码:\x3C随机生成的密码>

⚠️ 安全提醒:
1. 请立即修改面板密码:1pctl update password
2. 如果使用云服务器,请在安全组中打开对应端口
3. 建议定期更新系统和 1Panel

注意:每次安装 1Panel 时,端口、访问路径(Security Entry)、用户名和密码都是随机生成的,不是固定值。请以实际安装输出为准。

错误处理

  • 下载失败:重试 3 次,提示检查网络
  • 安装失败:输出安装日志的最后部分,建议查看 /opt/1panel/install.log
  • 权限不足:提示需要使用 sudo
  • 服务启动失败:提示检查 systemctl 状态

示例对话

用户:安装 1Panel 助手:(执行安装,返回上述格式的结果)

用户:1Panel 装好了吗? 助手:(如果已装,直接返回信息)

注意事项

  • 需要服务器有外网访问权限(下载安装包)
  • 安装过程会自动配置 systemd 服务
  • 面板的端口、访问路径、用户名和密码均为随机生成(每次安装都不同)
  • 此 skill 不包含卸载功能

访问提示

如果安装后地址无法访问,或者服务器没有公网 IP,推荐使用 Cloudflare Tunnel 功能配置域名访问,实现安全的内网穿透,无需开放公网端口。

版本

  • 1Panel 版本:v2.1.4(固定,可在脚本中升级)
  • Skill 版本:1.0.0
  • 最后更新:2025-03-13
Usage Guidance
This skill appears to do exactly what it says: download the 1Panel release, run the upstream installer, and return access info. Before running it on any production host: 1) review the install.sh and verify the download URL (resource.fit2cloud.com) and ideally a checksum or signature for the tarball; 2) run initially in a disposable VM or staging system; 3) be aware it requires root and will install binaries and systemd services under /opt and /usr/bin; 4) after installation, immediately change the generated panel password and lock down firewall/security groups; 5) if you have concerns about running remote installers, fetch the upstream archive manually, inspect its contents, then run the installer interactively rather than letting the skill automate the whole flow.
Capability Analysis
Type: OpenClaw Skill Name: 1panel-install Version: 0.1.0 The skill is designed to automate the installation of the 1Panel server management panel. It correctly identifies the intent, checks for root privileges, and downloads the official installation package from the legitimate developer domain (resource.fit2cloud.com). While the process involves high-risk actions such as executing a downloaded shell script as root and displaying generated credentials, these behaviors are strictly aligned with the stated purpose of the skill and the requirements of the 1Panel software. No evidence of data exfiltration, unauthorized backdoors, or malicious prompt injection was found in install.sh or SKILL.md.
Capability Assessment
Purpose & Capability
The skill is named and described as a one‑click installer for 1Panel and its code and runtime instructions only require bash, curl, tar, and systemctl and operate on /opt and the workspace — all consistent with installing a system service like 1Panel.
Instruction Scope
SKILL.md and install.sh stick to installation tasks: detect 1Panel, download a release tarball, extract, run the bundled install.sh with automated answers, wait for systemd service, and call 1pctl user-info. The scripts require root and may read/write /opt, /usr/bin, /root/.openclaw/workspace and systemd units — these are expected for installing a system service and not out-of-scope data collection or exfiltration.
Install Mechanism
There is no package/install spec in the registry; the included install.sh downloads a tarball from https://resource.fit2cloud.com and extracts/executes the bundled installer. Network download-and-extract of upstream installer is normal for this use but is the highest-risk step (runs third-party code fetched at runtime). The URL is not a URL shortener or an IP and appears plausible, but users should verify the upstream source and checksum before running on production systems.
Credentials
The skill requests no environment variables or external credentials. It does require root privileges to install system services, which is proportionate to its functionality.
Persistence & Privilege
always is false and the skill does not request persistent agent-level privileges. The installer modifies system paths (/opt, /usr/bin) and systemd units as expected for installing a service, but it does not modify other skills or global agent configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 1panel-install
  3. After installation, invoke the skill by name or use /1panel-install
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the 1panel-install skill for one-click installation of the 1Panel server management panel. - Automatically detects existing installations and returns panel access info if 1Panel is already installed. - Runs full installation process with dependency and root permission checks if 1Panel is not present. - Provides clear natural language feedback after installation, including access address, username, and password. - Includes detailed error handling and troubleshooting guidance for common installation issues.
Metadata
Slug 1panel-install
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 1panel-install?

1Panel 服务器管理面板一键安装。当用户提到安装、部署、配置 1Panel 时激活。自动检测是否已安装,已安装则返回访问信息,未安装则自动完成安装流程。 It is an AI Agent Skill for Claude Code / OpenClaw, with 286 downloads so far.

How do I install 1panel-install?

Run "/install 1panel-install" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 1panel-install free?

Yes, 1panel-install is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 1panel-install support?

1panel-install is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 1panel-install?

It is built and maintained by Jack-Liang (@jack-liang); the current version is v0.1.0.

💬 Comments