qinglong

$npx mdskill add uvwt/agentdock/qinglong

Operate a QingLong panel via its open API for automation tasks.

  • Manage environment variables, cron tasks, and logs on a QingLong panel.
  • Depends on QingLong open API, sqlite credentials, and optional environment overrides.
  • Uses preferred operations like status, envs, crons, and direct API calls.
  • Returns JSON results from API calls or script execution output.

SKILL.md

.github/skills/qinglongView on GitHub ↗
---
name: qinglong
description: 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.
version: 0.1.8
---

# 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 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

```bash
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. |

More from uvwt/agentdock

SkillDescription
baidu-netdiskUse this skill when managing Baidu Netdisk files through the bdpan CLI inside the application data scope.
barkSend Bark-compatible notifications with Python standard library while keeping the device key in the private Skill data environment.
cloudsaverUse this skill when calling the local CloudSaver API for status checks, resource search, Douban hot lists, share parsing, or transfer actions.
code-debriefExplain and teach the core implementation produced by vibecoding from real code, focusing on the main call chain, core code, state and data flow, design reasoning, and transferable engineering knowledge. Use when the user asks to explain, review, learn, debrief, or understand recent code changes, a commit, PR, diff, feature, module, or code path.
codex-usageUse this skill when checking the current macOS user Codex CLI account state or Codex usage quota.
desktopmacOS desktop automation as an AgentDock Skill workflow.
douban-marks只读查询豆瓣电影、图书、音乐标记列表和电影条目联想。用于读取用户自己的已看、想看、在看等标记;公开主页可直接读,私密列表需要本机环境或 .env 中的 DOUBAN_COOKIE。禁止用于批量采集、绕登录、写入标记或读取非授权账号。
douyin-hot获取抖音实时热榜并返回标题、热度和跳转链接。
find-skills-skillSearch and discover OpenClaw skills from various sources. Use when: user wants to find available skills, search for specific functionality, or discover new skills to install.
grok-quotaQuery detailed Grok weekly usage, GrokChat/GrokBuild breakdown, plan, monthly credits, and pay-as-you-go state from local xAI OAuth credentials.