
Lark Minutes
- 386k installs
- 15.9k repo stars
- Updated July 28, 2026
- larksuite/cli
This is a copy of lark-minutes by open.feishu.cn - installs and ranking accrue to the original listing.
lark-minutes is a Lark CLI agent skill that downloads Feishu Minutes audio and video recordings locally or returns expiring download links for developers who archive meeting media programmatically.
About
lark-minutes is an agent skill in larksuite/cli focused on the lark-cli minutes +download shortcut for Lark (Feishu) Minutes media. It downloads audio and video files to a local path such as ./minutes/{minute_token}/ or a user-specified --output file or --output-dir, and can return --url-only links valid for one day without saving files. Developers use lark-minutes when backing up recorded standups, feeding media into transcription pipelines, or sharing time-bound download URLs from agent workflows. The operation is read-only and requires lark-shared authentication configuration. Batch downloads accept multiple --minute-tokens in one invocation.
- Downloads Lark Minutes media files with support for single or batch minute-tokens (up to 50).
- Four output modes: default folder layout, custom file path, output directory, or URL-only links valid for 1 day.
- Supports --dry-run for previewing API calls without execution.
- Read-only operations following lark-shared authentication and security rules.
- Shortcut command: lark-cli minutes +download.
Lark Minutes by the numbers
- 385,528 all-time installs (skills.sh)
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/larksuite/cli --skill lark-minutesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 386k |
|---|---|
| repo stars | ★ 15.9k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 28, 2026 |
| Repository | larksuite/cli ↗ |
How do you download Lark Minutes recordings from CLI?
Download Lark Minutes audio and video recordings locally or retrieve time-limited download links via CLI.
Who is it for?
Developers archiving Feishu Minutes media who need local files or temporary download links via lark-cli from an agent.
Skip if: Teams needing AI meeting summaries or transcript text should use lark-vc rather than lark-minutes media download.
When should I use this skill?
User asks to download, export, or get a link for Lark/Feishu Minutes audio or video recordings.
What you get
Local audio or video files under ./minutes/{token}/, custom output paths, or time-limited download URLs.
- local media files
- time-limited download URLs
By the numbers
- Download URLs from --url-only expire after 1 day
- Default local layout writes to ./minutes/{minute_token}/ directory
Files
minutes +download
前置条件: 先阅读 `../lark-shared/SKILL.md` 了解认证、全局参数和安全规则。
下载妙记的音视频媒体文件到本地,或获取有效期 1 天的下载链接。只读操作。
本 skill 对应 shortcut:lark-cli minutes +download。
命令
# 下载妙记(默认布局,落到 ./minutes/{minute_token}/<server-filename>)
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx
# 指定输出文件(单 token,文件路径)
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx --output ./meeting.mp4
# 指定输出目录(单/批量均可,目录路径)
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx --output-dir ./downloads
# 仅获取下载链接(有效期 1 天),不下载文件
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx --url-only
# 批量下载多个妙记(默认布局,逐个落到 ./minutes/{minute_token}/)
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx,obcnyyyyyyyyyyyyyyyyyyyy
# 批量下载到同一指定目录
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx,obcnyyyyyyyyyyyyyyyyyyyy --output-dir ./downloads
# 预览 API 调用
lark-cli minutes +download --minute-tokens obcnxxxxxxxxxxxxxxxxxxxx --dry-run参数
| 参数 | 必填 | 说明 |
|---|---|---|
--minute-tokens <tokens> | 是 | 妙记 Token,逗号分隔支持批量(最多 50 个) |
--output <path> | 否 | 输出文件路径(单 token)。若传入的是已存在目录,等价于 --output-dir。与 --output-dir 互斥 |
--output-dir <dir> | 否 | 输出目录(单/批量均可)。与 --output 互斥 |
--overwrite | 否 | 覆盖已存在的输出文件 |
--url-only | 否 | 仅返回下载链接,不下载文件 |
--dry-run | 否 | 预览 API 调用,不执行 |
默认落点:未指定--output/--output-dir时,文件落到./minutes/{minute_token}/<server-filename>。文件名沿用服务端 Content-Disposition / Content-Type 推断,Agent 可从saved_path字段读取实际路径。同一 minute_token 的录像和vc +notes的逐字稿默认会落在同一目录下,方便聚合。
核心约束
1. 妙记必须已完成转写
音视频文件仅在妙记转写完成后可下载。如果妙记尚未准备好,API 会返回 2091003 错误。
2. 下载链接有效期 1 天
--url-only 返回的链接有效期为 1 天,过期后需重新获取。
3. 频率限制
API 限流 5 次/秒,批量下载时需注意控制频率。
4. 所需权限
| 身份 | 所需权限 |
|---|---|
| user / bot | minutes:minutes.media:export |
输出结果
下载模式(默认)
单 token:
{
"minute_token": "obcnxxxxxxxxxxxxxxxxxxxx",
"artifact_type": "recording",
"saved_path": "/path/to/minutes/obcnxxxxxxxxxxxxxxxxxxxx/访谈一则.m4a",
"size_bytes": 52428800
}批量:downloads 数组,每条与上面结构一致,失败项带 error 字段。
| 字段 | 说明 |
|---|---|
minute_token | 妙记 Token(用于 Agent 索引) |
artifact_type | 固定为 "recording"(与 vc +notes 的 "transcript" 区分) |
saved_path | 文件保存的本地路径(绝对路径) |
size_bytes | 文件大小(字节) |
URL 模式(--url-only)
{
"minute_token": "obcnxxxxxxxxxxxxxxxxxxxx",
"download_url": "https://..."
}| 字段 | 说明 |
|---|---|
minute_token | 妙记 Token |
download_url | 媒体文件下载链接(有效期 1 天) |
如何获取 minute_token
| 来源 | 获取方式 |
|---|---|
| 妙记 URL | 从 URL 末尾提取,如 https://sample.feishu.cn/minutes/obcnxxxxxxxxxxxxxxxxxxxx → obcnxxxxxxxxxxxxxxxxxxxx |
| 妙记元信息查询 | lark-cli minutes minutes get --params '{"minute_token": "obcn..."}' |
| 会议录制查询 | lark-cli vc +recording --meeting-ids <id> 或 lark-cli vc +recording --calendar-event-ids <event_id> |
常见错误与排查
| 错误现象 | 错误码 | 根本原因 | 解决方案 |
|---|---|---|---|
| 参数无效 | 2091001 | minute_token 格式不正确 | 检查 token 是否完整(24 位) |
| 资源不存在 | 2091002 | token 不存在 | 确认 minute_token 正确 |
| 妙记尚未准备好 | 2091003 | 转写未完成 | 等待转写完成后重试 |
| 资源已删除 | 2091004 | 妙记已被删除 | 确认妙记文件仍然存在 |
| 权限不足 | 2091005 | 无阅读权限 | 检查是否有该妙记的访问权限 |
missing required scope(s) | — | 应用缺少权限 | 运行 auth login --scope "minutes:minutes.media:export" |
提示
- 音视频文件可能较大,下载无固定超时限制(由用户 Ctrl+C 控制取消)。
- 默认落点
./minutes/{minute_token}/与vc +notes的逐字稿共享同一目录,方便 Agent 聚合同一会议的所有产物。 - 单 token 模式下
--output若传入已存在目录(如--output ./existing-dir),等价于--output-dir,文件落入该目录(cp 语义)。 - 批量模式下
--output不接受已存在的文件路径(会报错),应改用--output-dir。 - 如需获取妙记的纪要内容(逐字稿、AI 总结等),请使用 vc +notes。
参考
- lark-minutes — 妙记全部命令
- lark-vc-notes — 会议纪要查询
- lark-shared — 认证和全局参数
minutes +search
前置条件: 先阅读 [
Related skills
How it compares
Use lark-minutes for raw media files; use lark-vc when structured summaries, transcripts, or todos are needed.
FAQ
How long are lark-minutes download URLs valid?
lark-minutes --url-only links expire after one day. Use the flag when agents need a temporary URL instead of writing media to ./minutes/{minute_token}/ or a custom --output path.
Is lark-minutes a write operation on Lark?
lark-minutes is read-only. It downloads or links existing Minutes media via lark-cli minutes +download and does not modify meeting content on the Feishu platform.
Is Lark Minutes safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.