← Back to Skills Marketplace
1Panel API Skills
by
breadbot86
· GitHub ↗
· v1.0.0
· MIT-0
128
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 1panel-api
Description
1Panel 开源面板 API Skill。提供网站管理、容器管理、数据库管理、文件管理等 23+ 个模块的完整 API 接口文档。
README (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"
了解更多
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install 1panel-api - After installation, invoke the skill by name or use
/1panel-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with 23+ API modules
Metadata
Frequently Asked Questions
What is 1Panel API Skills?
1Panel 开源面板 API Skill。提供网站管理、容器管理、数据库管理、文件管理等 23+ 个模块的完整 API 接口文档。 It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.
How do I install 1Panel API Skills?
Run "/install 1panel-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 1Panel API Skills free?
Yes, 1Panel API Skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 1Panel API Skills support?
1Panel API Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 1Panel API Skills?
It is built and maintained by breadbot86 (@breadbot86); the current version is v1.0.0.
More Skills