Back to Skills

create-feishu-doc

verified

This skill should be used when the user asks to "create a Feishu doc", "create a new doc in Feishu", "open Feishu and create document", "create document in leiniao-ibg", or mentions creating documents in Feishu/Lark workspace.

View on GitHub

Marketplace

frad-dotclaude

FradSer/dotclaude

Plugin

office

productivity

Repository

FradSer/dotclaude
207stars

office/skills/create-feishu-doc/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/FradSer/dotclaude/blob/main/office/skills/create-feishu-doc/SKILL.md -a claude-code --skill create-feishu-doc

Installation paths:

Claude
.claude/skills/create-feishu-doc/
Powered by add-skill CLI

Instructions

# Create Feishu Document Automation

## Purpose

Automate the process of creating new documents in Feishu (Lark) workspace by using browser automation to navigate the UI, authenticate, and create documents with specified titles and content.

## When to Use This Skill

Use this skill when:
- User asks to create a new document in Feishu
- User wants to automate document creation in their Feishu workspace
- User needs to quickly create documents without manual UI interaction

## Prerequisites

- Access to Feishu workspace (https://leiniao-ibg.feishu.cn)
- Valid authentication credentials for the workspace
- Browser automation capability via `agent-browser`

## Workflow

### Step 1: Load Browser Automation Skill

Load the `office:agent-browser` skill using the Skill tool to access browser automation commands.

### Step 2: Navigate to Feishu Drive

Open the Feishu Drive homepage:

```bash
agent-browser open https://leiniao-ibg.feishu.cn/drive/home/
```

Wait for page to load:

```bash
agent-browser wait --load networkidle
```

### Step 3: Verify Authentication

Take a snapshot to check if already logged in:

```bash
agent-browser snapshot -i
```

If login is required, wait for user to complete authentication manually or handle authentication flow based on the page state.

### Step 4: Create New Document

Click the "新建" (New) button (use snapshot to locate the element ref):

```bash
agent-browser snapshot -i
# Locate "新建" button ref (e.g., @e1)
agent-browser click @e1
```

Wait for dropdown menu to appear:

```bash
agent-browser wait 1000
```

Take another snapshot to locate the "文档" (Doc) option:

```bash
agent-browser snapshot -i
# Locate "文档" button ref (e.g., @e2)
agent-browser click @e2
```

### Step 5: Select New Document Type

Click the "新建空白文档" (New Doc) option from the submenu:

```bash
agent-browser wait 1000
agent-browser snapshot -i
# Locate "新建空白文档" button ref (e.g., @e3)
agent-browser click @e3
```

### Step 6: Wait for New Tab

Wait for the new document to 

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6089 chars