Feishu-skills feishu-whiteboard

Feishu Whiteboard Skill

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.md
source 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):

  • FEISHU_WHITEBOARD_ID
    — target whiteboard ID (or use
    --board-id=ID
    CLI arg)

Wiki board creation (create_wiki_board.js):

  • FEISHU_WIKI_SPACE_ID
    — wiki space ID
  • FEISHU_WIKI_PARENT_TOKEN
    — parent node token (or use
    --space-id
    and
    --parent-token
    CLI args)

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
.