feishu-doc-finder_skill

This skill finds and downloads Feishu chat files by filename, simplifying retrieval of past documents when auto download misses items.
  • Python

2.5k

GitHub Stars

4

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill feishu-doc-finder

  • _meta.json286 B
  • index.js3.9 KB
  • package.json308 B
  • SKILL.md797 B

Overview

This skill locates and downloads files from Feishu chat history by filename. It is designed to recover attachments that were missed by automated download processes or to retrieve older files from a specific chat. It runs from the command line and requires Feishu API credentials in the environment.

How this skill works

The skill authenticates to Feishu using FEISHU_APP_ID and FEISHU_APP_SECRET, then queries the specified chat's message history for attachments matching the filename. It supports a configurable history window (hours) to limit the search and downloads the matching file to a specified output directory. If multiple matches exist, it lists them so you can choose which to download.

When to use it

  • A missed or failed automated download left a file inaccessible locally.
  • You need to retrieve an older attachment from a specific Feishu chat.
  • Verifying backups by searching conversations for specific filenames.
  • Quickly extracting a single file without navigating the Feishu UI.
  • Scripting periodic retrievals for archiving purposes.

Best practices

  • Set FEISHU_APP_ID and FEISHU_APP_SECRET as environment variables before running.
  • Run with a sufficient lookback hours value to include the likely message window.
  • Specify an output directory to keep downloads organized and avoid overwrites.
  • Check chat_id and filename for exactness; partial matches may return multiple results.
  • Use in a secure environment and rotate credentials according to your security policy.

Example use cases

  • Recover a travel-planner.zip that failed to download from a team chat yesterday.
  • Search a project chat for a specific contract.pdf from the last week for archival.
  • Automate nightly retrievals of exported reports posted to a group chat.
  • Quickly locate and download a single attachment needed for an urgent review.
  • Audit historical messages for files matching sensitive filename patterns.

FAQ

You must set FEISHU_APP_ID and FEISHU_APP_SECRET in the environment so the skill can authenticate to the Feishu API.

How far back can it search the chat history?

You control the search window with the --hours option. Increase that value to search older history, keeping in mind API rate limits.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational