Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

create-feishu-doc创建飞书文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

917

周安装

39

GitHub Stars

537

下载量

321
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-feishu-doc(创建飞书文档)
来源仓库:https://github.com/fradser/dotclaude
仓库路径:skills/create-feishu-doc
安装命令:
npx skills add https://github.com/fradser/dotclaude --skill create-feishu-doc
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fradser/dotclaude --skill create-feishu-doc

简介

create-feishu-doc 用于辅助文档、README 和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语或整合零散材料为可读文档。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用时应保留项目事实,避免将未确认信息写成确定结论。
  • 涉及对外文案时需控制语气,避免过度营销或夸大能力。

SKILL.md

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.

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:

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

Wait for page to load:

agent-browser wait --load networkidle

Step 3: Verify Authentication

Take a snapshot to check if already logged in:

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

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

Wait for dropdown menu to appear:

agent-browser wait 1000

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

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:

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 open in a new tab:

agent-browser wait --load networkidle

Check tabs to ensure new document page opened:

agent-browser tab

If multiple tabs exist, switch to the newest tab (usually the last one):

agent-browser tab 2  # Adjust index based on tab list

Step 7: Enter Document Title

The page should automatically focus on the title input field. If the title field is focused by default, type the title directly:

agent-browser type @e1 "Document Title Here"

If not automatically focused, take a snapshot to locate the title input:

agent-browser snapshot -i
# Locate title input ref (e.g., @e1)
agent-browser fill @e1 "Document Title Here"

Step 8: Enter Document Content

Press Tab or click to move to the content area:

agent-browser press Tab

Or locate and click the content editor:

agent-browser snapshot -i
# Locate content editor ref (e.g., @e2)
agent-browser click @e2

Type the document content:

agent-browser type @e2 "Document content goes here..."

For multi-line content, use newlines in the input:

agent-browser type @e2 "First paragraph

Second paragraph

Third paragraph"

Step 9: Verify and Save

Take a final screenshot to verify the document was created successfully:

agent-browser screenshot

Feishu documents auto-save, so no explicit save action is required. The document is now ready to use.

Step 10: Close Browser (Optional)

Close the browser session when done:

agent-browser close

Error Handling

Authentication Issues

If authentication fails or login is required:

  1. Pause the workflow
  2. Inform the user that manual login is needed
  3. Wait for confirmation before proceeding
  4. Resume workflow after authentication

Element Not Found

If snapshot cannot locate expected UI elements (button refs):

  1. Take a full snapshot without -i flag for debugging
  2. Check if UI has changed or language settings differ
  3. Use semantic locators as fallback: agent-browser find text "新建" click # Find "新建" (New) button agent-browser find text "文档" click # Find "文档" (Doc) button agent-browser find text "新建空白文档" click # Find "新建空白文档" (New Doc) button

Timeout Issues

If page loading takes too long:

  1. Increase wait timeout: agent-browser wait --load networkidle --timeout 10000
  2. Check network connectivity
  3. Verify Feishu service availability

Customization

Different Workspace

To use with a different Feishu workspace, replace the URL in Step 2:

agent-browser open https://your-workspace.feishu.cn/drive/home/

Document Templates

To use a specific document template instead of blank document:

  1. Navigate to template gallery after clicking "Doc"
  2. Locate and click the desired template
  3. Proceed with title and content entry

Best Practices

  1. Session Reuse: For multiple document creations, keep the browser session open and reuse authentication state
  2. Error Screenshots: Take screenshots at each critical step for debugging
  3. Wait for UI: Always wait for network idle after navigation to ensure UI elements are loaded
  4. Explicit Waits: Use explicit waits (e.g., agent-browser wait 1000) after clicking dropdown menus

Additional Resources

Browser Automation Reference

For detailed browser automation commands and patterns:

  • Load office:agent-browser skill for complete command reference
  • See snapshot and interaction patterns in agent-browser documentation

Example Usage

# Complete workflow example
agent-browser open https://leiniao-ibg.feishu.cn/drive/home/
agent-browser wait --load networkidle
agent-browser snapshot -i
agent-browser click @e1  # 新建 button
agent-browser wait 1000
agent-browser snapshot -i
agent-browser click @e2  # 文档 button
agent-browser wait 1000
agent-browser snapshot -i
agent-browser click @e3  # 新建空白文档 button
agent-browser wait --load networkidle
agent-browser tab
agent-browser tab 2  # Switch to new tab
agent-browser type @e1 "My Document Title"
agent-browser press Tab
agent-browser type @e2 "My document content..."
agent-browser screenshot

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.93%
按下载量换算115

Claude

30.35%
按下载量换算97

Cursor

20.06%
按下载量换算64

Gemini CLI

10.25%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills