SuperAPI AI Directory

lark-workflow-meeting-summary

Office & productivity

View repository

Updated 10-13 20:09

About this skill

Meeting Minutes Summarization Workflow

CRITICAL — Before starting, you MUST fully read ../lark-shared/SKILL.md and ../lark-meeting/SKILL.md. Authentication, identity, and permissions are governed by lark-shared; the relationship between meetings and artifacts, artifact selection, and transcript routing are governed by lark-meeting.

Applicable Scenarios

  • "Help me organize this week's meeting minutes" / "Summarize recent meetings" / "Generate a weekly meeting report"
  • "See what meetings were held today" / "Review what meetings were held over the past week"

Prerequisites

Only supports user identity. Before execution, ensure authorization has been granted:

lark-cli auth login --domain vc        # 基础(查询+纪要)
lark-cli auth login --domain vc,drive   # 含读取纪要文档正文、生成文档
lark-cli auth login --domain vc,drive,minutes  # 含无 note_id 时的妙记备选路径

Workflow

{时间范围} ─► vc +search ──► 会议列表 (meeting_ids)
                   │
                   ▼
               vc +detail ──► 获取 note_id 
                   │
                   ▼
               note +detail ──► 纪要文档 tokens
                   │
                   ▼
               drive metas batch_query 纪要元数据
                   │
                   ▼
               结构化报告

Step 1: Determine the time range

Defaultthe past 7 days. Inference rules: "today" → the current day, "this week" → this Mondaynow, "last week" → last Mondaylast Sunday, "this month" → the 1st to now.

Note: Date conversion must call system commands (such as date), do not calculate mentally. Time range parameters need to be formatted according to the CLI's actual requirements (usually YYYY-MM-DD or ISO 8601).

Step 2: Query meeting records

# page-size 最大为 30
lark-cli vc +search --start "<YYYY-MM-DD>" --end "<YYYY-MM-DD>" --format json --page-size 30
  • Time range splitting: The maximum time range for a search is 1 month. Searching for meetings over a longer time range requires splitting into multiple queries with a time range of one month each.
  • --end isinclusive of the current daydate (that is, when querying "today", fill in today for both start and end)
  • --format json outputs JSON format, and you are better at parsing JSON data.
  • --page-size 30 has at most 30 entries per page.
  • If there is page_token , you must continue paging and collect all id fields (meeting-id)

Step 3: Get meeting minutes metadata

  1. Query the minutes information associated with the meeting
# 首先获取 note_id 和 minute_token
lark-cli vc +detail --meeting-ids "id1,id2,...,idN"

# 然后用 note_id 获取文档 tokens(如有多个需分别获取)
lark-cli note +detail --note-id "note_id"
  • Query based on the meeting-id collected in the previous step.
  • At most 50 can be queried at a time; more than 50 requires batched calls.
  • Some meetings do not have note_id or report error no notes available,Do not directly mark "no minutes": first check whether vc +detail returned minute_token; if so, follow the Minutes fallback path below;note_id and minute_token only when neither is present should you mark "no minutes".
  • Record each minutes' note_id(minutes ID),note_display_type(display type:unknown / normal / unified)、note_doc_token(minutes document Token) and verbatim_doc_token(transcript document Token).

Minutes fallback path (no note_id, but has minute_token ): Smart minutes and Minutes are two independent artifact chains; the absence of smart minutes does not mean there is no content for this meeting.

# --minute-tokens 是复数形式(+download 同);--output-dir 只接受相对路径
lark-cli minutes +detail --minute-tokens "<minute_token>" --transcript --output-dir ./transcripts --as user

The transcript will be saved to disk for Step 4 to independently extract based on the original remarks (do not copy the AI summary). If it returns No read permission(2091005), first inform the user of the no-permission fact, and only after the user explicitly agrees, apply using the singular flag:lark-cli minutes +apply-permission --minute-token "<minute_token>" --perm view --as user; the application can be retried only after the owner approves it on the client. For details, see Query Minutes and associated artifacts based on minute_token。

Transcript routing is determined by note_display_type is determined(for details, see Query smart minutes and associated artifacts based on note_id):

  • normal: The transcript is an independent document; links/body go through verbatim_doc_token。
  • unified: transcriptNot an independent document, there is no shareable transcript document link; when transcript content is needed, use note +transcript --note-id <note_id>(lark-meeting) to pull it locally, and in the report just note "unified minutes".
  1. Obtain meeting minutes documents and transcript document links
# 学习命令使用方式
lark-cli schema drive.metas.batch_query

# 批量获取纪要文档与逐字稿链接: 一次最多查询 10 个文档
# 仅对 note_doc_token 与 normal 纪要的 verbatim_doc_token 查询链接
lark-cli drive metas batch_query --data '{"request_docs": [{"doc_type": "docx", "doc_token": "<doc_token>"}], "with_url": true}'

Step 4: Compile the minutes report

Choose the output format based on the time span:

  • Single-day summary("today"/"yesterday"): use the "Today's Meeting Overview" heading, and list each meeting's time, topic, minutes link, and transcript link (unified The minutes have no transcript link; note "unified minutes, transcript requires note +transcript to pull").
  • Multi-day/weekly report("this week"/"past 7 days", etc.): use the "Meeting Minutes Weekly Report" heading, including overview statistics and per-meeting details.

Step 5: Generate the document (optional, when the user requests it)

Read ../lark-doc/SKILL.md to learn the cloud document skill.

lark-cli docs +create --doc-format markdown --content $'<title>会议纪要汇总 (<start> - <end>)</title>\n<内容>'
# 或追加到已有文档
lark-cli docs +update --doc "<url_or_token>" --command append --doc-format markdown --content $'<内容>'

Reference