
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)
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
What feishu-wiki says it does
飞书知识库。创建知识空间、Wiki 页面节点。
**Base URL**: `https://open.feishu.cn/open-apis/wiki/v2`
npx skills add https://github.com/alextangson/feishu_skills --skill feishu-wikiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 64 |
|---|---|
| repo stars | ★ 65 |
| Last updated | March 26, 2026 |
| Repository | alextangson/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
飞书知识库
通过 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_IDFEISHU_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.