Feishu Fetch logo

Feishu Fetch

Community
jinchenma94
feishu-fetch

使用 lark-cli 将飞书或 Lark 妙记链接下载为本地逐字稿、说话人列表、基础详情和交接清单。用户提供 `*.feishu.cn/minutes/*`、`*.larksuite.com/minutes/*` 链接并要求下载、保存文字记录,或其他 Skill 需要先取得妙记原始内容时使用;首版不处理普通文档、Wiki、表格,也不负责会议总结或知识库入库。

Overview

Publisherjinchenma94
Repositoryjinchenma-knowledge-base
Skill namefeishu-fetch
Stars
29
Forks
4
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jinchenma94 on GitHub. Read the source before you install it.

Installation

Install the Feishu Fetch AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jinchenma94/jinchenma-knowledge-base/tree/main/skills/feishu-fetch
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jinchenma94/jinchenma-knowledge-base.git /tmp/jinchenma-knowledge-base
mkdir -p .claude/skills
cp -r /tmp/jinchenma-knowledge-base/skills/feishu-fetch .claude/skills/feishu-fetch
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Fetch in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Feishu Fetch on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Feishu Fetch is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Feishu Fetch

遵守 公共契约。本 Skill 是独立获取层,不依赖或调用 meeting-ingestion。

开始前

  1. 确认 lark-cli 可用。
  2. 按 CLI 当前版本读取 lark-minutes、lark-shared、lark-vc/references/vc-domain-boundaries.md 和 lark-minutes/references/lark-minutes-detail.md。
  3. 只接受飞书或 Lark 的 /minutes/<minute_token> 链接。其他资源返回 unsupported_resource,不要改用浏览器、网页抓取或其他下载器。

下载

使用 Agent 启动阶段解析出的路径运行:

bash
python3 "${agent_root}/skills/feishu-fetch/scripts/fetch_minutes.py" \
  --vault-root "${brain_root}" \
  '<feishu-minutes-url>'

可选参数:

  • --output-root <relative-path>:覆盖默认根目录 .临时/飞书下载/minutes;只接受知识库内相对路径。
  • --overwrite:仅在用户明确要求刷新或覆盖时使用。必须同时传入现有 manifest.json 的 --expected-manifest-sha256;哈希不符时停止。成功替换前将旧目录原子移动为同级 .bak.<hash-prefix> 可恢复备份。默认复用已有完整下载,不覆盖。

脚本固定使用 --as user,并输出 JSON 信封。成功目录为:

text
.临时/飞书下载/minutes/<minute_token>/
├── transcript.txt
├── speakers.json
├── detail.json
└── manifest.json

transcript.txt 是后续处理的主要事实源;不要改写正文。detail.json 和 speakers.json 是辅助元数据。不要把飞书 AI Summary 当作会议总结的替代来源。

完整下载要求四个文件都存在并可解析、Transcript 字节数与 SHA-256 匹配、说话人列表存在且结构有效。说话人缺失返回 speaker_missing,附件缺失或哈希不符返回 incomplete_download;不得把不完整目录标记为可复用。

授权

脚本返回 error.type=needs_user_auth 时:

  1. 使用最小只读 scope 发起 split-flow:

    bash
    lark-cli auth login --scope 'minutes:minutes:readonly' --no-wait --json
  2. 使用 lark-cli auth qrcode 生成 PNG,先向用户展示原始授权 URL,再展示二维码,然后结束当前轮次。

  3. 用户确认完成后,由 Agent 执行 lark-cli auth login --device-code <code>,再重试下载。

  4. Bot 缺 scope 时不要运行 auth login;返回开发者后台的 console_url。

遇到 missing_scope、permission_denied、cli_unavailable 或 fetch_failed 时停止并报告原始原因,不静默切换工具。

交接契约

下游只读取 manifest.json,其中包含:

  • schema_version、platform、resource_type、status;
  • source_url、minute_token、source_title、note_id;
  • downloaded_at、identity;
  • 四个固定文件的相对路径;
  • Transcript 的 SHA-256 和字节数。

manifest.json 不保存知识库规范标题、页面类型或分类结果。需要会议加工时,由 meeting-ingestion 在说话人确认后决定这些值。

边界

  • 用户只要求下载时,返回本地目录、文件清单和校验值后停止。
  • 不创建 原始来源、会议 或实体页面。
  • 不总结、不分类、不传播实体、不修订 Speaker 标签。
  • 不自动删除 .临时 产物;.临时/ 已由 Git 忽略,且不得作为唯一事实源长期保留。
  • 不下载音视频媒体;本 Skill 只处理文字记录与必要元数据。

测试与回执

  • 所有测试只用 mock 或 fixture,禁止访问真实飞书、Lark、真实授权或真实用户数据。
  • 至少覆盖:下载成功、权限失败、说话人缺失、四件套不完整、相同完整下载返回 reused。
  • 回执使用公共中文字段,并在 来源状态 中给出 complete/incomplete/permission_denied;列出四个文件、字节数、Transcript SHA-256 和可恢复重试入口。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Feishu Fetch AI skill do?

使用 lark-cli 将飞书或 Lark 妙记链接下载为本地逐字稿、说话人列表、基础详情和交接清单。用户提供 `*.feishu.cn/minutes/*`、`*.larksuite.com/minutes/*` 链接并要求下载、保存文字记录,或其他 Skill 需要先取得妙记原始内容时使用;首版不处理普通文档、Wiki、表格,也不负责会议总结或知识库入库。

Why use Feishu Fetch on TypingMind?

Because you install it once and use it with any model. Feishu Fetch is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Feishu Fetch in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jinchenma94/jinchenma-knowledge-base/tree/main/skills/feishu-fetch. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Feishu Fetch?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Feishu Fetch?

As many as you like. As long as a model supports skills, you can use Feishu Fetch with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Feishu Fetch AI skill free?

It is published on GitHub by jinchenma94. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇