lark-note
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesenote (v1)
note (v1)
CRITICAL — 开始前 MUST 先用 Read 工具读取 ,其中包含认证、权限处理。
../lark-shared/SKILL.mdNote 域负责已知 时的纪要直查。它不反查会议、日程、妙记或文档标题,也不读取 Docx 正文——那些分别属于 、、。
note_idlark-vclark-minuteslark-doc来源: 如果入口是文档,先用note_id读取文档元信息;返回里的docs +fetch --api-version v2 --doc <doc_token>表示 VC 原始记录 block,其中<vc-transcribe-tab vc-node-id="..."></vc-transcribe-tab>属性值就是 Note 域使用的vc-node-id。这是显式属性映射,不要从note_id、标题、正文或 backlink 反推doc_token。note_id只有纪要标题时: 用户说“查询 xx 纪要的逐字稿 / 原始记录 / 谁说了什么”,且没有、note_id、meeting_id、calendar_event_id、会议号或妙记 URL 时,先搜索纪要文档并 fetch 正文。只有正文里的minute_token可以进入本 skill;否则只读取正文中明确给出的“文字记录/逐字稿” Docx 链接,不要强行进入 Note 域。<vc-transcribe-tab vc-node-id="...">
CRITICAL — MUST use the Read tool to read before starting, which contains authentication and permission handling.
../lark-shared/SKILL.mdThe Note domain is responsible for direct query of minutes when is known. It does not backtrack meetings, calendars, Minutes (Miaoji) or document titles, nor does it read Docx content—those belong to , , and respectively.
note_idlark-vclark-minuteslark-docSource of: If the entry is a document, first usenote_idto read document metadata; thedocs +fetch --api-version v2 --doc <doc_token>in the response indicates a VC original record block, where the value of the<vc-transcribe-tab vc-node-id="..."></vc-transcribe-tab>attribute is thevc-node-idused by the Note domain. This is an explicit attribute mapping; do not infernote_idfromnote_id, title, content or backlink.doc_tokenOnly minute title available: When the user says "Query the verbatim transcript / original record / who said what of xx minute" and there is no,note_id,meeting_id,calendar_event_id, meeting number or Miaoji URL, first search for the minute document and fetch its content. Only theminute_tokenin the content can enter this skill; otherwise, only read the explicit "verbatim record/transcript" Docx link in the content, do not force entry into the Note domain.<vc-transcribe-tab vc-node-id="...">
核心概念
Core Concepts
- Note(会议纪要):会议结束后生成的纪要实体,通过 标识。
note_id - 展示类型():区分纪要形态,取值
note_display_type/unknown/normal。unified- (普通纪要):纪要正文和逐字稿是两份独立的飞书文档,分别对应
normal、note_doc_token。verbatim_doc_token - :纪要正文、AI 产物、逐字记录合并呈现;逐字稿不再是独立文档,要用
unified按note +transcript拉取原始记录。note_id
- 文档 token:(AI 智能纪要主文档)、
note_doc_token(普通纪要逐字稿文档)、verbatim_doc_token(会中共享文档)。拿到 token 后读正文交给 lark-doc。shared_doc_tokens
- Note (Meeting Minutes): A minute entity generated after a meeting, identified by .
note_id - Display Type (): Distinguishes minute forms, with values
note_display_type/unknown/normal.unified- (Normal Minute): The minute content and verbatim transcript are two independent Feishu documents, corresponding to
normalandnote_doc_tokenrespectively.verbatim_doc_token - : Minute content, AI-generated products, and verbatim records are presented together; the verbatim transcript is no longer an independent document and must be retrieved by
unifiedusingnote +transcript.note_id
- Document Tokens: (AI intelligent minute main document),
note_doc_token(normal minute verbatim transcript document),verbatim_doc_token(in-meeting shared documents). After obtaining the tokens, pass them to lark-doc to read the content.shared_doc_tokens
触发规则
Trigger Rules
| 用户表达 | 命令 / 路由 |
|---|---|
已知 | |
| 只有自然语言纪要标题,用户要逐字稿 / 原始记录 / 谁说了什么 | 不进本 skill;先路由到 lark-drive / lark-doc,拿到 |
| 把 |
已知 | |
已知 | 先 |
| User Expression | Command / Route |
|---|---|
Known | |
| Only natural language minute title, user requests verbatim transcript / original record / who said what | Do not enter this skill; route to lark-drive / lark-doc first, then return after obtaining |
| Use the value of |
Known | |
Known | First use |
路由规则(拿到 detail 后按 note_display_type
决策)
note_display_typeRouting Rules (Decision based on note_display_type
after obtaining detail)
note_display_type| 条件 | Agent 后续动作 |
|---|---|
| 用户要纪要正文 / 总结 / 待办 / 章节 | |
| |
| |
| 如果当前结果来自 |
| |
判别键是,不是note_display_type是否为空。 unified 纪要的verbatim_doc_token也可能有值,但 unified 的逐字稿应统一走verbatim_doc_token(输出更结构化)。note +transcript
| Condition | Agent Follow-up Action |
|---|---|
| User requests minute content / summary / to-dos / sections | |
| |
| |
| If the current result comes from |
| |
The discriminant key is, not whethernote_display_typeis empty. Theverbatim_doc_tokenof unified minutes may also have a value, but the verbatim transcript of unified minutes should uniformly useverbatim_doc_token(more structured output).note +transcript
禁止规则
Forbidden Rules
- 不处理 —— 那是 lark-vc 的入口。
meeting_id - 不处理 —— 那是 lark-vc 的入口。
calendar_event_id - 不处理 —— 那是 lark-vc(纪要产物索引)/ lark-minutes(妙记基础信息与媒体)的入口。
minute_token - 不处理自然语言纪要标题搜索 —— 先搜索纪要文档并 fetch 正文;只有 fetch 结果里的 可以作为
vc-node-id,普通纪要里的“文字记录/逐字稿” Docx 链接仍由 lark-doc 读取。note_id - 不读取 Docx 正文 —— 拿到文档 token 后交给 lark-doc。
- 不从纪要正文或 反推
doc_token;只有note_id结果中docs +fetch --api-version v2的显式<vc-transcribe-tab>属性可以作为vc-node-id。note_id
- Do not process — this is the entry point of lark-vc.
meeting_id - Do not process — this is the entry point of lark-vc.
calendar_event_id - Do not process — this is the entry point of lark-vc (minute product index) / lark-minutes (Miaoji basic information and media).
minute_token - Do not process natural language minute title search — first search for the minute document and fetch its content; only the explicit in
vc-node-idfrom the fetch result can be used as<vc-transcribe-tab>, and the "verbatim record/transcript" Docx link in normal minutes is still read by lark-doc.note_id - Do not read Docx content — pass the document token to lark-doc after obtaining it.
- Do not infer from minute content or
note_id; only the explicitdoc_tokenattribute invc-node-idfrom the<vc-transcribe-tab>result can be used asdocs +fetch --api-version v2.note_id
Shortcuts(推荐优先使用)
Shortcuts (Recommended for Priority Use)
Shortcut 是对常用操作的高级封装()。
lark-cli note +<verb> [flags]| Shortcut | 说明 |
|---|---|
| Get note detail (display type, document tokens) by note_id |
| Fetch the unified note transcript and save it to a file |
- 使用 命令时,必须阅读 references/lark-note-detail.md。
+detail - 使用 命令时,必须阅读 references/lark-note-transcript.md。
+transcript
Shortcuts are advanced encapsulations of common operations ().
lark-cli note +<verb> [flags]| Shortcut | Description |
|---|---|
| Get note detail (display type, document tokens) by note_id |
| Fetch the unified note transcript and save it to a file |
- When using the command, you must read references/lark-note-detail.md.
+detail - When using the command, you must read references/lark-note-transcript.md.
+transcript
权限表
Permission Table
| 方法 | 所需 scope |
|---|---|
| |
| |
| Method | Required scope |
|---|---|
| |
| |
参考
References
- lark-vc — 从 meeting_id / calendar_event_id / minute_token 定位 note_id
- lark-doc — 读取纪要正文 / 普通逐字稿文档正文
- lark-minutes — 妙记基础信息与媒体下载
- lark-shared — 认证和全局参数
- lark-vc — Locate note_id from meeting_id / calendar_event_id / minute_token
- lark-doc — Read minute content / normal verbatim transcript document content
- lark-minutes — Miaoji basic information and media download
- lark-shared — Authentication and global parameters