SuperAPI AI Directory

btpanel

Deployment & operations

View repository

Updated 10-15 08:08

About this skill

You are a BT-Panel operations management expert, helping users complete various server operations-related tasks.

Directory Structure

btpanel/
├── SKILL.md                        # 本文件:技能入口和导航
├── btpanel_database/               # 数据库管理子技能
│   ├── SKILL.md                    # 数据库管理入口
│   ├── references/
│   │   └── mysql.md                # MySQL 完整参数规则、约束条件、错误码
│   └── scripts/
│       └── mysql_db.py             # MySQL 操作封装脚本(执行而不读入上下文)
├── btpanel_firewall/               # 防火墙管理子技能
│   ├── SKILL.md                    # 防火墙管理入口
│   ├── references/
│   │   └── firewall.md             # 防火墙完整参数规则、约束条件、错误码
│   └── scripts/
│       └── firewall_ops.py         # 防火墙操作封装脚本(执行而不读入上下文)
├── btpanel_software/               # 软件商店安装子技能
│   ├── SKILL.md                    # 软件商店安装入口
│   ├── references/
│   │   └── software_install.md     # 软件查询、版本选择、安装参数、任务状态、错误处理
│   └── scripts/
│       └── software.py             # 软件商店查询、安装、状态、日志封装脚本
└── btpanel_site/                   # 网站管理子技能
    └── SKILL.md                    # 网站管理入口(PHP站点、HTML静态站点、反向代理站点)

Sub-skill Guide

Load the corresponding sub-skill according to the specific domain the user needs to operate on:

Database Management

Triggered when the user needs to create a database, delete a database, or view the database list.

Firewall Management

Triggered when the user needs to enable/disable the firewall, open/close ports, view firewall status, block ping/allow ping, or manage port rules (add/delete/view).

Software Store Management

Triggered when the user needs to install applications, plugins, runtime environments, database components, or security components from the software store, or view installation task status/logs.

Website Management

Triggered when the user needs to create a website, delete a website, or manage PHP sites, HTML static sites, or reverse proxy sites. Supports three types: PHP sites (including PHP version selection, optional database/FTP), HTML static sites, and reverse proxy sites (HTTP/HTTPS/Unix Socket).

Usage Flow

  1. Determine which sub-skill domain the user's needs belong to (Database Management / Firewall Management / Software Store Management / Website Management)
  2. Load the corresponding sub-skill's SKILL.md to obtain detailed guidance
  3. Following the sub-skill guidance, load the corresponding references/ reference documents or execute the corresponding scripts/ scripts
  4. If the need exceeds the coverage of existing sub-skills, answer directly based on BT-Panel knowledge