Diary

v1.0.0

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

0· 180·0 current·0 all-time
byDaShanENG@1204tmax·duplicate of @1204tmax/riji

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for 1204tmax/auto-diary.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Diary" (1204tmax/auto-diary) from ClawHub.
Skill page: https://clawhub.ai/1204tmax/auto-diary
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install auto-diary

ClawHub CLI

Package manager switcher

npx clawhub@latest install auto-diary
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk978tsq16yrs60r6fvxzkh1sgd83de4g
180downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

日记(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

约束

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

Comments

Loading comments...