Skip to content
Back to skills

Feishu Doc

ASecurity

Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
documentationbashnodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill feishu-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feishu Doc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feishu Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-feishu-doc/badge)](https://www.skillsdirectory.com/skills/dvcrn-feishu-doc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: feishu-doc
description: "Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown."
---

# Feishu Doc Skill

Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Write and update documents.

## Prerequisites

- Install `feishu-common` first.
- This skill depends on `../feishu-common/index.js` for token and API auth.

## Capabilities

- **Read**: Fetch content from Docs, Sheets, Bitable, and Wiki.
- **Create**: Create new blank documents.
- **Write**: Overwrite document content with Markdown.
- **Append**: Append Markdown content to the end of a document.
- **Blocks**: List, get, update, and delete specific blocks.

## Long Document Handling (Unlimited Length)

To generate long documents (exceeding LLM output limits of ~2000-4000 tokens):
1. **Create** the document first to get a `doc_token`.
2. **Chunk** the content into logical sections (e.g., Introduction, Chapter 1, Chapter 2).
3. **Append** each chunk sequentially using `feishu_doc_append`.
4. Do NOT try to write the entire document in one `feishu_doc_write` call if it is very long; use the append loop pattern.

## Usage

```bash
# Read
node index.js --action read --token <doc_token>

# Create
node index.js --action create --title "My Doc"

# Write (Overwrite)
node index.js --action write --token <doc_token> --content "# Title\nHello world"

# Append
node index.js --action append --token <doc_token> --content "## Section 2\nMore text"
```

## Configuration

Create a `config.json` file in the root of the skill or set environment variables:

```json
{
  "app_id": "YOUR_APP_ID",
  "app_secret": "YOUR_APP_SECRET"
}
```

Environment variables:
- `FEISHU_APP_ID`
- `FEISHU_APP_SECRET`

Files in this skill

  • README.md451 B
  • SKILL.md1.7 KB
  • append_simple.js3.2 KB
  • cache/TkdKYWQ1czRMbzVta0N4WFpleWNpNTBJbkNl.json3.9 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vZG9jeC9VZG1qZDFFOE1va0dNUnhMRnVqYzkxQkluc2Q.json11.2 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vd2lraS9DdHRUd29yYlNpekVjaWtKdURzY1Y3WURuSGM.json13.7 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vd2lraS9KV3Iyd1Y5TlVpdWJVa2tKVXVoYzhPM01uVGQ.json1.8 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vd2lraS9KV3Iyd1Y5TlVpdWJVa2tKVXVoYzhPM01uVGQ_ZnJvbT1mcm9tX2NvcHlsaW5r.json1.8 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vd2lraS9XS2Fwd2lOMUdpalhLY2twT21XYzZGcHBuNVc_dGFibGU9dGJsSmdaSE9tUHliZ1g2MCZ2aWV3PXZld3FFOTVENlE.json81.4 KB
  • cache/aHR0cHM6Ly9hdXRvZ2FtZS5mZWlzaHUuY24vd2lraS9YWjBIdzZiUVppZ1NWN2tvZ2tyY0VQeUluZWQ_c2hlZXQ9ZWVkOWVl.json37 KB
  • config.json39 B
  • create.js2.6 KB
  • download_file.js1.4 KB
  • fetch_mock.js780 B
  • index.js16.7 KB
  • input_guard.js2.2 KB
  • inspect_meta.js2 KB
  • lib/auth.js4 KB
  • lib/bitable.js2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…