install
source · Clone the upstream repo
git clone https://github.com/autogame-17/feishu-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/autogame-17/feishu-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/feishu-whiteboard" ~/.claude/skills/autogame-17-feishu-skills-feishu-whiteboard && rm -rf "$T"
manifest:
feishu-whiteboard/SKILL.mdsource content
Feishu Whiteboard Skill
Allows creating and manipulating Feishu Whiteboards programmatically.
Configuration
Requires
FEISHU_APP_ID and FEISHU_APP_SECRET in environment or config.json.
Scopes required: board:whiteboard:node:create
Whiteboard scripts (draw_.js, relocate.js, debug_.js, create_dashboard_real.js):
— target whiteboard ID (or useFEISHU_WHITEBOARD_ID
CLI arg)--board-id=ID
Wiki board creation (create_wiki_board.js):
— wiki space IDFEISHU_WIKI_SPACE_ID
— parent node token (or useFEISHU_WIKI_PARENT_TOKEN
and--space-id
CLI args)--parent-token
Usage
Create a Board
node skills/feishu-whiteboard/create.js "My Architecture Diagram"
Output: JSON containing
whiteboard_id.
Add Nodes (Demo)
node skills/feishu-whiteboard/draw.js <whiteboard_id> demo
Adds a rectangle and a circle connected by a line.
Programmatic Usage
const { createWhiteboard } = require('./create'); const { addNodes, createShape, createConnector } = require('./draw'); const board = await createWhiteboard("System Design"); const nodes = [ createShape("web", "rect", 0, 0, 200, 100, "Web Server"), createShape("db", "cylinder", 0, 300, 100, 100, "Database"), createConnector("link1", "web", "db") ]; await addNodes(board.whiteboard_id, nodes);
Troubleshooting
If you encounter
404 page not found, it usually means the Whiteboard API is not enabled for your tenant or the endpoint URL has changed. The current implementation uses /open-apis/board/v1/whiteboards.