Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alextangson avatar

Feishu Wiki

  • 64 installs
  • 65 repo stars
  • Updated March 26, 2026
  • alextangson/feishu_skills

feishu-wiki is a Claude skill that creates Feishu (Lark) knowledge spaces and Wiki page nodes through the Wiki v2 API.

About

feishu-wiki is a Claude skill that manages Feishu (Lark) knowledge spaces and Wiki page nodes through the Wiki v2 REST API. A developer uses it when an agent needs to create a knowledge space or add page nodes in Feishu. It covers the endpoints, node object types, token retrieval, and a group-authorization step to fix the bot's default lack of space permissions.

  • Create knowledge spaces and Wiki page nodes via the Feishu (Lark) Wiki v2 API
  • Documents the group-authorization workaround for the bot's default lack of space permissions
  • Supports node types doc, sheet, mindnote, bitable, file, and docx

Feishu Wiki by the numbers

  • 64 all-time installs (skills.sh)
  • Ranked #3,123 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

feishu-wiki capabilities & compatibility

Free; requires Feishu app credentials (FEISHU_APP_ID, FEISHU_APP_SECRET).

Capabilities
wiki management · api integration
Use cases
api development · documentation
Pricing
Free
From the docs

What feishu-wiki says it does

飞书知识库。创建知识空间、Wiki 页面节点。
SKILL.md
**Base URL**: `https://open.feishu.cn/open-apis/wiki/v2`
SKILL.md
npx skills add https://github.com/alextangson/feishu_skills --skill feishu-wiki

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs64
repo stars65
Last updatedMarch 26, 2026
Repositoryalextangson/feishu_skills

What it does

Create and organize Feishu/Lark knowledge spaces and Wiki page nodes through the Wiki v2 REST API.

Who is it for?

Automating Feishu/Lark knowledge-base and wiki node creation from an agent

Skip if: Non-Feishu wikis or general documentation writing

When should I use this skill?

You need to create a Feishu knowledge space or Wiki page node

What you get

Knowledge spaces and Wiki page nodes are created in Feishu via the Wiki v2 API.

  • Created Feishu knowledge spaces and Wiki page nodes

By the numbers

  • 6 supported node object types (doc, sheet, mindnote, bitable, file, docx)

Files

SKILL.mdMarkdownGitHub ↗

飞书知识库

通过 Wiki v2 API 管理知识空间和页面节点。

Base URL: https://open.feishu.cn/open-apis/wiki/v2

认证与 Token 获取

feishu_skills 根目录执行共享脚本:

TOKEN="$(./scripts/get_feishu_token.sh)"

请求头统一使用 Authorization: Bearer ${TOKEN}

如果业务接口返回 token 无效、过期或 401,强制刷新后仅重试一次原请求:

TOKEN="$(./scripts/get_feishu_token.sh --force-refresh)"

环境变量:

  • FEISHU_APP_ID
  • FEISHU_APP_SECRET

本地缓存: ./.feishu_token_cache.json(未过期直接复用,默认提前 5 分钟刷新)

---

知识空间

API端点说明
创建空间POST /spaces{"name":"知识库名称"}
获取列表GET /spaces-
获取详情GET /spaces/{space_id}-

⚠️ 权限穿透:空间创建后机器人默认无权维护。建议: 1. 创建包含机器人的群组 2. 在知识库【设置】添加该群组为"管理员" 3. 机器人通过群组身份获得操作权

---

页面节点

API端点说明
创建节点POST /spaces/{space_id}/nodes创建 Wiki 页面
获取节点GET /spaces/{space_id}/nodes/{node_token}-
移动节点POST /spaces/{space_id}/nodes/{node_token}/move-

创建节点:

{
  "obj_type": "docx",
  "parent_node_token": "root",
  "node_type": "origin",
  "origin_node_token": "doxcnXXX",
  "title": "页面标题"
}

obj_type: doc / sheet / mindnote / bitable / file / docx

---

最佳实践

1. 群组授权法(解决权限问题) 2. 先创建文档再关联origin_node_token) 3. 适合知识沉淀场景

Related skills

FAQ

What Feishu API does feishu-wiki use?

It uses the Feishu Wiki v2 API at https://open.feishu.cn/open-apis/wiki/v2.

Why does the bot lack space permissions?

After a space is created the bot has no maintenance rights by default; the docs recommend adding a group containing the bot as an admin.

Backend & APIsnotesworkflow

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.