feishu-search-doc

feishu-search-doc is a skill for Claude Code, Codex from chuancyzhang/deepseek-cowork. It costs 61 tokens per session (998 once invoked), scanned A, original, Apache-2.0.

A search tool for Feishu, a Chinese workplace collaboration platform, that finds cloud documents, knowledge-base pages, and files in selected folders by keyword or name.

In plain words
What is it for?
Use it to find documents, knowledge-base pages, or files before reading or editing them with other Feishu tools.
Why use it?
It avoids manually browsing large Feishu workspaces to locate documents or folders.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find documents, knowledge-base pages, or files before reading or editing them with other Feishu tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chuancyzhang/deepseek-cowork/feishu-search-doc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chuancyzhang/deepseek-cowork --skill feishu-search-doc
Clone the repo
git clone --depth 1 https://github.com/chuancyzhang/deepseek-cowork

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feishu-search-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/chuancyzhang/deepseek-cowork/feishu-search-doc/github.svg)](https://agentmods.dev/skills/chuancyzhang/deepseek-cowork/feishu-search-doc)
Your own site
<a href="https://agentmods.dev/skills/chuancyzhang/deepseek-cowork/feishu-search-doc"><img src="https://agentmods.dev/badge/skills/chuancyzhang/deepseek-cowork/feishu-search-doc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feishu-search-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/chuancyzhang/deepseek-cowork/feishu-search-doc"><img src="https://agentmods.dev/badge/skills/chuancyzhang/deepseek-cowork/feishu-search-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00998
Opus 5.5 $0.00024 $0.00399
Sonnet 5.5 $0.00012 $0.00200
Haiku 4.5 $0.00006 $0.00100

Measured 1mo ago against content hash dabbd6020a5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feishu-search-doc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (search-doc.js, search-doc.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai_skills/feishu-docs/feishu-search-doc/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

feishu-search-doc

模块兼容:所有脚本均提供 .js 和 .mjs 两个版本。优先使用 .js,若报 require is not defined 错误则改用同名 .mjs 文件。

直接用 exec 执行,不要检查文件或环境。

依赖 API(飞书开放平台)

  • 云文档搜索:POST /open-apis/suite/docs-api/search/object
  • 知识库空间列表:GET /open-apis/wiki/v2/spaces
  • 知识库子节点列表:GET /open-apis/wiki/v2/spaces/:space_id/nodes
  • 云盘目录列表(按名称筛选):GET /open-apis/drive/v1/files

命令

默认 all:并行搜索云文档(最多约 50 条)+ 按名称筛选知识库空间;可选叠加云盘筛选。

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "关键词" [--action all]

仅搜云文档(支持分页参数):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "关键词" --action docs [--count 20] [--offset 0]

仅按名称筛选知识库空间(在已拉取的全量空间列表上本地匹配):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "空间名" --action wiki_spaces

列出当前用户可见的全部知识库空间(无需 --query):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --action list_wiki_spaces

在某一知识库空间下按标题筛选节点(默认只查一层子节点;--parent-node-token 省略表示根下子节点):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "节点标题" --action wiki_nodes --wiki-space-id "SPACE_ID" [--parent-node-token "NODE_TOKEN"]

在知识库内浅层遍历子树按标题筛选(有 API 次数上限,默认 --max-visits 80):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "标题" --action wiki_nodes --wiki-space-id "SPACE_ID" --deep [--max-visits 80]

在云盘某目录下按名称筛选(--folder-token 省略或空字符串表示根目录):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "文件夹或文件名" --action drive [--folder-token "父目录TOKEN"]

在 all 模式下同时做云盘名称筛选(需显式打开,避免多余调用):

node ./search-doc.js --open-id "SENDER_OPEN_ID" --query "关键词" --action all --include-drive [--folder-token "父目录TOKEN"]

输出

脚本输出单行 JSON。将 reply 原样给用户;编排时优先使用:

  • 云文档:docs[] 中的 docs_token、docs_type、url
  • 知识库空间:wiki_spaces[] 中的 space_id、name
  • 知识库节点:wiki_nodes[] 中的 node_token、obj_type、create_doc_token(供 feishu-create-doc 的 --wiki-node)
  • 云盘文件夹:drive[] 中 type 为 folder 的 token(供 --folder-token)

授权

若返回 {"error":"auth_required"} 或 {"error":"permission_required"},按与其他 feishu 技能相同方式调用 feishu-auth;若 JSON 含 required_scopes,将其用空格拼入 --scope 后执行 auth.js --auth-and-poll。

Read the full file on GitHub · 83 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 83 lines · 61 tokens per session scan A dabbd6020a5f

Subscribe to this mod's changes

feishu-search-doc is a skill published in the GitHub repository chuancyzhang/deepseek-cowork (18 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 998 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens