Skip to content
OpenSmartRoute
Skillv1.0.0

feishu-doc

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

by autogame-17(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from autogame-17/feishu-skills (feishu-doc/SKILL.md). Install upstream with npx skills add autogame-17/feishu-skills --skill feishu-doc. Copyright stays with the author.

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

# 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:

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

Environment variables:

  • FEISHU_APP_ID
  • FEISHU_APP_SECRET

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/autogame-17-feishu-skills-feishu-doc/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

autogame-17-feishu-skills-feishu-doc.ocm.jsonjson
{
  "ocm": "1",
  "id": "autogame-17-feishu-skills-feishu-doc",
  "kind": "skill",
  "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.",
  "publisher": "autogame-17",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "feishu",
      "lark",
      "wiki",
      "doc",
      "sheet",
      "document",
      "reader",
      "writer",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/autogame-17/feishu-skills",
      "path": "feishu-doc/SKILL.md",
      "ref": "7a74404bec1e333867b2db3c4bb6854098da52b9",
      "url": "https://github.com/autogame-17/feishu-skills/blob/7a74404bec1e333867b2db3c4bb6854098da52b9/feishu-doc/SKILL.md",
      "key": "autogame-17/feishu-skills/feishu-doc/SKILL.md"
    }
  },
  "instructions": "# Feishu Doc Skill\n\nFetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Write and update documents.\n\n## Prerequisites\n\n- Install `feishu-common` first.\n- This skill depends on `../feishu-common/index.js` for token and API auth.\n\n## Capabilities\n\n- **Read**: Fetch content from Docs, Sheets, Bitable, and Wiki.\n- **Create**: Create new blank documents.\n- **Write**: Overwrite document content with Markdown.\n- **Append**: Append Markdown content to the end of a document.\n- **Blocks**: List, get, update, and delete specific blocks.\n\n## Long Document Handling (Unlimited Length)\n\nTo gene",
  "cost": {
    "context_tokens": 395
  }
}

Fetch it by URL: GET /api/v1/registry/autogame-17-feishu-skills-feishu-doc/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.