Skip to content

Guide · Agent skill

How to use the Feishu Drive File Manager agent skill (lark-drive)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The lark-drive skill is a set of instructions and reference files that teaches an AI agent how to work with Feishu (Lark) Drive, the cloud storage where documents, spreadsheets and files live. It is for people who already have a Feishu/Lark account and want an agent to tidy, search, import or review their cloud drive. After this guide you will know what the skill does, how to install it, how to phrase requests so it triggers, and which safety checks to expect.

Feishu Drive File Managerlarksuite/cli · MIT

Quick start

  1. 1Download the ZIP. Download the lark-drive skill ZIP from this page.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use, or into the project's .claude/skills/ folder.
  3. 3Or upload it in the Claude apps. Go to Settings → Capabilities → Skills in the Claude apps and upload the ZIP.
  4. 4Install and check lark-cli. Make sure lark-cli is installed, then run lark-cli drive --help to see the available drive commands.
  5. 5Confirm your Feishu access. Check that your Feishu/Lark account has the Drive scopes or bot authorization the task needs, as described in the lark-shared skill.
  6. 6Ask in plain language. Describe the task and include the URL or token, for example a document to comment on or a local file to import.
  7. 7Review before confirming writes. For deletions, permission changes or bulk moves, review the candidate list the agent shows and confirm the exact targets.

What is an agent skill, and what does lark-drive let the agent do?

An agent skill is a folder containing a SKILL.md file and supporting reference files. When an agent loads it, it gets specific procedures for one tool or product instead of guessing. The lark-drive skill (version 1.0.0 in its metadata) covers Feishu Drive, which the source also calls 云盘, 云存储, 网盘 or 我的空间.

With the skill installed, the agent knows how to upload and download files, create and copy folders and documents, look up metadata and permission settings, add or resolve comments, manage version history, rename items, apply secure labels, and import local Word, Markdown, Excel, CSV, PPTX or .base files into online Feishu formats. It works through the lark-cli command-line tool.

  • Manage files and folders: upload, download, create folders, copy, move, delete
  • Check metadata, permission settings, comments, subscriptions and version history
  • Import local files: .docx/.md/.txt/.html to docx, .xlsx/.csv to sheet or bitable, .pptx to slides
  • Resolve Feishu or doubao.com drive URLs and tokens to the real resource type

Install the lark-drive skill

Download the skill ZIP from this page and unzip it into one of these locations. Use ~/.claude/skills/ for a personal install available across your projects, or a project's .claude/skills/ folder to limit it to one project.

Alternatively, upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

  • Personal: unzip into ~/.claude/skills/
  • Project only: unzip into the project's .claude/skills/ folder
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP

Set up the prerequisites before you start

The skill cannot work without the lark-cli command-line tool and a Feishu/Lark account with appropriate Drive scopes or bot authorization. The SKILL.md file tells the agent to read the lark-shared skill first, because that file explains authentication and permission handling.

Run lark-cli drive --help to see the drive command list that the skill's metadata points to.

  • lark-cli installed and available on the command line
  • A Feishu/Lark account with the needed Drive scopes, or bot authorization
  • The lark-shared skill present, since the drive skill depends on its authentication instructions
lark-cli drive --help

How to trigger the skill with natural requests

You do not need special syntax. Describe the task in plain language and include the document URL or token when you have one. The skill's routing rules map common phrases to the right command.

Useful phrasings include finding recently edited or self-created files, importing a local file into a target type, and asking for a permission or risk review. Requests to delete things or open sharing broadly will trigger a read-only discovery step first, followed by a list for you to confirm.

  • "Find the Feishu docs I created last week about the Q3 budget"
  • "Import this local CSV into Feishu as a spreadsheet"
  • "Add a comment on this doc asking for the release notes"
  • "Check who can view this document link and list any public access"
  • "Rename this file to Final Report 2024"

Examples of what the agent will do

For imports, the skill says a local .xlsx, .csv or .base file must go to a bitable through lark-cli drive +import --type bitable, and a local .pptx goes to slides with a 500MB limit. Batch imports into the same folder must run one at a time, because concurrent imports to one location can hit server conflict errors.

For copies, the skill requires lark-cli drive +copy rather than exporting and re-importing. For comments, it selects the matching drive +<verb> comment command and reads its reference first.

Safety: scripts, network and confirmations

This skill runs scripts and uses the network: it calls lark-cli, which talks to Feishu services with your authorization. Only install skills you trust and check that your Feishu account has the access you intend to give.

For high-risk writes such as deletions, public permission changes, owner transfers, version deletion or rollback, and bulk move, overwrite or sync, the skill requires the target, the exact execution details and your explicit confirmation in the same turn. Requests like "delete the unused files" only produce a list of candidates for review. The skill also says that when drive +inspect or drive +upload fails with not found, permission denied or missing scope, the agent should stop rather than retry.

  • Do not run bulk permission or deletion jobs without reviewing the candidate list
  • Expect the agent to ask for confirmation before any high-risk write
  • Stop and fix permission or scope errors instead of retrying

Tips for getting good results

Give the full URL or token and say what type you expect. Name the target folder for imports so the agent does not default to the root. If you only know a title, ask the agent to search first so it can identify a unique source.

For document content edits, the skill hands off to lark-doc; for spreadsheet or Base row data it hands off to lark-sheets or lark-base; for wiki nodes and members it hands off to lark-wiki; and for native Markdown files it hands off to lark-markdown. Install those skills if you need those tasks.

  • Paste the full URL when you can, rather than a bare token
  • Name the target folder for imports
  • Ask for a plan first when you want to review before anything changes

What people use it for

  • Tidy a cluttered Drive folder by listing files and proposing a plan before any move
  • Import a local Markdown or Word document into an online Feishu doc
  • Convert a CSV or Excel file into a Feishu spreadsheet or bitable
  • Review sharing and link-access settings on a Feishu document
  • Add, reply to, or resolve comments on a document through lark-cli

Frequently asked questions

Is the lark-drive skill free and what is its licence?

The skill's source is published under the MIT licence, as listed on this page. The source does not state any price, so check your own Feishu/Lark plan for any costs of the account itself.

What do I need before I can use the lark-drive skill?

You need the lark-cli command-line tool, a Feishu/Lark account with appropriate Drive scopes or bot authorization, and the lark-shared skill for authentication instructions. The skill cannot work without them.

How do I install the lark-drive agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

Does the lark-drive skill run scripts or use the network?

Yes. The skill is listed as running scripts and using the network, because it works through lark-cli against Feishu services. Review what you are authorising before you use it.

What should I use instead for editing document content or spreadsheet rows?

The lark-drive skill does not edit document content. Document content editing goes to lark-doc, spreadsheet and Base row operations go to lark-sheets or lark-base, wiki node and member management goes to lark-wiki, and native Markdown file read, patch and diff go to lark-markdown.

Why did the agent ask me to confirm before deleting or changing permissions?

The skill treats deletions, public permission changes, owner transfers and bulk moves as high-risk writes. It requires the exact target, the execution details and your explicit confirmation in the same turn, so it will list candidates first.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

The lark-drive skill is a good fit if your team already works in Feishu/Lark and wants an agent to organise, import, search or review its cloud drive through lark-cli. It is not suitable if you have no Feishu account or cannot set up lark-cli, since it cannot run without them. If you need bulk deletions or permission changes without reviewing each target, or you want to edit document content directly, pick a tool or skill built for that task instead.

Download the skill

Find exactly what
you're looking for