quark-download
Installation
SKILL.md
Quark Search — 网盘资源搜索与下载
Language
Match user's language: Respond in the same language the user uses.
Automate the full workflow: search resources → validate links → save to Quark cloud drive → download locally, by combining the PanSou aggregation API with the local Quark desktop APP.
All operations use the CLI script at ${SKILL_PATH}/scripts/quark_search.py. It outputs JSON to stdout ({"status": "ok", "results": {...}, "hint": "..."}) and errors to stderr ({"error": "code", "message": "...", "hint": "...", "recoverable": true/false}). Exit codes: 0 = success, 1 = recoverable error, 2 = fatal error.
Preflight (MUST run first)
Before any business command (search, validate, save, etc.), run preflight:
python3 ${SKILL_PATH}/scripts/quark_search.py preflight
Response: Standardized JSON with ready: true/false, dependencies, and services status.