agentCLAWHUBUnverified

Feishu Ingest

Poll Feishu groups for new messages, download message resources, read Feishu docs/wiki/sheets/bitables, compile message-source markdown, judge which chat segments are worth preserving, and ingest valuable materials into the Research KB through a prepare/apply workflow. Skill: Feishu Ingest Owner: myd2002 Summary: Poll Feishu groups for new messages, download message resources, read Feishu docs/wiki/sheets/bitables, compile message-source markdown, judge which chat segments are worth preserving, and ingest valuable materials into the Research KB through a prepare/apply workflow. Tags: latest:1.0.3 Version history: v1.0.3 | 2026-07-09T14:34:38.782Z | user feishu-ingest 1.0.3 - No cod

OpenClaw

Rank

62

Safety

84

Downloads

963

Updated

Oct 12, 2026

Version

1.0.3

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 963 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 12, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 12, 2026
Adoption signal
963 downloadsadoption · observed Oct 12, 2026
Latest release
1.0.3release · observed Jul 9, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

  • Release 1.0.3release

    feishu-ingest 1.0.3 - No code changes in this release. - Documentation (SKILL.md) updated for improved clarity and structure. - No changes to core logic, features, or configuration. - Safe to upgrade; behavior is unchanged.

    Observed Jul 9, 2026 · source

Install and run

Setup complexity: medium.

clawhub skill install s175zrvz5m28epr76c6rt4dtex8474t6:feishu-ingest
  1. Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-myd2002-feishu-ingest/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

40,457 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: feishu_ingest
description: Poll Feishu groups for new messages, download message resources, read Feishu docs/wiki/sheets/bitables, compile message-source markdown, judge which chat segments are worth preserving, and ingest valuable materials into the Research KB through a prepare/apply workflow.
---

# feishu_ingest

## 职责

把飞书群作为可定时扫描资料源处理。`prepare` 拉取增量群消息、下载消息资源、读取飞书云文档、把普通群消息编译成可定位的 Markdown 源文件,并输出供 OpenClaw 分析的 `inputItems[]`。`apply` 校验 OpenClaw 生成的页面、归档源文件、写入 Gitea 知识库、更新 `catalog.json` / `index.md`,并返回 `sourceItems[]` 给后端持久化。当前“群文件”来自群消息历史里的 file/image 等 message resource;不单独爬取群文件目录,飞书文件夹消息记录为 `unsupported`。

不要伪造飞书内容。缺少凭据、机器人不在群、无权限读取消息/文件/文档时,返回 `need_authorization` 或明确错误。飞书文件夹和超大文件记录为 `unsupported`。

飞书内容往往是碎片化线索,入库前必须先判断它在知识库图谱里的位置。写 `pages.json` 前,OpenClaw 应私下做一次知识图谱规划:哪些文件/文档/消息片段值得成为实体页,哪些已有 `overview/`、`projects/`、`concepts/`、`resources/` 或其他页面需要补充新证据和跳转。不要把低价值聊天硬写成页面,也不要把稳定概念、具体资源或团队导航更新遗漏掉。

## 脚本结构

当前 `scripts/` 只保留真实入口和依赖:

- `run_task.py`:唯一命令入口,提供 `prepare` 和 `apply` 子命令。
- `feishu_reader.py`:prepare 主逻辑,拉消息、处理附件/云文档/消息片段、生成分析上下文。
- `kb_writer.py`:apply 主逻辑,校验 `sourceItemKeys`、归档源文件、写页面/catalog/index、生成 `sourceItems[]`。
- `feishu_platform.py`:飞书开放平台客户端,负责 token、消息历史、消息资源、Doc/Wiki/Sheet/Bitable 读取。
- `text_extractors.py`:本地文件文本预览,支持文本、CSV/JSON/YAML/代码、DOCX、PPTX、XLSX、PDF 可选解析、ZIP 清单。
- `gitea_api.py`:Gitea 内容读写客户端,支持 dry-run。
- `catalog.py`:catalog 合并、索引渲染、图关系归一。
- `task_io.py`:payload/result JSON 读写。
- `utils.py`:hash、slug、frontmatter 清理、关键词、路径安全等通用函数。

旧探索脚本已删除;飞书读取统一走 `feishu_platform.py`,知识库写入统一走 `kb_writer.py`。

## 必需配置

环境变量:

- `FEISHU_APP_ID`
- `FEISHU_APP_SECRET`
- `GITEA_URL`
- `GITEA_BOT_TOKEN`
- `GITEA_BOT_USERNAME` 或 `GITEA_ORG`
- `TEAM_KB_REPO`

可选:

- `OPENCLAW_SHARED_DIR`:token 缓存、prepare 临时文件和中间上下文目录。

飞书应用需要机器人能力、机器人已进群、读取群消息历史权限、读取群消息资源权限。读取云文档还需要对应 Doc/Wiki/Sheet/Bitable 权限和文档授权。

## 输入配置

后端资料源会传入:

- `source.config.chatId` / `openChatId` / `open_chat_id`:飞书群 ID。
- `scanIntervalMinutes`:后端定时扫描间隔。
- `initialLookbackHours`:首次扫描回扫窗口,默认 168 小时。
- `maxMessages`:每轮最多拉取消息数,默认 200。
- `messageSegmentWindowMinutes`:把相邻群消息编译成一个消息源文件的时间窗口,默认 10 分钟。
- `maxMessagesPerSegment`:每个消息源文件最多包含的消息数,默认 12。
- `maxFileSizeMb`:单个群文件进入分析的最大体积,上限 100MB。
- `includeFiles` / `includeMessages` / `includeDocuments`:是否处理群文件、普通群消息、飞书云文档。
- `fetchRecentMessages=false`:只处理后端传入的 `source.items[]`,不主动拉群消息。
- `urls` / `docUrls` / `wikiUrls` / `tokens` / `documents` / `links`:额外飞书文档、Wiki、表格、多维表格 URL 或 token。
- `source.lastSnapshot.lastMessageCreateTime`:上一轮处理到的消息创建时间,prepare 用它做增量游标。

## Prepare

运行:

```bash
python3 scripts/run_task.py prepare --input <payload.json> --context-output <context.json>
```

prepare 输出:

- `inputItems[]`:OpenClaw 需要分析的候选资料。
- `sourceItems[]`:prepare 阶段已经确定为跳过、无权限、失败、暂不支持的资料项。
- `instructions.analysisTemplates`:每种资料类型的分析模板。
- `skipResult`:没有新候选资料时直接写给后端的成功结果;如果没有写入任何页面且 `sourceItems[]` 中存在 `need_authorization` 或 `fetch_failed`,后端会把任务标记为

_meta.json

{
  "ownerId": "kn7cp7eb6ymqv898hke0ersmc1847fed",
  "slug": "feishu-ingest",
  "version": "1.0.3",
  "publishedAt": 1783607678782
}

skill-card.md

## Description:

Poll Feishu groups for new messages, download message resources, read Feishu docs/wiki/sheets/bitables, compile message-source markdown, judge which chat segments are worth preserving, and ingest valuable materials into the Research KB through a prepare/apply workflow.

This skill is ready for commercial/non-commercial use.

## Publisher:

[myd2002](https://clawhub.ai/user/myd2002)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and research knowledge-base maintainers use this skill to ingest Feishu group messages, attachments, and cloud documents into a Research KB while preserving source-item status and provenance for backend persistence.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Task-controlled inputs can redirect credentials or repository writes.

Mitigation: Run only with trusted payloads, bind GITEA_BOT_TOKEN to an administrator-configured Gitea origin, and reject payload-selected repository URLs.

Risk: Local files may be archived too broadly during apply.

Mitigation: Restrict archived source paths to the prepare workspace and review apply contexts before execution.

Risk: Feishu and Gitea credentials can expose sensitive workspace or repository data.

Mitigation: Use least-privilege Feishu and Gitea credentials and protect Feishu token cache permissions.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/myd2002/skills/feishu-ingest)
- [Feishu Open Platform API](https://open.feishu.cn/open-apis)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance and JSON task envelopes for prepare/apply workflows]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces inputItems and sourceItems status records; apply can create or update Research KB Markdown pages, catalog entries, indexes, and archived source files.]

## Skill Version(s):

1.0.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

env-example.txt

GITEA_URL=http://127.0.0.1:3000
GITEA_BOT_TOKEN=
GITEA_BOT_USERNAME=research-kb-bot
GITEA_ORG=
TEAM_KB_REPO=team-kb
OPENCLAW_SHARED_DIR=/srv/research-kb/shared
FEISHU_APP_ID=
FEISHU_APP_SECRET=

requirements.txt

# No mandatory third-party dependencies.
# Optional: install pypdf or PyPDF2 to improve PDF text previews.
Github ReposUpdated 3d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/myd2002/skills/feishu-ingest",
      "sourceUrl": "https://clawhub.ai/myd2002/skills/feishu-ingest",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T01:04:29.041Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-myd2002-feishu-ingest/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-myd2002-feishu-ingest/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-12T01:04:29.041Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "963 downloads",
      "href": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceUrl": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T01:04:29.041Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.3",
      "href": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceUrl": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-07-09T14:34:38.782Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-myd2002-feishu-ingest/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-myd2002-feishu-ingest/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.3",
      "description": "feishu-ingest 1.0.3 - No code changes in this release. - Documentation (SKILL.md) updated for improved clarity and structure. - No changes to core logic, features, or configuration. - Safe to upgrade; behavior is unchanged.",
      "href": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceUrl": "https://clawhub.ai/myd2002/feishu-ingest",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-07-09T14:34:38.782Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-myd2002-feishu-ingest/run-check

Sponsored

Ads related to Feishu Ingest and adjacent AI workflows.