quarkclouddrive

quarkclouddrive is a skill for Claude Code, Codex from quark-clouddrive/quarkclouddrive_offical. It costs 155 tokens per session (10,431 once invoked), scanned C, original, Apache-2.0.

A coding-agent add-on for Quark Drive, a Chinese cloud storage service, using its command-line tool and API to manage files online.

In plain words
What is it for?
Installing or updating the Quark Drive tool, binding an account, checking the installation, and performing supported cloud-drive operations.
Why use it?
It gives the agent a defined way to install, update, authenticate, and use Quark Drive without manually managing the command-line setup.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/quark-drive.cjs <command> [options].

Good fit Installing or updating the Quark Drive tool, binding an account, checking the installation, and performing supported cloud-drive operations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/quark-clouddrive/quarkclouddrive_offical
agentmods
npx agentmods add skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive

Made for: Claude Code, Codex.

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 quarkclouddrive

README.md
[![agentmods](https://agentmods.dev/badge/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive/github.svg)](https://agentmods.dev/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive)
Your own site
<a href="https://agentmods.dev/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive"><img src="https://agentmods.dev/badge/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive/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 quarkclouddrive

Your own site · 80×15
<a href="https://agentmods.dev/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive"><img src="https://agentmods.dev/badge/skills/quark-clouddrive/quarkclouddrive_offical/quarkclouddrive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,431 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00155 $0.10431
Opus 5.5 $0.00062 $0.04172
Sonnet 5.5 $0.00031 $0.02086
Haiku 4.5 $0.00015 $0.01043

Measured 7d ago against content hash 9c9abf3c031d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

quarkclouddrive scanned grade C with 1 finding 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 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (install.sh, uninstall.sh), 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`scripts/uninstall.sh` 会调用 `node scripts/quark-drive.cjs logout` 撤销本机授权并删除当前 agent 的配置目录。**禁止**跳过 `scripts/uninstall.sh` 直接用 `rm -rf` 删除,否则服务端授权记录不会被撤销。
skills/quarkclouddrive/SKILL.md · 320 lines

How it starts

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

Quark Drive 官方 Skill

夸克网盘命令行工具,通过夸克开放平台 API 操作网盘。

夸克网盘独立端下载地址:https://pan.quark.cn

notice.text 展示(强制)

每次命令执行后,Agent 必须读取最终 result.notice.text。只要非空,无论命令成功或失败、notice.kind 为何值,都必须在业务结果或错误说明之后另起一段,完整、原样展示 notice.text,不得省略、概括或改写。 仅在工具输出中出现,不算已向用户展示;最终回复必须包含该原文。

只展示本次最终结果实际返回的内容,不自行追加引导文案;字段缺失或为空时不补造。已有链接按原链接展示规则处理。发送回复前必须核对非空 notice.text 已完整展示。

Login 成功后的会员权益展示(强制)

每次执行 login 后,只要最终结果为 code: 0,agent 必须读取 references/membership-benefits.md,向用户完整展示标题和 Markdown 权益表格。该规则无例外:浏览器登录、--token 登录、用户主动登录、原任务触发的自动补登录,以及 confirmed、second_confirmed、install_confirmed 等所有成功状态均适用。禁止因需要继续原任务、已经展示授权范围文案或任何其他原因省略表格。

如果成功结果包含非空 data.skill_vip_url,必须紧接表格展示 [查看完整会员权益](URL) 蓝链,URL 使用该字段完整原值;字段为空或缺失时不补造。自动补登录场景应先展示权益表格和可选蓝链,再继续执行原任务。详细的成功文案分支见 references/auth.md。

安装

首次使用本 skill 时,必须先运行 scripts/install.sh 完成 CLI 安装:

bash scripts/install.sh

scripts/install.sh 会自动完成以下操作:

  1. 检测运行环境(macOS / Linux / Windows)
  2. 检测 Node.js >= 16,不满足则自动安装
  3. 从服务端下载最新的 skill zip 包并解压安装到 skill 目录
  4. 自检验证安装结果

安装目录约定:本 skill 应安装在 agent 的全局 skills 目录下,确保在所有项目中均可使用。请勿安装到项目级目录或临时目录,否则 skill 仅对单个项目生效或随项目清理而丢失。

安装完成后可通过 node scripts/quark-drive.cjs --help 验证。如需卸载/删除,需执行两步:先运行 bash scripts/uninstall.sh(撤销授权 + 清除 CLI),再删除 skill 目录(移除 agent skill 文件)。卸载属不可逆操作,agent 调用前必须二次确认,详见 references/auth.md。

升级 / 更新 skill(重要约定,必须遵守)

当用户表达「升级 skill」「更新夸克网盘 skill」等诉求时,agent 必须直接执行 bash scripts/install.sh,由脚本进入更新模式,同步更新 CLI 运行时文件、SKILL.md 和 references/,保证 skill 完整升级。

安装后欢迎语(引导绑定)

触发条件:当 scripts/install.sh 为首次安装(即全新安装、非更新模式,本地原本不存在 scripts/quark-drive.cjs),或本地 config.json 中 accounts 为空(用户尚未绑定夸克网盘)时,agent 必须原样输出以下欢迎文案,引导用户绑定。

避免刷屏:仅在上述「首次安装 / 未绑定」场景输出一次;已绑定账号的常规安装检查禁止重复输出此文案。绑定成功后的能力介绍见 references/auth.md 中 login 的「登录成功后的引导规则」。

👋 你好!绑定夸克网盘后,对话文件随时归档,公开资料直接存网盘,网盘照片随心整理。
若没有夸克网盘账号,下载夸克网盘 APP 并注册,立得 10GB 免费空间。📲 官网下载:https://pan.quark.cn

绑定后我能做这些事:
💾 你在 AI 里的对话和重要文件,直接存网盘
● 「规划的国庆三亚 5 日游行程,存到网盘里」
● 「每天定时生成美股分析,总结好后存进网盘」
🔍 你网盘里的文件,随时能找出来用
● 「找到我和妈妈在西湖边的合照,帮我做成母亲节贺卡」
● 「找出我存的装修报价单,和最新这份做成对比表」
📚 公开资料随手存,AI 搭好知识库随时问
● 「帮我找几篇 AI 产品经理面经存到网盘」
● 「根据网盘里的基金入门书,月入 1 万怎么分配定投?」
📷 网盘照片随心整理,AI 帮你挑
● 「网盘里所有带猫的照片整理到一起」
● 「去年日本旅行的照片,按东京大阪京都整理一下」
具体功能权益以授权成功后展示的会员权益表为准。

👆 请回复「授权」绑定夸克网盘,绑定后即可使用以上功能。

Read the full file on GitHub · 320 lines

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. 7d ago Changed 9c9abf3c031d
  2. 16d ago Changed · +43 lines · -7 tokens per session 0cd9b01199fe
  3. 1mo ago Changed da7540337546
  4. 1mo ago Changed a1f892f27bb2
  5. 1mo ago Changed a0e044d33b82
  6. 1mo ago Changed · +33 lines · +83 tokens per session 420644fd8b4a
  7. 1mo ago First seen · 244 lines · 79 tokens per session scan C b9d3d50204eb

Subscribe to this mod's changes

quarkclouddrive is a skill published in the GitHub repository quark-clouddrive/quarkclouddrive_offical (69 stars, last pushed 8d ago), licensed Apache-2.0. It adds 155 tokens to every session and 10,431 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.