← 返回 Skills 市场
1204tmax

Diary

作者 DaShanENG · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
184
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-diary
功能描述
个人日记自动化 skill。用于按天生成日记文本并导出 1080px 图片;支持首次自动初始化、读取 SOUL/MEMORY/每日记忆素材、保持写作风格连续性。适用于用户要求“写日记/生成日记图片/补昨天日记/自动日记归档”等场景。
使用说明 (SKILL.md)

日记(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:写作

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

Step 4:生成图片

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

Step 5:返回结果

返回:

  • date
  • text_path
  • image_path
  • image_size

约束

  • 不覆盖已存在的同日期日记(除非用户明确要求)
  • 声称完成时必须给出实际输出路径
  • 仅在缺文件时创建目录,不删除已有内容
安全使用建议
This skill appears coherent and does what it claims, but it will read and reuse content from your local SOUL/MEMORY/daily folders and write config.yaml plus diary text and generated PNGs into your workspace. Before installing: 1) review and, if needed, edit config.template.yaml so the paths point to folders you control; 2) back up any sensitive files in your workspace you don't want the skill to read; 3) confirm your agent/host won't automatically transmit generated content to external services if you have privacy concerns; and 4) test the skill in a disposable workspace first to verify behavior.
功能分析
Type: OpenClaw Skill Name: auto-diary Version: 1.0.0 The skill bundle is a legitimate automation tool for generating diary entries and images based on local memory files. It operates within the expected OpenClaw workspace (~/.openclaw/) and follows a clear logic for initialization, data collection, and output generation without any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The name/description (automatic daily journaling + image export) matches the instructions and template files: it reads SOUL/MEMORY/daily-memory and recent diaries, generates a YYYY-MM-DD.md and renders diary-template.html to a 1080px image. No unrelated credentials, binaries, or cloud access are requested.
Instruction Scope
SKILL.md explicitly instructs reading local files (soul, memory, daily memory, recent diary texts) and writing diary text and an image, plus auto-initializing a config.yaml from config.template.yaml. These actions are within scope for a journaling skill. Note: the skill will access user workspace files (potentially sensitive personal content) as part of normal operation.
Install Mechanism
No install spec and no code files — instruction-only. Nothing is downloaded or written beyond the config and output files the skill itself specifies, so install risk is low.
Credentials
No environment variables, secrets, or external credentials are required. The skill uses only local paths (from config.template.yaml) and a timezone setting in the config; these are proportionate to its purpose.
Persistence & Privilege
always:false (default) and no requests to modify other skills or global agent settings. The skill will create config.yaml and output files in user-specified workspace directories, which is appropriate for its function.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-diary
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-diary 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release under English slug auto-diary; sanitized docs and generic defaults.
元数据
Slug auto-diary
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Diary 是什么?

个人日记自动化 skill。用于按天生成日记文本并导出 1080px 图片;支持首次自动初始化、读取 SOUL/MEMORY/每日记忆素材、保持写作风格连续性。适用于用户要求“写日记/生成日记图片/补昨天日记/自动日记归档”等场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 184 次。

如何安装 Diary?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-diary」即可一键安装,无需额外配置。

Diary 是免费的吗?

是的,Diary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Diary 支持哪些平台?

Diary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Diary?

由 DaShanENG(@1204tmax)开发并维护,当前版本 v1.0.0。

💬 留言讨论