Quark Drive Automation for Openclaw

An advanced automation toolkit for Quark Drive featuring QR-based authentication, file management, and automated link sharing.

stnjjjjj
v1.0.0
Mar 22, 2026
0
915
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install quark-netdisk

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install quark-netdisk using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Quark Drive Automation?

This skill provides a robust bridge between AI agents and Quark Drive (夸克网盘), enabling seamless file operations through a developer-friendly interface. It is a core part of the Openclaw Skills ecosystem, designed to handle the complexities of cloud storage management such as session persistence and risk control.

The skill prioritizes security and privacy by utilizing a remote allowlist system, ensuring that automation only occurs within designated folders like /OpenClaw/**. By integrating this into your workflow, you can automate repetitive tasks like saving shared resources (转存) or generating shareable links with custom expiry dates without leaving your terminal or chat interface.

Quark Drive Automation Use Cases

  • Automating the saving of external Quark share links directly to a specified folder in your drive.
  • Managing remote cloud files via command line or integrated chat channels like Telegram or WhatsApp.
  • Programmatically generating password-protected share links for team collaboration.
  • Creating automated backups by uploading local directory contents to Quark Drive.
  • Building a searchable index of cloud files for fast retrieval without using a browser.

How Quark Drive Automation Works

  1. Authentication is established by generating a QR code via the login-prepare command, which the user scans using the Quark App.
  2. The session is persisted locally in encrypted JSON files to maintain long-term access without repeated logins.
  3. Every command checks the remote and local allowlists to ensure operations remain within safe, user-defined boundaries.
  4. For file sharing, the skill performs a search-first workflow to identify candidates before prompting the user for expiry and passcode settings.
  5. Destructive operations like deletion require an explicit confirmation flag to prevent accidental data loss.

Quark Drive Automation Setup

To get started with this Openclaw Skills component, ensure you have system Python installed and configure your environment:

# Install dependencies (ensure you are in the skill directory)
pip install -r requirements.txt

# Configure your allowlists
cp references/config.example.json references/config.json
# Edit references/config.json to set your remoteAllowlist and localAllowlist

# Initiate the login process
python3 scripts/quark_drive.py login-prepare
# Scan the QR code, then:
python3 scripts/quark_drive.py login-wait

Quark Drive Automation Data Schema & Taxonomy

The skill manages its state and metadata through several key files in the references/ directory. Note that sensitive files are excluded from version control.

File Description Sensitivity
config.json User-defined remote and local path allowlists Low
session_api.json API session details and tokens High
cookies.json Authentication cookies for web requests High
index.json (Optional) Ephemeral file index for fuzzy searching Medium
qr_code.png Temporary image for QR-code login flow Medium

Quark Drive Automation Advanced Features

  • Smart Orchestration: Automatically handles exit codes (e.g., Code 10 for login requirements) to trigger QR display in chat channels.
  • Multi-Channel Support: Built-in support for Telegram-run and other messaging platform integrations.
  • Client-Side Fuzzy Search: Builds in-memory indices for lightning-fast file searching without triggering heavy API calls.
  • Batch Share Saving: Supports the share-save command to process text or URLs and automatically transfer resources to your drive.
  • Automatic Risk Detection: Stops operations and alerts the user if captcha or account risk controls are triggered.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*