feishu-doc

Read, write, append, and create Feishu Docx content via token-based actions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/PotLock/foxfang --skill feishu-doc-potlock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/PotLock/foxfang/tree/main/extensions/feishu/skills/feishu-doc
Command: npx skills add https://github.com/PotLock/foxfang --skill feishu-doc-potlock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Feishu document read/write operations streamline how you read, modify, and create content in Feishu Docs, reducing manual editing and context switching.

Core Features & Use Cases

  • Read documents by token and extract titles, plain text, and block data.
  • Write or replace entire documents, append content, or create new docs.
  • Manage tables, images, and file attachments within Feishu docs via dedicated actions like list_blocks and update_block.
  • Use case: convert scattered notes into a cohesive Feishu doc by retrieving content, updating blocks, and uploading media, all from the terminal.

Quick Start

Ask the agent to read a Feishu document by token, append content to it, or create a new document.

Frequently Asked Questions about feishu-doc

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

FAQPage Schema
How do I read and extract text from a Feishu document programmatically?

You can read Feishu document content programmatically by using the document token to extract titles, plain text, and block data. This allows you to retrieve specific block structures for automated processing.

Can I append content to an existing Feishu doc instead of overwriting it?

Yes, you can append content to an existing Feishu doc. The write actions support appending updates to the end of a document, replacing entire documents, or performing block-level updates without overwriting the existing content structure.

What is the best way to manage tables and upload images in Feishu docs via API?

The best way to manage tables and upload images in Feishu docs is by using dedicated block-level actions. You can list blocks to locate table structures, update block content, and use the upload image action to insert media programmatically.

Does the Feishu doc API support creating new documents from scratch?

Yes, the Feishu doc API supports creating new documents from scratch. You can use the create action to generate a new document token, allowing you to programmatically initialize files and populate them with text, tables, and media.

How do I update specific blocks within a Feishu document without rewriting the whole file?

To update specific blocks within a Feishu document without rewriting the whole file, you use the list blocks action to identify target blocks by token. Then, you apply the update block action to modify only the selected content.