lark-doc

Create, read, edit, and manage Lark Docs documents via lark-cli commands.

2.0k|291|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/Pinvou/pinvou-agent --skill lark-doc-pinvou
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/Pinvou/pinvou-agent/tree/main/pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-doc
Command: npx skills add https://github.com/Pinvou/pinvou-agent --skill lark-doc-pinvou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Feishu/Lark cloud documents (Docx, Wiki, Mindnote) requires many API calls and format rules; this Skill gives the agent a complete command playbook to read, author, edit, and version documents without manual API work. ## Core Features & Use Cases - Document authoring workflow: Create documents from scratch using a structured workflow with genre contracts, presentation decisions, XML drafts, and validation before publishing. - Precise editing: Fetch documents by outline, section, range, or keyword, then apply block-level updates (replace, insert, delete, move) with verification. - Media and resources: Insert images from clipboard or files, preview and download attachments, manage Docx cover images, and embed whiteboards (Mermaid/SVG) or HTML5 blocks. - History and mindnotes: List and roll back document history versions, and read or update Mindnote nodes. - Use Case: Ask the agent to write a project proposal into a Feishu doc with diagrams and a cover image, then later revise one section or roll back to an earlier version. ## Quick Start Ask the agent to create a Feishu document from your outline, or paste a Feishu doc URL and ask it to summarize or edit a specific section.

Frequently Asked Questions about lark-doc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Feishu document with an AI agent?▼

Provide your topic or outline and ask for a Feishu doc. The skill runs a structured workflow: it picks a genre contract, initializes a draft workspace via lark-cli docs +script, writes XML content, validates it with a parse check, then creates the document with docs +create.

How do I edit an existing Lark Doc by URL?▼

Give the agent the document URL or token and describe the change. It fetches the relevant section with docs +fetch using outline, keyword, or range scopes, then applies minimal block-level updates with docs +update and verifies the result.

Can I insert images from my clipboard into a Feishu doc?▼

Yes. The docs +media-insert command supports --from-clipboard on macOS and Windows natively, and on Linux with xclip, wl-paste, or xsel. If the clipboard has no image, the agent will ask you for a local file path instead.

Does this skill handle Feishu spreadsheets or Bitable data?▼

No. Embedded sheets and Bitable tables are only token-extracted here; actual data operations route to the lark-sheets or lark-base skills. Drive file operations like copying, permissions, and comments also belong to lark-drive.

How do I roll back a Feishu document to a previous version?▼

The agent lists versions with docs +history-list, picks the target by revision_id or timestamp, and runs docs +history-revert with the history_version_id. It then polls the revert task status until completion and verifies the content.

What are the limitations when creating mindnotes in Lark?▼

The mindnotes commands only read existing mindnotes and create or update nodes inside them. Creating a brand-new mindnote requires wiki +node-create with --obj-type mindnote, after which node maintenance continues through the mindnotes commands.