{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lifelog",
    "name": "LifeLog 生活记录系统",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/421zuoduan/lifelog",
    "canonicalUrl": "https://clawhub.ai/421zuoduan/lifelog",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lifelog",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lifelog",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CONFIG_EXAMPLE.md",
      "README.md",
      "README_EN.md",
      "SKILL.md",
      "scripts/lifelog-append.sh",
      "scripts/lifelog-daily-summary-v5.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/lifelog"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/lifelog",
    "agentPageUrl": "https://openagent3.xyz/skills/lifelog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lifelog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lifelog/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "LifeLog 生活记录系统",
        "body": "自动将用户的日常生活记录到 Notion，支持智能日期识别和自动汇总分析。"
      },
      {
        "title": "⚠️ 必需凭据",
        "body": "使用本技能前，必须设置以下环境变量：\n\nexport NOTION_KEY=\"your-notion-integration-token\"\nexport NOTION_DATABASE_ID=\"your-notion-database-id\"\n\n获取方式：\n\n访问 https://www.notion.so/my-integrations 创建 Integration\n获取 Internal Integration Token\n创建 Database 并 Share 给 Integration\n从 URL 中提取 Database ID"
      },
      {
        "title": "LifeLog 生活记录系统",
        "body": "自动将用户的日常生活记录到 Notion，支持智能日期识别和自动汇总分析。"
      },
      {
        "title": "核心功能",
        "body": "实时记录 - 用户分享生活点滴时自动记录到 Notion\n智能日期识别（SubAgent） - 使用 AI SubAgent 智能判断日期，优先分析文本中的日期关键词，其次分析上下文\n补录标记 - 非当天记录的内容会标记为\"🔁补录\"\n自动汇总 - 每天凌晨自动运行 LLM 分析，生成情绪状态、主要事件、位置、人员"
      },
      {
        "title": "Notion 数据库要求",
        "body": "创建 Notion Database，需包含以下字段（全部为 rich_text 类型）：\n\n字段名类型说明日期title日期，如 2026-02-22原文rich_text原始记录内容情绪状态rich_textLLM 分析后的情绪描述主要事件rich_textLLM 分析后的事件描述位置rich_text地点列表人员rich_text涉及的人员"
      },
      {
        "title": "1. lifelog-append.sh",
        "body": "实时记录脚本，接收用户消息内容。日期由 Agent 调用 SubAgent 智能判断：\n\n# 基本用法（Agent 会自动判断日期）\nbash lifelog-append.sh \"今天早上吃了油条\"\n\n# Agent 判断后传入日期\nbash lifelog-append.sh \"前天去打球了\" \"2026-03-12\"\n\n日期判断流程（Agent 侧）：\n\n用户发送生活记录 → Agent 调用 SubAgent 判断日期\nSubAgent 分析文本中的日期关键词（前天、昨天等）\n如果没有明确日期，SubAgent 根据上下文智能判断\nAgent 将判断出的日期和内容一起传给脚本"
      },
      {
        "title": "2. lifelog-daily-summary-v5.sh",
        "body": "拉取指定日期的原文，用于 LLM 分析：\n\n# 拉取昨天\nbash lifelog-daily-summary-v5.sh\n\n# 拉取指定日期\nbash lifelog-daily-summary-v5.sh 2026-02-22\n\n输出格式：\n\nPAGE_ID=xxx\n---原文开始---\n原文内容\n---原文结束---"
      },
      {
        "title": "3. lifelog-update.sh",
        "body": "将 LLM 分析结果写回 Notion：\n\nbash lifelog-update.sh \"<page_id>\" \"<情绪状态>\" \"<主要事件>\" \"<位置>\" \"<人员>\""
      },
      {
        "title": "配置步骤",
        "body": "创建 Notion Integration 并获取 API Key\n创建 Database 并共享给 Integration\n获取 Database ID（URL 中提取）\n设置环境变量：\n\nexport NOTION_KEY=\"your-notion-integration-token\"\nexport NOTION_DATABASE_ID=\"your-database-id\""
      },
      {
        "title": "定时任务（可选）",
        "body": "每天凌晨 5 点自动汇总昨天数据：\n\nopenclaw cron add \\\n  --name \"LifeLog-每日汇总\" \\\n  --cron \"0 5 * * *\" \\\n  --tz \"Asia/Shanghai\" \\\n  --session isolated \\\n  --message \"运行 LifeLog 每日汇总\" \\\n  --delivery-mode announce \\\n  --channel qqbot \\\n  --to \"<用户ID>\""
      },
      {
        "title": "工作流",
        "body": "用户发送生活记录 → 调用 lifelog-append.sh → 写入 Notion\n定时任务触发 → 调用 lifelog-daily-summary-v5.sh → 拉取原文\nLLM 分析原文 → 调用 lifelog-update.sh → 填充分析字段"
      }
    ],
    "body": "LifeLog 生活记录系统\n\n自动将用户的日常生活记录到 Notion，支持智能日期识别和自动汇总分析。\n\n⚠️ 必需凭据\n\n使用本技能前，必须设置以下环境变量：\n\nexport NOTION_KEY=\"your-notion-integration-token\"\nexport NOTION_DATABASE_ID=\"your-notion-database-id\"\n\n\n获取方式：\n\n访问 https://www.notion.so/my-integrations 创建 Integration\n获取 Internal Integration Token\n创建 Database 并 Share 给 Integration\n从 URL 中提取 Database ID\nLifeLog 生活记录系统\n\n自动将用户的日常生活记录到 Notion，支持智能日期识别和自动汇总分析。\n\n核心功能\n实时记录 - 用户分享生活点滴时自动记录到 Notion\n智能日期识别（SubAgent） - 使用 AI SubAgent 智能判断日期，优先分析文本中的日期关键词，其次分析上下文\n补录标记 - 非当天记录的内容会标记为\"🔁补录\"\n自动汇总 - 每天凌晨自动运行 LLM 分析，生成情绪状态、主要事件、位置、人员\nNotion 数据库要求\n\n创建 Notion Database，需包含以下字段（全部为 rich_text 类型）：\n\n字段名\t类型\t说明\n日期\ttitle\t日期，如 2026-02-22\n原文\trich_text\t原始记录内容\n情绪状态\trich_text\tLLM 分析后的情绪描述\n主要事件\trich_text\tLLM 分析后的事件描述\n位置\trich_text\t地点列表\n人员\trich_text\t涉及的人员\n脚本说明\n1. lifelog-append.sh\n\n实时记录脚本，接收用户消息内容。日期由 Agent 调用 SubAgent 智能判断：\n\n# 基本用法（Agent 会自动判断日期）\nbash lifelog-append.sh \"今天早上吃了油条\"\n\n# Agent 判断后传入日期\nbash lifelog-append.sh \"前天去打球了\" \"2026-03-12\"\n\n\n日期判断流程（Agent 侧）：\n\n用户发送生活记录 → Agent 调用 SubAgent 判断日期\nSubAgent 分析文本中的日期关键词（前天、昨天等）\n如果没有明确日期，SubAgent 根据上下文智能判断\nAgent 将判断出的日期和内容一起传给脚本\n2. lifelog-daily-summary-v5.sh\n\n拉取指定日期的原文，用于 LLM 分析：\n\n# 拉取昨天\nbash lifelog-daily-summary-v5.sh\n\n# 拉取指定日期\nbash lifelog-daily-summary-v5.sh 2026-02-22\n\n\n输出格式：\n\nPAGE_ID=xxx\n---原文开始---\n原文内容\n---原文结束---\n\n3. lifelog-update.sh\n\n将 LLM 分析结果写回 Notion：\n\nbash lifelog-update.sh \"<page_id>\" \"<情绪状态>\" \"<主要事件>\" \"<位置>\" \"<人员>\"\n\n配置步骤\n创建 Notion Integration 并获取 API Key\n创建 Database 并共享给 Integration\n获取 Database ID（URL 中提取）\n设置环境变量：\nexport NOTION_KEY=\"your-notion-integration-token\"\nexport NOTION_DATABASE_ID=\"your-database-id\"\n\n定时任务（可选）\n\n每天凌晨 5 点自动汇总昨天数据：\n\nopenclaw cron add \\\n  --name \"LifeLog-每日汇总\" \\\n  --cron \"0 5 * * *\" \\\n  --tz \"Asia/Shanghai\" \\\n  --session isolated \\\n  --message \"运行 LifeLog 每日汇总\" \\\n  --delivery-mode announce \\\n  --channel qqbot \\\n  --to \"<用户ID>\"\n\n工作流\n用户发送生活记录 → 调用 lifelog-append.sh → 写入 Notion\n定时任务触发 → 调用 lifelog-daily-summary-v5.sh → 拉取原文\nLLM 分析原文 → 调用 lifelog-update.sh → 填充分析字段"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/421zuoduan/lifelog",
    "publisherUrl": "https://clawhub.ai/421zuoduan/lifelog",
    "owner": "421zuoduan",
    "version": "1.2.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lifelog",
    "downloadUrl": "https://openagent3.xyz/downloads/lifelog",
    "agentUrl": "https://openagent3.xyz/skills/lifelog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lifelog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lifelog/agent.md"
  }
}