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.
- Entry document:btpanel_database/SKILL.md — Complete guide to database management
- Reference documents:btpanel_database/references/mysql.md — MySQL parameter rules, constraints, script usage, error code reference
- Operation scripts:btpanel_database/scripts/mysql_db.py — Encapsulated command-line and Python calling interfaces
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).
- Entry document:btpanel_firewall/SKILL.md — Complete guide to firewall management
- Reference documents:btpanel_firewall/references/firewall.md — Firewall parameter rules, constraints, script usage, error code reference
- Operation scripts:btpanel_firewall/scripts/firewall_ops.py — Encapsulated command-line and Python calling interfaces
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.
- Entry document:btpanel_software/SKILL.md — Complete guide to software store installation
- Reference documents:btpanel_software/references/software_install.md — Software query, version selection, installation parameters, task queue, error handling
- Operation scripts:btpanel_software/scripts/software.py — Encapsulated query, installation, status, and log commands
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).
- Entry document:btpanel_site/SKILL.md — Complete guide to website management, including navigation for the three site types: PHP/HTML/reverse proxy
- PHP site reference:btpanel_site/references/php_site.md — Create/delete PHP sites, site list, PHP version query
- HTML site reference:btpanel_site/references/html_site.md — Create/delete HTML static sites, site list
- Reverse proxy reference:btpanel_site/references/proxy_site.md — Create/delete reverse proxy sites, site list
Usage Flow
- Determine which sub-skill domain the user's needs belong to (Database Management / Firewall Management / Software Store Management / Website Management)
- Load the corresponding sub-skill's
SKILL.mdto obtain detailed guidance - Following the sub-skill guidance, load the corresponding
references/reference documents or execute the correspondingscripts/scripts - If the need exceeds the coverage of existing sub-skills, answer directly based on BT-Panel knowledge