QingLong Skill
Use this skill to operate a QingLong panel through /open/... APIs.
Default local target:
- Base URL:
http://127.0.0.1:5700
- Data directory:
/Volumes/KIOXIA/Docker/qinglong/data
- App credentials: read from the QingLong sqlite
Apps table, using the system app.
Override with environment variables when needed:
QINGLONG_BASE_URL
QINGLONG_CLIENT_ID
QINGLONG_CLIENT_SECRET
QINGLONG_DATA_DIR
QINGLONG_DB_PATH
Never print tokens, client secrets, or environment variable values unless the user explicitly asks and the action supports include_values=true.
Preferred operations:
status: check Docker compose state, HTTP health, sqlite app credential availability, and token exchange.
envs, env_create, env_update, env_delete, env_enable, env_disable: manage environment variables.
crons, cron_detail, cron_create, cron_update, cron_delete, cron_run, cron_stop, cron_enable, cron_disable, cron_logs, cron_log: manage scheduled tasks and logs.
api: call a QingLong open API path directly for advanced cases.
辅助脚本执行
Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。
printf '%s' '{"skill_action":"<动作>"}' | python3 run.py
输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。
| 动作 |
用途 |
status |
Check QingLong local compose state, HTTP health, sqlite app credentials, and token exchange. |
envs |
List QingLong environment variables. Values are redacted by default. |
env_create |
Create one or more QingLong environment variables. |
env_update |
Update a QingLong environment variable. |
env_delete |
Delete QingLong environment variables by ids. Requires confirmed=true. |
env_enable |
Enable QingLong environment variables by ids. |
env_disable |
Disable QingLong environment variables by ids. |
crons |
List QingLong cron tasks. |
cron_detail |
Get a QingLong cron task by id. |
cron_create |
Create a QingLong cron task. |
cron_update |
Update a QingLong cron task. |
cron_delete |
Delete QingLong cron tasks by ids. Requires confirmed=true. |
cron_run |
Run QingLong cron tasks by ids. |
cron_stop |
Stop QingLong cron tasks by ids. |
cron_enable |
Enable QingLong cron tasks by ids. |
cron_disable |
Disable QingLong cron tasks by ids. |
cron_logs |
List log files for a QingLong cron task. |
cron_log |
Read latest/current log content for a QingLong cron task. |
api |
Call a QingLong open API path directly. Paths are relative to /open unless api_prefix is supplied. |
1---2name: qinglong3description: Operate a QingLong panel through its official open API. Use for QingLong health checks, env variables, cron tasks, task logs, and controlled panel API calls from AgentDock Skill.4---56# QingLong Skill78Use this skill to operate a QingLong panel through `/open/...` APIs.910Default local target:1112- Base URL: `http://127.0.0.1:5700`13- Data directory: `/Volumes/KIOXIA/Docker/qinglong/data`14- App credentials: read from the QingLong sqlite `Apps` table, using the `system` app.1516Override with environment variables when needed:1718- `QINGLONG_BASE_URL`19- `QINGLONG_CLIENT_ID`20- `QINGLONG_CLIENT_SECRET`21- `QINGLONG_DATA_DIR`22- `QINGLONG_DB_PATH`2324Never print tokens, client secrets, or environment variable values unless the user explicitly asks and the action supports `include_values=true`.2526Preferred operations:2728- `status`: check Docker compose state, HTTP health, sqlite app credential availability, and token exchange.29- `envs`, `env_create`, `env_update`, `env_delete`, `env_enable`, `env_disable`: manage environment variables.30- `crons`, `cron_detail`, `cron_create`, `cron_update`, `cron_delete`, `cron_run`, `cron_stop`, `cron_enable`, `cron_disable`, `cron_logs`, `cron_log`: manage scheduled tasks and logs.31- `api`: call a QingLong open API path directly for advanced cases.3233## 辅助脚本执行3435Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。3637```bash38printf '%s' '{"skill_action":"<动作>"}' | python3 run.py39```4041输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。4243| 动作 | 用途 |44|---|---|45| `status` | Check QingLong local compose state, HTTP health, sqlite app credentials, and token exchange. |46| `envs` | List QingLong environment variables. Values are redacted by default. |47| `env_create` | Create one or more QingLong environment variables. |48| `env_update` | Update a QingLong environment variable. |49| `env_delete` | Delete QingLong environment variables by ids. Requires confirmed=true. |50| `env_enable` | Enable QingLong environment variables by ids. |51| `env_disable` | Disable QingLong environment variables by ids. |52| `crons` | List QingLong cron tasks. |53| `cron_detail` | Get a QingLong cron task by id. |54| `cron_create` | Create a QingLong cron task. |55| `cron_update` | Update a QingLong cron task. |56| `cron_delete` | Delete QingLong cron tasks by ids. Requires confirmed=true. |57| `cron_run` | Run QingLong cron tasks by ids. |58| `cron_stop` | Stop QingLong cron tasks by ids. |59| `cron_enable` | Enable QingLong cron tasks by ids. |60| `cron_disable` | Disable QingLong cron tasks by ids. |61| `cron_logs` | List log files for a QingLong cron task. |62| `cron_log` | Read latest/current log content for a QingLong cron task. |63| `api` | Call a QingLong open API path directly. Paths are relative to /open unless api_prefix is supplied. |