421zuoduan/lifelog/SKILL.md
生活记录自动化系统。自动识别消息中的日期(今天/昨天/前天/具体日期),使用 SubAgent 智能判断,记录到 Notion 对应日期,每次都是**追加记录**而非覆盖。 适用于:(1) 用户分享日常生活点滴时自动记录;(2) 定时自动汇总分析并填充情绪、事件、位置、人员字段
npx skillsauth add openclaw/skills lifelogInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
自动将用户的日常生活记录到 Notion,支持智能日期识别和自动汇总分析。
使用本技能前,必须设置以下环境变量:
export NOTION_KEY="your-notion-integration-token"
export NOTION_DATABASE_ID="your-notion-database-id"
获取方式:
自动将用户的日常生活记录到 Notion,支持智能日期识别和自动汇总分析。
创建 Notion Database,需包含以下字段(全部为 rich_text 类型):
| 字段名 | 类型 | 说明 | |--------|------|------| | 日期 | title | 日期,如 2026-02-22 | | 原文 | rich_text | 原始记录内容 | | 情绪状态 | rich_text | LLM 分析后的情绪描述 | | 主要事件 | rich_text | LLM 分析后的事件描述 | | 位置 | rich_text | 地点列表 | | 人员 | rich_text | 涉及的人员 |
lifelog-append.sh "消息内容" "判断的日期" → 追加到 Notion 指定日期分析以下用户消息,判断它描述的是哪个日期的生活记录。
消息内容:「用户消息原文」
请输出:
1. 判断的日期(格式:YYYY-MM-DD)
2. 判断依据(简单说明)
只输出这两项,不要多余内容。
# 追加记录到指定日期(SubAgent 判断日期后调用)
bash lifelog-append.sh "消息内容" "YYYY-MM-DD"
注意:脚本第二个参数为日期,不传则默认为今天。每条记录都是追加而非覆盖。
拉取指定日期的原文,用于 LLM 分析:
# 拉取昨天
bash lifelog-daily-summary-v5.sh
# 拉取指定日期
bash lifelog-daily-summary-v5.sh 2026-02-22
输出格式:
PAGE_ID=xxx
---原文开始---
原文内容
---原文结束---
将 LLM 分析结果写回 Notion:
bash lifelog-update.sh "<page_id>" "<情绪状态>" "<主要事件>" "<位置>" "<人员>"
export NOTION_KEY="your-notion-integration-token"
export NOTION_DATABASE_ID="your-database-id"
每天凌晨 5 点自动汇总昨天数据:
openclaw cron add \
--name "LifeLog-每日汇总" \
--cron "0 5 * * *" \
--tz "Asia/Shanghai" \
--session isolated \
--message "运行 LifeLog 每日汇总" \
--delivery-mode announce \
--channel qqbot \
--to "<用户ID>"
lifelog-append.sh → 追加到 Notionlifelog-daily-summary-v5.sh → 拉取原文lifelog-update.sh → 填充分析字段tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。