TopRank Skills

Home / Claw Skills / Document / feishu-folder-summary
Official OpenClaw rules 54%

feishu-folder-summary

Extract summaries from all documents in a Feishu folder. Use when the user needs to recursively scan a Feishu wiki space or drive folder, read all documents and sub-documents, and generate a comprehensive summary report in Markdown format. Triggers on requests like "extract summaries from Feishu folder", "generate document summary report", "recursively scan Feishu documents", or when given a feishu.cn/wiki/ or feishu.cn/drive/ URL.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 feishu-folder-summary 技能。 若已安装,则直接安装 feishu-folder-summary 技能。

Overview

Skill Key
henryjing96/feishu-folder-summary
Author
henryjing96
Source Repo
openclaw/skills
Version
-
Source Path
skills/henryjing96/feishu-folder-summary
Latest Commit SHA
bfffa166b7a3f531aba0e372a40690cc57bf9e34

Extracted Content

SKILL.md excerpt

# Feishu Folder Summary

This skill extracts summaries from all documents in a Feishu folder (wiki or drive), recursively scanning sub-folders and generating a comprehensive Markdown report.

## Overview

The skill performs the following operations:
1. Parses the Feishu folder URL to extract space_id and node_token
2. Recursively traverses the folder structure using feishu_wiki API
3. Reads each document's content using feishu_doc API
4. Generates structured summaries for each document
5. Compiles a comprehensive Markdown report with:
   - Complete directory tree
   - Document summaries organized by folder
   - Statistics and status overview
   - Links to original documents

## Supported URL Formats

- **Wiki folders**: `https://{domain}.feishu.cn/wiki/{node_token}`
- **Drive folders**: `https://{domain}.feishu.cn/drive/folder/{folder_token}`

## Workflow

### Step 1: Extract Folder Information

Parse the provided Feishu URL to identify:
- Document type (wiki or drive)
- Space ID (for wiki)
- Node token or folder token

### Step 2: Recursive Traversal

Use `feishu_wiki` API to traverse the folder structure:

```
feishu_wiki action="get" token="{node_token}"         # Get folder info
feishu_wiki action="nodes" space_id="{space_id}"      # List child nodes
```

For folders with `has_child: true`, recursively process child nodes.

### Step 3: Document Reading

For each document node, read its content:

```
feishu_doc action="read" doc_token="{obj_token}"
```

### Step 4: Generate Summary

Extract from each document:
- **Title**: Document title
- **Type**: Document or Folder
- **Status**: Complete, In Progress, or Empty
- **Core Content**: Key points, main topics, important information
- **Child Documents**: If folder, list contained documents

### Step 5: Compile Report

Generate a Markdown report with:
1. Header (source URL, generation time, document count)
2. Directory tree visualization
3. Hierarchical summaries (by folder level)
4. Statistics table
5. Related links...

Related Claw Skills