Lark Doc logo

Lark Doc

OrganizationPopular
Pinvou
lark-doc

【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书云文档(Docx/Wiki)与思维笔记内容操作:读取、创建、编辑文档,插入或下载图片附件,查询或回滚历史版本。用户给出文档 URL/token(含 doubao.com 的 /docx/、/wiki/)时使用,按 URL 路径/token 而非域名路由;内嵌表格、多维表格、画板先提取 token 再切对应 skill。文档评论走 lark-drive;表格或 Base 内部数据操作不在本 skill。

Overview

PublisherPinvou
Repositorypinvou-agent
Skill namelark-doc
Stars
2K
Forks
281
Bundled files
43
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 43 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Pinvou on GitHub. Read the source before you install it.

Installation

Install the Lark Doc AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Pinvou/pinvou-agent.git /tmp/pinvou-agent
mkdir -p .claude/skills
cp -r /tmp/pinvou-agent/pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-doc .claude/skills/lark-doc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lark Doc in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lark Doc on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lark Doc is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

docs

场景与 Shortcut 路由

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

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

本地文件引用统一遵循文件访问权限:CWD 内优先使用 @./相对路径,其他目录使用 @绝对路径。XML 内的相对资源路径先查 CWD;仅文件不存在时再查源 XML 文件所在目录,同名文件以 CWD 为准。内联内容、stdin、在线文档没有源文件目录,不执行回退。

文档内容

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

辅助能力

资源、画板与思维笔记

  • 插入本地素材 — +media-insert:在文末插入本地图片或文件。
  • 预览素材 — +media-preview:预览文档或评论中的图片、附件或素材。
  • 下载素材 — +media-download:下载文档中的图片、附件、素材或画板缩略图。
  • Docx 封面 — +resource-download / +resource-update / +resource-delete:下载、更新或删除 Docx 封面。
  • 画板 — 画板工作流:创建或更新画板时先读取工作流;更新已有画板必须复用现有 token,禁止新建空白画板。lark-whiteboard skill 未随包收录,写入用 lark-cli whiteboard +update(用法以 --help 为准)。
  • 思维笔记 — mindnotes:已有思维笔记走 思维笔记链路。新建思维笔记暂无专门的 docs/mindnotes 创建命令:要新建到知识库,用 wiki +node-create --obj-type mindnote(见 lark-wiki-node-create.md),创建后按思维笔记链路维护节点;思维笔记不是画板(whiteboard),不要路由到画板工作流。

认证与 Scope

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

不在本 Skill 范围

  • Drive 文件级操作:找文档、导入导出、云空间文件上传 / 下载 / 权限管理 → lark-drive。复制文档、创建副本或另存为副本时,按其指引使用 lark-cli drive +copy(复制到知识库用 wiki +node-copy);不要用 docs +fetch + docs +create 重建正文。
  • 独立评论操作:添加、分页查看、回复评论或增删 reaction → lark-drive;只需紧凑评论上下文时,直接使用默认 JSON 响应的 docs +fetch
  • Drive 原生文件的历史版本docx 等在线文档的历史版本走本 skill 的 +history-*;但 Drive 二进制文件(type=file,如上传的附件)的历史版本查询 / 下载 / 回滚 / 删除 → lark-drive+version-*,不走本 skill。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lark Doc AI skill do?

【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书云文档(Docx/Wiki)与思维笔记内容操作:读取、创建、编辑文档,插入或下载图片附件,查询或回滚历史版本。用户给出文档 URL/token(含 doubao.com 的 /docx/、/wiki/)时使用,按 URL 路径/token 而非域名路由;内嵌表格、多维表格、画板先提取 token 再切对应 skill。文档评论走 lark-drive;表格或 Base 内部数据操作不在本 skill。

Why use Lark Doc on TypingMind?

Because you install it once and use it with any model. Lark Doc is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lark Doc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Pinvou/pinvou-agent/tree/main/pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-doc. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lark Doc?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lark Doc?

As many as you like. As long as a model supports skills, you can use Lark Doc with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lark Doc AI skill free?

Yes. It is published on GitHub by Pinvou under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇