← 返回 Skills 市场
1Panel API Skills
作者
breadbot86
· GitHub ↗
· v1.0.0
· MIT-0
128
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 1panel-api
功能描述
1Panel 开源面板 API Skill。提供网站管理、容器管理、数据库管理、文件管理等 23+ 个模块的完整 API 接口文档。
使用说明 (SKILL.md)
1Panel API Skills
🎯 一键管理你的 1Panel 服务器
快速开始
首次配置
首次使用本 Skill 时,请提供以下信息:
| 信息 | 说明 | 示例 |
|---|---|---|
| 1Panel 地址 | 服务器 IP 或域名 + 端口 | http://192.168.1.100:8888 |
| API Key | 在面板「设置」→「API 密钥」中生成 | 你的密钥 |
获取 API Key
- 登录 1Panel 面板
- 进入「设置」→「API 密钥」
- 点击「创建」生成新密钥
- 复制生成的密钥
功能模块
| 模块 | 说明 |
|---|---|
| Apps | 应用商店、已安装应用管理 |
| Websites | 网站创建、配置、反向代理、SSL |
| Containers | Docker 容器管理 |
| Databases | MySQL、PostgreSQL、Redis、MongoDB |
| Files | 文件上传、下载、压缩、解压 |
| Backups | 备份与恢复 |
| Cronjobs | 定时任务 |
| Runtimes | PHP、Node、Python、Go、Java 运行环境 |
| Hosts | 主机监控、防火墙、SSH、磁盘管理 |
| Settings | 系统配置、用户管理 |
认证方式
# Token 计算方式
api_key="你的API密钥"
timestamp=$(date +%s)
token=$(echo -n "1panel${api_key}${timestamp}" | openssl md5 | awk '{print $2}')
# 请求示例
curl -X GET "http://你的地址:8888/api/v2/containers/list" \
-H "1Panel-Token: $token" \
-H "1Panel-Timestamp: $timestamp" \
-H "Content-Type: application/json"
了解更多
安全使用建议
This skill is a documentation bundle for the 1Panel management API and appears coherent. Before using it: (1) only provide your 1Panel API key and panel address to trusted skills/agents; prefer a limited-scope API key (if 1Panel supports it) for automation; (2) be careful executing the provided shell examples (openssl, curl) — they will run on the host/environment if an agent executes them; (3) the API covers destructive actions (delete containers, backups, databases, etc.), so review and restrict which endpoints you allow the agent to call; (4) if you want persistent configuration, store the API key in a secure place (secret manager) rather than pasting it into chat. Overall the package is consistent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: 1panel-api
Version: 1.0.0
The bundle provides a comprehensive interface for the 1Panel server management API, granting an AI agent extensive control over a server, including file system access (SKILL-files.md), shell command execution (SKILL-script.md), container management (SKILL-containers.md), and user/credential management (SKILL-auth.md, SKILL-hosts.md). While these capabilities align with the stated purpose of managing a 1Panel instance, the sheer breadth of administrative power (over 500 API endpoints) poses a significant security risk if the agent is compromised or misdirected. No explicit evidence of malicious intent or hidden exfiltration logic was found, but the high-privilege nature of the tool warrants a cautious classification.
能力评估
Purpose & Capability
Name/description (1Panel API docs) match the provided content: extensive per-module API documentation for websites, containers, databases, files, backups, etc. Nothing in the package requires unrelated capabilities (no unexpected cloud credentials, binaries, or installs).
Instruction Scope
SKILL.md and the docs contain curl examples and a token-generation snippet (openssl + date) and list server file paths (e.g., /opt/1panel/...). These are typical for an API docs skill. The instructions do not direct reading unrelated local files or exfiltrating data, but do include shell examples that an agent might execute if invoked — exercise caution before running those commands.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be downloaded or written to disk by default, which minimizes install-time risk.
Credentials
The skill does not declare required env vars or credentials in the registry metadata. Runtime usage expects the user's 1Panel address and an API key (provided interactively or in requests), which is proportionate to the documented functionality. There are no unexpected credential requests.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request elevated or persistent platform privileges. Nothing indicates it would modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 1panel-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/1panel-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with 23+ API modules
元数据
常见问题
1Panel API Skills 是什么?
1Panel 开源面板 API Skill。提供网站管理、容器管理、数据库管理、文件管理等 23+ 个模块的完整 API 接口文档。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 128 次。
如何安装 1Panel API Skills?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 1panel-api」即可一键安装,无需额外配置。
1Panel API Skills 是免费的吗?
是的,1Panel API Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
1Panel API Skills 支持哪些平台?
1Panel API Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 1Panel API Skills?
由 breadbot86(@breadbot86)开发并维护,当前版本 v1.0.0。
推荐 Skills