feishu-sheet-links

Extract all hyperlinks from a public Feishu spreadsheet across all sheet tabs, and optionally batch-download the linked articles as Markdown files. Use when the user shares a Feishu URL (feishu.cn/wiki or feishu.cn/sheets) and wants to extract links, scrape article titles, collect URLs from a Feishu doc, download content from Feishu, or build a local copy of Feishu articles. Also use when the user says things like "帮我下载飞书的链接", "把飞书表格里的链接提取出来", or "下载飞书文章".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "feishu-sheet-links" with this command: npx skills add wangyan9110/feishu-sheet-links

feishu-sheet-links

Extracts all hyperlinks from every sheet tab of a public Feishu spreadsheet, then optionally batch-downloads the linked articles as Markdown files.

Workflow

When invoked, follow these steps:

Step 1 — Get the URL

If the user has already provided a Feishu URL, use it. Otherwise ask:

"请提供飞书多维表格的链接(公开可访问的)"

Confirm the URL looks like https://*.feishu.cn/wiki/... or https://*.feishu.cn/sheets/....

Step 2 — Extract links

Resolve the skill directory:

SKILL_DIR="$(find ~/.claude/skills /workspace/.claude/skills -maxdepth 1 -name feishu-sheet-links -type d 2>/dev/null | head -1)"

Run the extraction script:

npx -y bun "${SKILL_DIR}/scripts/main.ts" "<spreadsheet-url>" -o feishu-links.json

Each sheet tab takes 8–15 seconds to load — let the user know it may take a moment.

Step 3 — Show a summary

After extraction, show the user a summary:

  • How many sheets were found
  • How many links per sheet (with sheet names)
  • Total link count

Example:

Found 4 sheets, 127 links total:
- 1月: 32 links
- 2月: 28 links
- 3月: 35 links
- 4月: 32 links

Saved to: feishu-links.json

Step 4 — Offer to download articles

Ask the user if they want to download the linked articles as Markdown:

"是否需要批量下载这些文章为 Markdown 文件?"

If yes, ask for an output directory (default: ./feishu-articles), then run:

npx -y bun "${SKILL_DIR}/scripts/download.ts" feishu-links.json \
  -o <output-dir> \
  -c 5 \
  --max-wait 20000

Download supports resume — if interrupted, re-running skips already-downloaded files.

Error Handling

SituationAction
Document is private / requires loginTell the user — this tool only works with public Feishu docs
Chrome not foundAsk user to install Chrome, or set FEISHU_CHROME_PATH
A sheet times outWarn and continue — other sheets will still be extracted
Zero links foundConfirm the URL is correct and the doc is publicly accessible

How It Works

  1. Reuses an existing Chrome instance if available (ports 64023, 9222, 9229), otherwise launches its own isolated instance
  2. Opens the spreadsheet to discover all sheet IDs from spreadApp.collaborativeSpread._spread.sheetIdToIndexMap
  3. For each sheet, opens a dedicated tab at ?sheet=<id>, calls setActiveSheetIndex() to trigger lazy loading, and waits for sheet._dataModel.contentModel to populate
  4. Extracts links from two Feishu storage formats:
    • url-typecontentModel.link.idToRef._map (whole-cell hyperlinks)
    • mention-typecontentModel.segmentModel.table (inline rich-text links)

Environment Variables

VariableDescription
FEISHU_CHROME_PATHCustom Chrome executable path
FEISHU_CHROME_PROFILECustom Chrome profile directory

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

飞书图片发送技能

使用自有飞书应用配置,上传并发送本地图片到指定飞书用户或群聊,支持PNG/JPG/GIF/WEBP格式。

Registry SourceRecently Updated
1100Profile unavailable
General

my-lark

飞书全能力技能。基于飞书官方工具服务,支持消息、群组、云文档、云盘、知识库、日历、审批、多维表格、电子表格、画板、通讯录全部模块。面向小白:安装即用,每一步都有操作指引;面向AI:每个接口均有调用示例、参数说明、权限要求和异常处理。触发词:发消息、搜索文档、查日历、查审批、建日程、拉群列表等。

Registry SourceRecently Updated
1180Profile unavailable
General

飞书任务管理增强版

飞书任务管理增强版 - 高级任务与清单管理工具。 **基础功能**(免费): - 创建、查询、更新任务 - 任务完成/反完成 - 创建和管理任务清单 **高级功能**(付费): - 子任务(Subtask)管理 - 高级筛选与批量操作 - 任务评论与讨论 - 重复任务模板 - 优先级标记 - 任务统计与报告 **...

Registry SourceRecently Updated
1490Profile unavailable
General

Feishu Card JSON v2

发送飞书互动卡片(Card JSON 2.0)。当需要让飞书用户填写表单、做选择、确认操作、或查看 结构化数据时,发送交互卡片代替纯文字问答。需要 feishu-cards 插件工具: feishu_send_card / feishu_send_form / feishu_update_card。

Registry SourceRecently Updated
3430Profile unavailable