bt-panel SKILL.md skillC
bt-panel from fengshao1227/ccg-workflow is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add fengshao1227/ccg-workflow/bt-panel@git:20260827.bbf3b7cPins git:20260827.bbf3b7c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- C, 15 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- fengshao1227/ccg-workflow
- Path
templates/skills/bt-panel/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260827.bbf3b7c, committed Aug 27, 2026
- Size
- 9,470 bytes
- Repository stars
- 5,957
- License
- MIT
通过宝塔 (aaPanel/BT Panel) API 远程管理服务器 — 部署项目、更新已有站点、上传/下载/读写文件、执行 shell、操作 MySQL 数据库。当用户提到宝塔、更新线上、部署到服务器、`/www/wwwroot`、或给出宝塔面板地址 + API 密钥时触发。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# bt-panel · 宝塔远程操控秘典
一套通过宝塔面板 HTTP API 完成部署 / 运维 / 数据库变更的 Python 工具集。
无需 SSH、无需 rsync、无需本地装 vercel/docker — 只要一个面板地址和 API 密钥。
## 何时使用
**自动触发**(魔尊未显式点名时也应主动调用):
- 用户给出 `https://IP:port` 形式的宝塔面板地址和一串 32 位 API 密钥
- 用户说 "更新线上 / 更新一下 / 发布一下 / 部署到服务器 / 推到宝塔"
- 用户提到具体站点名且路径位于 `/www/wwwroot/` / `/www/server/` 下
- 用户要求"操作线上数据库 / 跑一下 SQL / 重启 pm2 / 看一下日志 / 改配置"
- 用户提交项目目录让你"推上去"
**不触发**:
- 用户只提到 Vercel / Netlify / AWS / 其他平台
- 纯本地开发任务
## 支持矩阵(面板变体自适应)
本 skill 不假设特定版本 — `bt_client.py` 首次调用 `test()` 时会自动探测
面板的 **OS / 变体 / 主版本**,缓存到 `client.panel_info`,后续所有方法都据此选择接口。
| 面板 | `panel_info` 识别 | 状态 | 说明 |
|---|---|---|---|
| 宝塔 Linux **v11+** | `{os:linux, variant:bt, major:11}` | ✅ 已实测 | Debian 12 + v11.6.0,主验证环境 |
| 宝塔 Linux **v7/v8/v9/v10** | `{major:7-10}` | ✅ 支持 | `exec_shell` 自动走老接口 `ExecShellMsg`;`sql_execute` 先试面板 `SqlExecute` API |
| **aaPanel**(英文国际版) | `{os:linux, variant:aapanel}` | ✅ 支持 | API 与宝塔 Linux 完全一致,仅错误消息是英文;`write_file` 兜底已识别中英双语 |
| 宝塔 **Windows 面板** | `{os:windows}` | ⚠️ 实验 | 文件 / shell / SQL 可用;`bt_deploy.py`(依赖本地 tar)仅在宝塔 Linux 下完整 |
| **1Panel**(飞致云) | — | ❌ 不覆盖 | 完全不同的 REST API,**不要**用本 skill 操作 1Panel |
| **宝塔企业版** | 同 v11+ | ✅ 预期兼容 | 未实测但 API 同源 |
…Read the whole file at its exact version.
How to install
mdr add fengshao1227/ccg-workflow/bt-panel@sha256:6415fe7096d7bf51The line at the top of this page pins the label git:20260827.bbf3b7c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jz7cv6qmcnantzny)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 27, 2026.
Audit of the latest version
- fail: No instruction to read or print local credentials (matched: cat /www/wwwroot/app/.env)
- fail: No link to a raw IP address (matched: https://1.2.3.4:8888)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9470 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
fengshao1227/ccg-workflow · 5,957 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jz7cv6qmcnantzny GET https://markdownregistry.com/api/v1/resolve?ref=fengshao1227/ccg-workflow/bt-panel GET https://markdownregistry.com/api/v1/blob/6415fe7096d7bf511784f499be906da8f2ce25394959ff826b389d5d4e881108
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.