diary

个人日记自动化 skill。用于按天生成日记文本并导出 1080px 图片;支持首次自动初始化、读取 SOUL/MEMORY/每日记忆素材、保持写作风格连续性。适用于用户要求“写日记/生成日记图片/补昨天日记/自动日记归档”等场景。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "diary" with this command: npx skills add 1204tmax/auto-diary

日记(Diary)Skill

目标

在需要写日记时,一键完成:

  1. 自动检查并初始化配置
  2. 读取素材(SOUL、MEMORY、daily memory、近几天日记)
  3. 生成目标日期日记文本
  4. 渲染为 1080px 宽图片

执行流程

Step 0:配置检查

  • config.yaml 存在:进入主流程
  • 若不存在:按 config.template.yaml 自动初始化并继续

Step 1:确定目标日期

  • 使用 environment.timezone
  • 默认目标:昨天(当前日期 - 1)

Step 2:收集素材

必读:

  • paths.soul_path
  • paths.memory_root_path
  • paths.daily_memory_dir/YYYY-MM-DD.md

建议读取:

  • paths.diary_text_dir 最近 7 天日记(避免重复句式)
  • 可选新闻摘要目录(若存在)

Step 3:写作

  • 第一人称
  • 真实、自然、有情绪与想法
  • 禁止流水账式罗列
  • 不编造不存在的事实
  • 保存到 <diary_text_dir>/YYYY-MM-DD.md

Step 4:生成图片

  • 使用 diary-template.html 渲染
  • 输出宽度必须为 output.image_width(默认 1080)
  • 高度自适应内容
  • 输出路径:<diary_text_dir>/diary-YYYY-MM-DD.png

Step 5:返回结果

返回:

  • date
  • text_path
  • image_path
  • image_size

约束

  • 不覆盖已存在的同日期日记(除非用户明确要求)
  • 声称完成时必须给出实际输出路径
  • 仅在缺文件时创建目录,不删除已有内容

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated