Agent skill

Quark Hub

by OpenMinis in OpenMinis/MinisSkills

Quark Cloud Drive file management tool. An agent skill from OpenMinis/MinisSkills.

MITAuto-check passedProductivity & Automation

Install Quark Hub

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill quark-hub -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenMinis/MinisSkills quark-hub --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/quark-hub .claude/skills/quark-hub && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
quark-hub
GitHub stars
446
Token cost
~1.4k tokens
SKILL.md length
449 words
Files
5 (incl. scripts)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

Quark Cloud Drive file management tool. An agent skill from OpenMinis/MinisSkills.

  • Works in 3 steps: Give the user a clickable login link → After the user confirms login, extract… → Verify that login succeeded
  • This skill when the user mentions Quark Cloud Drive
  • SKILL.md covers File Paths, Dependencies, Command Quick Reference and ⚡ Best Workflow for Saving and…, plus 5 more sections
  • Runs Python and Shell scripts from its folder; calls python3, apk and sh; reaches pan.quark.cn

What it does

Quark Hub is an agent skill from OpenMinis/MinisSkills. Quark Cloud Drive file management tool. Supports login, directory listing, saving shared links to your drive, downloading files, and creating directories. Login now uses minis-browser-use instead of the original project's Playwright. Trigger this skill when the user mentions "Quark Cloud Drive", "Quark download", "Quark save", "quark", or "pan.quark.cn".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `quark_hub.py`, `scripts/quark_share_ls.py` and `scripts/refresh_cookie.sh`).

It sits in Productivity & Automation, covering Browser automation, File organization and Browser testing. It works with Playwright. The repository describes itself as: Skills collection for Minis. The licence is MIT.

When your agent uses it

  • This skill when the user mentions Quark Cloud Drive
  • Tasks that involve Browser automation
  • Tasks that involve File organization

Example prompts

  • “s Playwright. Trigger this skill when the user mentions”
  • “Quark download”
  • “Quark save”
  • “/quark-hub”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Give the user a clickable login link
  2. After the user confirms login, extract and save the Cookie
  3. Verify that login succeeded

What it can do on your machine

Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • apk
    • sh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • pan.quark.cn

    Also links to:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Quark Hub loads about 1.4k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 449 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 449 words, ~1,438 tokens.

Download SKILL.mdSave it as .claude/skills/quark-hub/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
quark-hub
description
Quark Cloud Drive file management tool. Supports login, directory listing, saving shared links to your drive, downloading files, and creating directories. Login now uses minis-browser-use instead of the original project's Playwright. Trigger this skill when the user mentions "Quark Cloud Drive", "Quark download", "Quark save", "quark", or "pan.quark.cn".
version
1.4.0

quark-hub

A Minis version of the Quark Cloud Drive tool, adapted from ihmily/QuarkPanTool (Apache-2.0).

File Paths

FilePathDescription
Main script/var/minis/skills/quark-hub/quark_hub.pyEntry point for all commands
Share listing script/var/minis/skills/quark-hub/scripts/quark_share_ls.pyStandalone script; no login required
Cookie refresh script/var/minis/skills/quark-hub/scripts/refresh_cookie.shRefresh the Cookie with one command
Cookie cache~/.quark_hub_cookiePersists login state for reuse across sessions; permissions 600

Dependencies

No pip installation required. Only native Alpine packages are needed (preinstalled on iSH):

PackageSourcePurpose
aiohttpNative Alpine (py3-aiohttp)All async HTTP requests
Standard libraryBuilt into Pythonasyncio / json / re / urllib / threading, etc.

If aiohttp is unavailable:

bash
apk add py3-aiohttp

Command Quick Reference

CommandLoginDescription
ls-share <url>🔓 Not requiredList files in the root directory of a shared link
tree-share <url>🔓 Not requiredRecursively expand the complete file tree of a shared link
info🔒 RequiredView account information and storage capacity
ls [fid]🔒 RequiredList your own cloud drive directory, including fid values
save <url> [fid]🔒 RequiredSave shared files to your cloud drive, automatically checking whether they already exist
dl <url> [dir]🔒 RequiredDownload files from your own cloud drive to local storage, with a background thread and progress
mkdir <name> [fid]🔒 RequiredCreate a cloud drive directory

⚡ Best Workflow for Saving and Downloading (Agents Must Read)

When downloading files shared by others, follow this order to avoid duplicate saves:

1. tree-share <url>           # See exactly what is in the share
2. ls [to_fid]                # Check whether the target cloud drive directory already has content with the same name
3a. Exists → download by fid directly    # Skip saving; use the existing fid to call api_get_download_urls
3b. Does not exist → save <url>          # Save to your drive (also checks internally and skips if it already exists)
4. ls [to_fid]                # Get the fid of the file after it has been saved
5. dl (pass extra_fids)       # Download in a background thread; automatically prints progress and 1-minute average speed

Key: the save command now automatically checks whether a file with the same name already exists in the target directory and skips saving if it does. However, the agent should still run ls before calling save to confirm and avoid unnecessary network requests.

Show full SKILL.md (186 more words)Show less

Download Notes

  • dl / download_files_bg can download only files in your own cloud drive due to Quark API restrictions.
  • Files shared by others → first save to your drive → then ls to get the fid → then dl.
  • Downloads run in a background thread and print progress every 10 seconds (downloaded / total size / percentage / 1-minute average speed).
  • Download URLs point to Alibaba Cloud OSS, and headers must not include Content-Type (handled in the code).
  • Files such as subtitles can be renamed during download with the rename_map parameter, for example to match the video filename.

Code-Level API (for importing in scripts)

python
from quark_hub import (
    ensure_cookie,           # Get/validate the Cookie; sys.exit(10) if invalid
    api_get_download_urls,   # Pass a fid list → return a list of dicts containing download_url
    download_files_bg,       # Download in a background thread; pass items=[{file_name, download_url, save_name?}]
    api_list_all,            # List a cloud drive directory
)

Login Flow (performed by the agent)

The script itself does not drive the browser. When the script exits with exit code 10, login is required. The agent completes login as follows:

markdown
Please log in to Quark Cloud Drive first: [Click to log in to Quark Cloud Drive](https://pan.quark.cn)
Let me know once you have finished logging in.
Step 2: After the user confirms login, extract and save the Cookie
bash
sh /var/minis/skills/quark-hub/scripts/refresh_cookie.sh
Step 3: Verify that login succeeded
bash
python3 /var/minis/skills/quark-hub/quark_hub.py info

Usage Examples

bash
S=/var/minis/skills/quark-hub/quark_hub.py

# 🔓 No login required
python3 $S ls-share   "https://pan.quark.cn/s/xxxxxxxx"
python3 $S tree-share "https://pan.quark.cn/s/xxxxxxxx"

# 🔒 Login required
python3 $S info
python3 $S ls
python3 $S ls <fid>
python3 $S save "https://pan.quark.cn/s/xxxxxxxx"         # Automatically checks existing content → skip or save
python3 $S save "https://pan.quark.cn/s/xxxxxxxx?pwd=1234" <target_fid>
python3 $S dl   "https://pan.quark.cn/s/xxxxxxxx" /var/minis/workspace/
python3 $S mkdir My Movies

Notes

  • Cookies are valid for about 7-30 days. Log in again after they expire.
  • Use for illegal purposes is strictly prohibited. This tool only calls the official Quark API.

© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in quark-hub of OpenMinis/MinisSkills.

  • SKILL.md
  • .gitignore
  • quark_hub.py
  • scripts/quark_share_ls.py
  • scripts/refresh_cookie.sh

Open the folder on GitHubat commit ae8c5db

Compare with similar skills

Quark Hub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Quark Hub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Quark Hub this skillOpenMinis/MinisSkills446—~1.4kAutomated safety check: PassMIT
AI Search Hubminsight-ai-info/AI-Search-Hub1.3k—~1.3kAutomated safety check: PassNone
Ego Browserkwakseongjae/oh-my-design5331 repos~4.9kAutomated safety check: PassMIT
Browser Controlanomalyco/browser-control440—~8.4kAutomated safety check: PassMIT
Playwright Bowserdisler/bowser265—~1.1kAutomated safety check: NotesNone
Vrboborski/travel-hacking-toolkit688—~1.7kAutomated safety check: PassMIT

Similar skills

  • AI Search Hub

    minsight-ai-info/AI-Search-Hub

    Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, Grok, and MiniMax.

    1.3k GitHub stars~1.3k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Ego Browser

    kwakseongjae/oh-my-design

    When you need a browser, read this Skill by default. An agent skill from kwakseongjae/oh-my-design.

    533 GitHub starsUsed in 1 repo~4.9k tokens
    Productivity & AutomationAuto-check passed
  • Browser Control

    anomalyco/browser-control

    Drive the user's existing Chromium-family browser with deterministic Playwright.

    440 GitHub stars~8.4k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Playwright Bowser

    disler/bowser

    Headless browser automation using Playwright CLI. An agent skill from disler/bowser.

    265 GitHub stars~1.1k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check: notes
  • Vrbo

    borski/travel-hacking-toolkit

    Search VRBO (Vrbo / Expedia Group) vacation rentals including entire homes, condos, and cabins via Patchright browser automation.

    688 GitHub stars~1.7k tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed
  • Sap Browser Automation

    secondsky/sap-skills

    A skill your agent uses when an agent must inspect or operate an authenticated SAP web UI through an in-app Browser, Microsoft Edge CDP, or an existing Playwright client, especially when SAP SSO…

    462 GitHub stars~3.3k tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    446 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    446 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    446 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Openstreetmap Marker

    OpenMinis/MinisSkills

    Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

    446 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Quark Hub

What does Quark Hub do?

Quark Cloud Drive file management tool. An agent skill from OpenMinis/MinisSkills. Quark Hub is an agent skill from OpenMinis/MinisSkills. Quark Cloud Drive file management tool.

When should I use Quark Hub?

Quark Hub fits situations like: this skill when the user mentions Quark Cloud Drive; tasks that involve Browser automation; tasks that involve File organization.

How do I install Quark Hub in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill quark-hub -a claude-code`. Or copy the skill folder (quark-hub in OpenMinis/MinisSkills) into .claude/skills/quark-hub in your project. Claude Code loads it when a task matches its description.

How do I install Quark Hub in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill quark-hub -a codex`. Or copy the skill folder (quark-hub in OpenMinis/MinisSkills) into .agents/skills/quark-hub in your project. Codex loads it when a task matches its description.

Can I use Quark Hub in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill quark-hub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quark-hub, .gemini/skills/quark-hub, .github/skills/quark-hub and .opencode/skills/quark-hub in your project.

What does Quark Hub need to run?

Going by SKILL.md and its folder, Quark Hub needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python3, apk and sh). Our summary lists: Python 3; A Bash shell.

Does Quark Hub access the network?

SKILL.md names 2 domains. In commands or code: pan.quark.cn; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.

Is Quark Hub safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Quark Hub use?

Quark Hub is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Quark Hub use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Quark Hub?

Skills that share tags, products or a category with Quark Hub: AI Search Hub (minsight-ai-info/AI-Search-Hub, 1.3k stars), Ego Browser (kwakseongjae/oh-my-design, 533 stars), Browser Control (anomalyco/browser-control, 440 stars) and Playwright Bowser (disler/bowser, 265 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Quark Hub?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 446 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.