Token导航 LogoToken导航

Agent Skill · 研究检索

quark-download(夸克下载)

quark-download 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

quark-download 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 32,311。

总安装 2,545周安装 105GitHub Stars 4下载 832核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:quark-download(夸克下载)
来源仓库:https://github.com/psylch/media-master
仓库路径:skills/quark-download
安装命令:
npx skills add https://github.com/psylch/media-master --skill quark-download
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/psylch/media-master --skill quark-download

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词或任务场景快速定位候选结果。适用于夸克下载相关的媒体资源获取与管理场景,支持基于来源线索的文件路径解析。

通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。quark-download 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/quark-download

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/psylch/media-master --skill quark-download;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

quark-download 怎么安装?

在终端执行 npx skills add https://github.com/psylch/media-master --skill quark-download。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

quark-download 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

quark-download 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

quark-download 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

quark-download 用的人多吗?

公开数据是累计安装 2,545 次,近一周安装 105 次,下载 832 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

quark-download 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
quark-download

夸克下载 · 本页

2,5454操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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.

  • If ready: true → proceed to workflow.
  • If ready: false → follow the Check/Fix table below, then re-run preflight until it passes. Do NOT proceed to search or save until preflight passes.
CheckFix
Quark APP not runningLaunch Quark desktop APP and wait a few seconds for it to start
Quark APP not logged inLog in with membership account in the Quark APP
Why gate on preflight? Search itself works without Quark APP (it calls the PanSou web API), but save requires a running, logged-in Quark APP. Running preflight first prevents the frustrating experience of finding resources and then discovering you can't save them.

Workflow — Quick Search (recommended)

Prerequisite: Preflight must have returned ready: true.

A single command searches PanSou, validates all links in parallel, and fetches file details for the top results:

python3 ${SKILL_PATH}/scripts/quark_search.py search "KEYWORD" --top 5

Options:

FlagDefaultDescription
--top N5Number of top valid results to return with details
--no-validateoffSkip validation (faster, but may include dead links)
--limit N30PanSou results per page
--page N1PanSou page number

Success response:

{
  "status": "ok",
  "hint": "Found 8 valid Quark links for '三体', returning top 5.",
  "results": {
    "keyword": "三体",
    "total": 1234,
    "valid_count": 8,
    "results": [
      {
        "pwd_id": "abc123def",
        "url": "https://pan.quark.cn/s/abc123def",
        "note": "三体全集 4K",
        "source": "plugin:libvio",
        "datetime": "2025-01-15",
        "stoken": "xxx",
        "detail": {
          "pwd_id": "abc123def",
          "pdir_fid": "0",
          "total": 3,
          "list": [
            {"file_name": "三体S01E01.mkv", "size": 4294967296, "dir": false, "fid": "f1"},
            {"file_name": "Extras", "size": 0, "dir": true, "fid": "f2", "include_items": 5}
          ]
        }
      }
    ]
  }
}

Key fields:

  • total — total results across all drive types from PanSou
  • valid_count — how many quark links passed validation
  • results[].pwd_id — share ID for save command
  • results[].detail.list[] — files/folders in the share
  • results[].detail.list[].dir — true if folder (more reliable than file_type)
  • results[].detail.list[].fid — use with detail command to browse subfolders

No quark results: When results is empty but total > 0, the response includes type_counts showing available results on other drive types. Report these to the user.

Priority: Always prioritize quark type results since the user has Quark membership. The script handles this automatically.

Workflow — Step-by-step

Prerequisite: Preflight must have returned ready: true.

For granular control, use individual subcommands:

Validate Links

python3 ${SKILL_PATH}/scripts/quark_search.py validate PWD_ID_OR_URL [...]

Accepts multiple pwd_ids or full share URLs. Returns validation status for each:

statusMeaningAction
validShare is aliveProceed. Response includes stoken for detail query
expiredShare expired (code 41004)Skip, mark as expired
not_existShare deleted (code 41006)Skip, mark as invalid
errorOther errorSkip

Get File Details

python3 ${SKILL_PATH}/scripts/quark_search.py detail PWD_ID --stoken STOKEN [--fid FID]

Fetches the file listing for a share. Use --fid to browse into a subfolder (pass the folder's fid from a previous detail response).

Health Check

python3 ${SKILL_PATH}/scripts/quark_search.py health [--refresh]

Shows PanSou API status and the channels/plugins lists used for search. Health data is cached for 24 hours at ~/.cache/quark-search/health.json. Use --refresh to force a fresh fetch.

Present Results to User

Format results clearly:

搜索 "三体" 找到 X 个有效夸克网盘资源:

1. [有效] 三体全集 4K — 3个文件,来源: plugin:libvio
   https://pan.quark.cn/s/abc123
2. [有效] 三体 第一季 1080P — 1个文件夹(42项),来源: channel:yunpanx
   https://pan.quark.cn/s/def456
3. [已失效] 三体合集 — 分享已过期

Ask the user which one to save.

Save

Requires Quark APP running and logged in. Before attempting save, verify preflight has passed in this session. If unsure, re-run preflight.

When the user selects a resource, trigger the Quark APP to open the share link:

python3 ${SKILL_PATH}/scripts/quark_search.py save PWD_ID_OR_URL

The script tries three methods in order: desktop_share_visiting (preferred) → desktop_caller deeplink → browser fallback. The response indicates which method succeeded.

After a successful APP save (method desktop_share_visiting or desktop_caller), inform the user:

已在夸克 APP 中打开分享链接窗口。注意:弹出的窗口可能很小,请留意任务栏/Dock 上的夸克图标。 在 APP 中点击「保存到网盘」按钮完成保存。保存后文件会出现在你的网盘中,可以直接在 APP 中下载到本地。

If the response method is browser_fallback, open the URL in the browser instead and inform the user to save from the web page.

Batch Processing

When the user wants to search and save multiple resources, loop through the search → present → save workflow for each keyword. Validate all links first via the search command, then trigger APP saves sequentially.

Completion Report

After a successful save, present this summary to the user:

[Quark Download] Complete!
Resource: [title]
Share: [URL]
Method: [save method used]
→ Click "保存到网盘" in Quark APP to complete

Error Handling

ErrorDetectionResolution
Quark APP not runningpreflight returns ready: false, service not_runningTell user to launch Quark APP
Not logged inpreflight returns ready: false, hint mentions loginTell user to log in
APP disconnected mid-sessionsave returns app_not_running error after preflight passed earlierRe-run preflight; if it fails, tell user to restart Quark APP and log in again
No search resultssearch returns total: 0Suggest different keywords
All links invalidsearch returns valid_count: 0Try alternative keywords or drive types
Share has passwordvalidate returns password required errorAsk user for the extraction code (提取码)
PanSou API errorsearch returns error: "pansou_error"Retry or try later

Troubleshooting

SymptomLikely CauseFix
localhost:9128 refusedQuark APP not runningLaunch Quark desktop APP
preflight passes but save failsAPP window minimized or hiddenCheck taskbar/Dock for Quark icon, bring window to front
Search returns results but all invalidResources expired or removedTry different keywords or broaden search terms
pansou_error on every searchPanSou API down or network issueWait and retry later; check network connectivity
browser_fallback method usedQuark APP local API not respondingRestart Quark APP; ensure it's the desktop version (not mobile)
Detail returns empty file listShare requires extraction code (提取码)Ask user for the code and re-validate with passcode

Important Notes

  • All share validation APIs are public (no authentication needed)
  • The local Quark APP API at localhost:9128 requires no authentication
  • The actual save-to-drive operation happens in the Quark APP UI (user clicks one button)
  • Download-to-local is handled by Quark APP's built-in download manager
  • Do not attempt to call Quark's authenticated remote APIs directly

平台分布

Codex

36.25%
按下载量换算302

Claude

31.07%
按下载量换算259

Cursor

20.43%
按下载量换算170

Gemini CLI

10.11%
按下载量换算84

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills