Skip to content
Back to skills

Feishu Article Collector

ASecurity

自动收集今日头条、微信公众号文章。抓取正文,AI 生成总结和分类,存入飞书多维表格。支持去重。

  • 33 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 5, 2026
developmentpythongobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill feishu-article-collector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feishu Article Collector?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feishu Article Collector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-feishu-article-collector/badge)](https://www.skillsdirectory.com/skills/dvcrn-feishu-article-collector)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: feishu-article-collector
description: "自动收集今日头条、微信公众号文章。抓取正文,AI 生成总结和分类,存入飞书多维表格。支持去重。"
---

# 飞书文章收集器

收到包含今日头条或微信公众号链接的消息时,自动抓取文章、AI 总结、分类并存入飞书多维表格。

## 触发条件

当消息中包含以下域名的链接时,立即执行本技能:

- `toutiao.com`、`toutiaocdn.com`、`toutiao.io`、`snssdk.com`(今日头条)
- `mp.weixin.qq.com`(微信公众号)

## 处理方式

使用 exec 工具调用脚本,一步完成所有处理:

```bash
python3 {baseDir}/scripts/collect.py '完整的消息文本'
```

参数说明:
- 第一个参数:用户发送的完整消息文本(包含链接和其他文字)

脚本返回 JSON 结果:

成功:
```json
{"success": true, "title": "文章标题", "category": "分类", "summary": "总结", "record_id": "xxx"}
```

重复:
```json
{"success": false, "error": "该文章已收录,跳过重复链接", "url": "..."}
```

## 回复格式

根据脚本返回结果回复用户:

成功时:
> 已收录:《文章标题》
> 分类:xxx
> 总结:xxx

重复时:
> 该文章已收录,无需重复保存

失败时:
> 收录失败:错误原因

## 重要:必须调用脚本

- **严禁使用 web_fetch 抓取文章**,必须调用上面的 Python 脚本
- 脚本已内置抓取、总结、分类、写入的全部逻辑,不需要自己做任何处理
- 消息文本原样传入第一个参数,不需要自己提取 URL
- 如果脚本执行失败,将错误信息返回给用户即可

## 安装后配置

在 OpenClaw 的 `openclaw.json` 中配置环境变量:

```json
{
  "env": {
    "FEISHU_APP_ID": "飞书自建应用 App ID",
    "FEISHU_APP_SECRET": "飞书自建应用 App Secret",
    "DEEPSEEK_API_KEY": "DeepSeek API Key"
  }
}
```

飞书应用需开通 `bitable:app` 权限。多维表格会在首次使用时自动创建。

Files in this skill

  • README.md1.4 KB
  • SKILL.md2 KB
  • scripts/collect.py15.5 KB
  • scripts/create_bitable.py4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.