Feishu Report Summary
Use this skill when the user wants a summary of Feishu 汇报 data and the source link is under oa.feishu.cn/report/.... The bundled script calls the Feishu Report API directly, using the same credentials already stored in ~/.openclaw/openclaw.json.
Workflow
- 1. Run
scripts/fetch_report_tasks.js for the target day or range. - Prefer
--format json when you will analyze the results in-model. - Prefer
--format markdown when the output will be reviewed or copied directly. - Summarize with the structure in references/summary-template.md unless the user asks for a different format.
- If the user wants the digest published back to Feishu, use existing
feishu_doc or feishu_chat tools after the summary is drafted.
Quick Start
Fetch today's local-calendar reports as JSON:
CODEBLOCK0
Fetch one day and cap the export:
CODEBLOCK1
Fetch one rule for the last 7 days and render Markdown:
CODEBLOCK2
Write the export to a file for later review:
CODEBLOCK3
Script Notes
- - The script reads Feishu credentials from
~/.openclaw/openclaw.json by default. - Use
--account-id when multiple Feishu accounts are configured. - INLINECODE9 ,
--start-date, --end-date, and --days use the machine's local timezone. - Use
FEISHU_APP_ID and FEISHU_APP_SECRET only when you need to override config values. - The script resolves
--rule-name to a rule ID before querying tasks so the final query stays precise.
Expected Output
The JSON payload contains:
- - query range metadata
- resolved filters
- task counts grouped by rule and reporter
- normalized task entries with field names and pretty-printed field values
Use that payload to produce a concise digest that highlights:
- 1. common themes
- completed work
- blockers or risks
- next actions
- people or teams that need follow-up
飞书汇报摘要
当用户需要获取飞书汇报数据的摘要,且来源链接位于 oa.feishu.cn/report/... 时,使用此技能。捆绑脚本直接调用飞书汇报API,使用已存储在 ~/.openclaw/openclaw.json 中的相同凭据。
工作流程
- 1. 为目标日期或日期范围运行 scripts/fetchreporttasks.js。
- 当需要在模型内分析结果时,优先使用 --format json。
- 当输出需要直接审阅或复制时,优先使用 --format markdown。
- 除非用户要求不同格式,否则按照 references/summary-template.md 中的结构进行摘要。
- 如果用户希望将摘要发布回飞书,在摘要草稿完成后,使用现有的 feishudoc 或 feishu_chat 工具。
快速开始
以JSON格式获取今日本地日历汇报:
bash
node scripts/fetchreporttasks.js --format json
获取某一天的汇报并限制导出数量:
bash
node scripts/fetchreporttasks.js --date 2026-03-14 --max-items 50 --format json
获取最近7天的某个规则并以Markdown格式呈现:
bash
node scripts/fetchreporttasks.js --days 7 --rule-name 研发团队工作日报 --format markdown
将导出内容写入文件以供后续审阅:
bash
node scripts/fetchreporttasks.js --date 2026-03-14 --output /tmp/feishu-report.md
脚本说明
- - 脚本默认从 ~/.openclaw/openclaw.json 读取飞书凭据。
- 当配置了多个飞书账号时,使用 --account-id。
- --date、--start-date、--end-date 和 --days 使用机器的本地时区。
- 仅在需要覆盖配置值时使用 FEISHUAPPID 和 FEISHUAPPSECRET。
- 脚本在查询任务前会将 --rule-name 解析为规则ID,以确保最终查询的精确性。
预期输出
JSON负载包含:
- - 查询范围元数据
- 已解析的筛选条件
- 按规则和汇报人分组的任务计数
- 包含字段名称和格式化字段值的标准化任务条目
使用该负载生成简洁的摘要,重点突出:
- 1. 共同主题
- 已完成工作
- 阻碍或风险
- 后续行动
- 需要跟进的人员或团队