New to Claude Skills? Learn how to install them →

larksuite on GitHub

Lark Document Operations

Free

Streamline your document management with Lark.

by larksuite16.3k stars on larksuite/cli
1 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Lark Document Operations does

Lark Document Operations is a skill designed for users who need to manage and manipulate documents within the Lark ecosystem. This skill allows you to read, create, and edit documents, as well as insert or download attachments like images. It is particularly useful for teams and individuals who frequently work with Lark's cloud document features, enabling efficient document handling through a series of defined commands and workflows.

The skill operates by utilizing document URLs or tokens, allowing users to interact with various document types, including Docx and Wiki formats. Users can fetch document content, create new documents from scratch or import existing ones, and perform updates such as rewriting or reformatting text. The structured approach ensures that users can easily navigate through different document operations without the need to memorize complex commands.

In addition to basic document operations, Lark Document Operations supports features like version history management, enabling users to query and revert to previous versions of their documents. This is particularly beneficial for collaborative environments where multiple edits may occur. Users can also insert local media, preview attachments, and manage document covers, making it a comprehensive tool for document-centric workflows.

This skill is ideal for business analysts, project managers, and any professionals who regularly create and manage documentation. By integrating Lark Document Operations into your workflow, you can enhance productivity and streamline communication across teams, ensuring that everyone has access to the latest document versions and resources.

When to use it

Use this skill when you need to create, edit, or manage documents within the Lark ecosystem, especially in collaborative settings.

When not to use it

This skill is not suitable for operations related to document comments or file-level actions in Lark Drive, as it focuses solely on document content manipulation.

What you can build with it

Creating a New Business Proposal

Use the skill to create a structured business proposal document from scratch, ensuring all necessary sections are included.

Updating Project Documentation

Quickly edit existing project documents to reflect the latest changes, using the update command for efficient revisions.

Managing Document Versions

Easily revert to a previous version of a document when needed, helping to maintain accurate records of changes.

How to install Lark Document Operations

View source

1. Install with the skills CLI

npx skills add larksuite/cli/lark-doc --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by larksuite

docs

场景与 Shortcut 路由

CRITICAL:先判断场景,再读取该场景的参考文件;不要在任务开始时一次性读取全部参考文件。每个文件只在首次进入对应阶段时读取一次。

身份:文档操作推荐显式指定 --as user

所有表示本地文件的 @path 均使用 @./xxx 形式的相对路径,并以运行 lark-cli 时的当前工作目录(CWD)为基准。

文档内容

  • 读取 / 摘要 — +fetch:先读参考再获取文档。
  • 从零创作 — 创建工作流:先完整执行创建工作流,简单任务不是跳过的理由
  • 导入 / 空文档 — +create:仅创建空文档或原样导入用户提供的完整内容时,跳过创建工作流。
  • 编辑 / block 直达链接 — +update:语义改写、润色、重组、补写或排版均按 update 参考完成。

辅助能力

资源、画板与思维笔记

认证与 Scope

执行 Shortcut 时,不预读 lark-shared 或预跑 auth status --verify;仅遇到未认证、token / 身份或 scope 错误时读取该 Skill,修复后重试。认证、身份或 scope 管理请求则直接使用该 Skill。

不在本 Skill 范围

  • Drive 文件级操作:找文档、导入导出、云空间文件上传 / 下载 / 权限管理 → lark-drive。复制文档、创建副本或另存为副本时,按其指引使用 lark-cli drive files copy;不要用 docs +fetch + docs +create 重建正文。
  • 文档评论:添加、查看、回复评论或增删 reaction → lark-drive

Frequently asked questions about Lark Document Operations

Similar skills