quark-download

quark-download is a skill for Claude Code from psylch/media-master. It costs 100 tokens per session (2,364 once invoked), scanned A, original, MIT.

A tool for searching, checking, saving, and downloading resources from cloud drives through PanSou and the Quark desktop app.

In plain words
What is it for?
Searching cloud-drive resources, validating links, saving them to Quark, and downloading them locally after the required services pass a readiness check.
Why use it?
It joins resource searching with link validation and local download steps, reducing the need to move manually between an aggregation service and the Quark app.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the media-master plugin — 3 skills shipped together

Good fit Searching cloud-drive resources, validating links, saving them to Quark, and downloading them locally after the required services pass a readiness check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/psylch/media-master/quark-download
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add psylch/media-master --skill quark-download
Clone the repo
git clone --depth 1 https://github.com/psylch/media-master

Made for: Claude Code.

Or install media-master, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quark-download

README.md
[![agentmods](https://agentmods.dev/badge/skills/psylch/media-master/quark-download/github.svg)](https://agentmods.dev/skills/psylch/media-master/quark-download)
Your own site
<a href="https://agentmods.dev/skills/psylch/media-master/quark-download"><img src="https://agentmods.dev/badge/skills/psylch/media-master/quark-download/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quark-download

Your own site · 80×15
<a href="https://agentmods.dev/skills/psylch/media-master/quark-download"><img src="https://agentmods.dev/badge/skills/psylch/media-master/quark-download.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02364
Opus 5 $0.00050 $0.01182
Sonnet 5 $0.00020 $0.00473
Haiku 4.5 $0.00010 $0.00236

Measured 11d ago against content hash 30f8082ca3cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

quark-download scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/quark_search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/quark-download/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.
Check Fix
Quark APP not running Launch Quark desktop APP and wait a few seconds for it to start
Quark APP not logged in Log 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.

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:

Flag Default Description
--top N 5 Number of top valid results to return with details
--no-validate off Skip validation (faster, but may include dead links)
--limit N 30 PanSou results per page
--page N 1 PanSou page number

Read the full file on GitHub · 216 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 216 lines · 100 tokens per session scan A 30f8082ca3cb

Subscribe to this mod's changes

quark-download is a skill published in the GitHub repository psylch/media-master (5 stars, last pushed 6mo ago), licensed MIT. It adds 100 tokens to every session and 2,364 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.