Feishu whiteboard

From autogame-17/feishu-skills · View interactive version

Feishu whiteboard is an AI agent skill from the GitHub repository autogame-17/feishu-skills. Allows creating and manipulating Feishu Whiteboards programmatically.

How to use this skill

Skill file

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

Wiki board creation (create_wiki_board.js):

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.