← 返回
未分类 Key 中文

1panel Skill

Comprehensive 1Panel server management skill for AI agents. Manage Linux servers, Docker containers, databases, websites, SSL certificates, and more through...
Comprehensive 1Panel server management skill for AI agents. Manage Linux servers, Docker containers, databases, websites, SSL certificates, and more through...
eaveluo eaveluo 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 674
下载
💾 0
安装
1
版本
#latest

概述

1Panel Skill

Manage 1Panel servers through AI agents. Full access to 580+ API endpoints covering containers, databases, websites, SSL, file management, system monitoring, and more.

Prerequisites

  • 1Panel server (https://1panel.cn/)
  • API key from 1Panel Dashboard → Profile → API

Configuration

Set environment variables:

export ONEPANEL_API_KEY="your-api-key"
export ONEPANEL_HOST="localhost"      # optional, default: localhost
export ONEPANEL_PORT="8080"           # optional, default: 8080
export ONEPANEL_PROTOCOL="http"       # optional, default: http

Quick Start

# List containers
node {baseDir}/scripts/1panel.mjs containers

# Get container info
node {baseDir}/scripts/1panel.mjs container <id>

# Start/Stop/Restart container
node {baseDir}/scripts/1panel.mjs start <id>
node {baseDir}/scripts/1panel.mjs stop <id>
node {baseDir}/scripts/1panel.mjs restart <id>

# List images
node {baseDir}/scripts/1panel.mjs images

# List websites
node {baseDir}/scripts/1panel.mjs websites

# List databases
node {baseDir}/scripts/1panel.mjs databases

# List files
node {baseDir}/scripts/1panel.mjs files /opt

# Get system info
node {baseDir}/scripts/1panel.mjs system

# Get dashboard info
node {baseDir}/scripts/1panel.mjs dashboard

Available Commands

CommandDescription
----------------------
containersList all Docker containers
container Get container details
start Start a container
stop Stop a container
restart Restart a container
imagesList Docker images
websitesList websites
databasesList databases
files List files in directory
systemGet system information
dashboardGet dashboard information

API Coverage

Container & Docker (24 tools)

  • Container lifecycle (create, start, stop, restart, pause, kill, remove)
  • Image management (pull, push, build, tag, save, load)
  • Network & Volume management
  • Docker Compose operations

Website Management (24 tools)

  • Website creation and configuration
  • Domain management
  • SSL certificate (Let's Encrypt, manual upload)
  • HTTPS configuration
  • Nginx configuration
  • OpenResty (XPack)

Database (24 tools)

  • MySQL (create, delete, bind user, change password)
  • PostgreSQL
  • Redis (config, password, status)

File Operations (19 tools)

  • List, upload, download
  • Compress/Decompress (zip, tar, tar.gz)
  • Move, rename, delete
  • Permissions (chmod, chown)

System & Security (20+ tools)

  • System settings
  • Firewall rules
  • Fail2ban
  • SSH management
  • ClamAV antivirus
  • FTP server

Monitoring (8 tools)

  • Dashboard
  • System monitor
  • Device info
  • Disk management

Backup & Recovery (13 tools)

  • Backup operations
  • Backup accounts (local, SFTP, OSS, S3)
  • System snapshots
  • Recycle bin

XPack Features (47 tools)

  • AI Agent management
  • MCP Server
  • Ollama models
  • GPU monitoring
  • OpenResty
  • Node.js runtime

Output Format

All commands output JSON:

{
  "data": [...],
  "success": true
}

Or on error:

{
  "error": true,
  "message": "Error description"
}

Advanced Usage

For full API access, use as a library:

import { OnePanelClient } from '1panel-skill';

const client = new OnePanelClient({
  host: 'localhost',
  port: 8080,
  apiKey: 'your-api-key',
  protocol: 'http'
});

// Full API access
const containers = await client.containers.list();
const websites = await client.websites.list();

Links

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 00:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Monitor Pro

eaveluo
专业级智能股票监控预警系统 V2.1。支持收盘日报自动生成、反爬虫优化(Session级UA、多数据源冗余)、成本百分比预警、均线金叉死叉、RSI超买超卖、成交量异动监控、智能错误提醒。符合中国投资者习惯(红涨绿跌)。Use when us
★ 6 📥 2,954
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,604
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,884