lark-drive

lark-drive is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 331 tokens per session (7,468 once invoked), scanned A, a copy of lark-drive, MIT.

A cloud-drive assistant for Feishu, a workplace collaboration platform, that manages online files, folders, documents, spreadsheets, presentations, and related permissions and comments.

In plain words
What is it for?
It helps search, upload, download, copy, move, rename, delete, and inspect files; create folders; manage comments and access; import local documents and spreadsheets; and handle file versions.
Why use it?
It removes the need to perform routine cloud-storage tasks manually or remember separate steps for searching, uploading, moving, sharing, and importing files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps search, upload, download, copy, move, rename, delete, and inspect files; create folders; manage comments and access; import local documents and spreadsheets; and handle file versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/lark-drive
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 EthanYoQ/Skill-hub --skill lark-drive
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

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 lark-drive

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/lark-drive/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/lark-drive)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/lark-drive"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/lark-drive/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 lark-drive

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/lark-drive"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/lark-drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 331 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,468 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 88% copy Near-identical to another mod 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.00331 $0.07468
Opus 5.5 $0.00132 $0.02987
Sonnet 5.5 $0.00066 $0.01494
Haiku 4.5 $0.00033 $0.00747

Measured 2mo ago against content hash 8c1269bebc51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lark-drive 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 2mo ago.

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.

Origin

This is a copy

88% identical to lark-drive — 84 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archives/user-installed-skills/lark-drive/b85f715614c551f3/lark-drive/SKILL.md · 373 lines

How it starts

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

drive (v1)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理

术语说明: 飞书云空间也常被称为"云盘"或"云存储",三者指的是同一个产品,是飞书官方的云端文件存储与管理中心。

导入分流规则: 如果用户要把本地 Excel / CSV / .base 快照导入成 Base / 多维表格 / bitable,必须优先使用 lark-cli drive +import --type bitable。不要先切到 lark-base;lark-base 只负责导入完成后的表内操作。

快速决策

  • 用户要搜文档 / Wiki / 电子表格 / 多维表格 / 云空间(云盘/云存储)对象,优先使用 lark-cli drive +search。自然语言里"最近我编辑过的"、"我创建的"(→ --mine,实为 owner 语义)、"最近一周我打开过的 xxx"、"某人 owner 的 docx" 等直接映射到扁平 flag,避免手写嵌套 JSON。
  • 用户要把本地 .xlsx / .csv / .base 导入成 Base / 多维表格 / bitable,第一步必须使用 lark-cli drive +import --type bitable。
  • 用户要把本地 .md / .docx / .doc / .txt / .html 导入成在线文档,使用 lark-cli drive +import --type docx。
  • 用户要把本地 .pptx 导入成飞书幻灯片,使用 lark-cli drive +import --type slides;当前 PPTX 导入上限是 500MB。
  • 用户要在 Drive 里上传、创建、读取、局部 patch 或覆盖更新原生 .md 文件(不是导入成 docx),切到 lark-markdown。
  • 用户要比较原生 .md 文件的历史版本差异,或比较远端 Markdown 与本地草稿,切到 lark-markdown 的 lark-cli markdown +diff;需要版本号时先用 drive +version-history。
  • 用户要查看、下载、回滚或删除文件的历史版本,使用 drive +version-history、drive +version-get、drive +version-revert、drive +version-delete;这组命令同时支持 --as user 和 --as bot,自动化场景优先 --as bot。
  • 用户要把本地 .xlsx / .xls / .csv 导入成电子表格,使用 lark-cli drive +import --type sheet。
  • 用户要在云空间(云盘/云存储)里新建文件夹,优先使用 lark-cli drive +create-folder。
  • 用户要把本地文件上传到知识库 / 文档库里的某个 wiki 节点下时,仍然使用 lark-cli drive +upload --wiki-token <wiki_token>;不要误切到 wiki 域命令。
  • lark-base 只负责导入完成后的 Base 内部操作(表、字段、记录、视图),不要在“本地文件 -> Base”这一步提前切到 lark-base。

修改标题

  • 使用 drive files patch 命令,通过new_title字段可以修改标题,支持 docx、sheet、bitable、file、wiki、folder 类型

核心概念

文档类型与 Token

飞书开放平台中,不同类型的文档有不同的 URL 格式和 Token 处理方式。在进行文档操作(如添加评论、下载文件等)时,必须先获取正确的 file_token。

文档 URL 格式与 Token 处理

URL 格式 示例 Token 类型 处理方式
/docx/ https://example.larksuite.com/docx/doxcnxxxxxxxxx file_token URL 路径中的 token 直接作为 file_token 使用
/doc/ https://example.larksuite.com/doc/doccnxxxxxxxxx file_token URL 路径中的 token 直接作为 file_token 使用
/wiki/ https://example.larksuite.com/wiki/wikcnxxxxxxxxx wiki_token ⚠️ 不能直接使用,需要先查询获取真实的 obj_token
/sheets/ https://example.larksuite.com/sheets/shtcnxxxxxxxxx file_token URL 路径中的 token 直接作为 file_token 使用
/drive/folder/ https://example.larksuite.com/drive/folder/fldcnxxxx folder_token URL 路径中的 token 作为文件夹 token 使用

Read the full file on GitHub · 373 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. 2mo ago First seen · 373 lines · 331 tokens per session scan A 8c1269bebc51

Subscribe to this mod's changes

lark-drive is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 331 tokens to every session and 7,468 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to lark-drive, differing in 84 lines, and is treated as a copy.

Related

lark-drive compared with skills from other repositories

lark-drive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lark-driveEthanYoQ/Skill-hubSkill122d agoMITA331Claude Code, Codex
google-workspaceNousResearch/hermes-agentSkill267ktodayMITA21Claude Code, Codex
gogopenclaw/openclawSkill395ktodayMITA20Claude Code, Codex
feishudeepseek-ai/deepseek-harnessSkill289k2d agoMITA90Claude Code, Codex
wecomdeepseek-ai/deepseek-harnessSkill289k2d agoMITA90Claude Code, Codex
office-productivitysickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex