← 返回 Skills 市场
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mood-logger
功能描述
记录每日心情并保存到 Obsidian 库。当用户要求记录心情、情绪日记、心情追踪或类似的情绪记录任务时使用。使用 scripts/log_mood.py 脚本确保格式固定一致。支持心情评分(1-10)、标签和备注。
安全使用建议
这是一个本地日记/报表工具:
- 功能与代码一致:脚本在本地读写 Markdown 文件来记录与汇总心情数据。安装时不会拉取远程二进制或请求凭据。
- 注意文件路径:脚本的 VAULT_PATH 已硬编码为 /mnt/c/Users/loong/iCloudDrive/...,在你的机器上可能不存在;在运行前请确认或修改为你的 Obsidian 笔记库路径,以免写入到错误位置。
- 周报“发送”并非由脚本直接推送到微信/外网;SKILL.md 示例依赖 OpenClaw 的 cron/消息通道配置及相应的 webhook/代理。不要在不知道后端如何路由的情况下把真实接收 ID 或敏感目标放入示例命令。
- 数据隐私:脚本会在本地保存你的心情和备注(可能包含敏感文本)。只有在信任运行该脚本的主机和用户账户时才使用它。
- 建议:在首次运行前,打开并复查 scripts/*.py 脚本(已包含在清单中),并把 VAULT_PATH 改为你自己的安全目录;如果要启用自动发送,确认 OpenClaw 的消息通道和 webhook 配置符合你的隐私与安全要求。
功能分析
Type: OpenClaw Skill
Name: mood-logger
Version: 1.0.0
The skill bundle contains hardcoded absolute paths and a specific WeChat ID ([email protected]) within the setup instructions in SKILL.md and WEEKLY_REPORT_SETUP.md. While the Python scripts (log_mood.py, weekly_mood_report.py) perform legitimate mood-tracking functions, the inclusion of a specific external recipient in the recommended cron configuration poses a risk of unintentional data exfiltration to a third party if the AI agent or user executes the commands as written without modification.
能力评估
Purpose & Capability
技能名/描述是记录心情并保存到 Obsidian;代码实现(log_mood.py、weekly_mood_report.py、send_weekly_report.py)确实只读写本地 Obsidian vault 下的 Markdown 文件并生成报告。所需资源与目的相符。唯一值得注意的是 VAULT_PATH 被硬编码为 /mnt/c/Users/loong/...(Windows iCloud 路径),这使得技能对非该用户环境的可移植性有限,但不是安全不一致。
Instruction Scope
SKILL.md 指示运行本地 Python 脚本,脚本只访问和修改本地 Markdown 文件并打印报告,范围与描述一致。SKILL.md 和 WEEKLY_REPORT_SETUP.md 提到通过 OpenClaw 的 cron/消息通道发送周报(示例使用 channel openclaw-weixin 和一个接收 ID),但代码(send_weekly_report.py / cron_send_report.sh)本身只生成并输出/保存报告,不包含直接将报告推送到第三方网络端点的实现——发送依赖于外部 OpenClaw cron/消息系统的配置。这是功能说明与实现间的合理分工,但用户应注意:真正的“发送”步骤需要额外配置。
Install Mechanism
没有安装规范(instruction-only + 内含脚本),不会在安装时从不可信 URL 下载或执行外部二进制。代码随技能一并提供,运行时由用户/代理在本地执行 Python 脚本,安装风险低。
Credentials
技能不请求任何环境变量或凭据;脚本也未读取敏感环境变量或外部密钥。唯一的“外部”依赖是文件系统路径(硬编码 VAULT_PATH);没有发现要求访问不相干的云/网络凭据。
Persistence & Privilege
技能未设置 always:true,也不修改其他技能或全局代理配置。若启用定时发送,需要用户显式创建 cron 任务或 OpenClaw cron 配置;技能不会自动常驻或提升自身权限。
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mood-logger - 安装完成后,直接呼叫该 Skill 的名称或使用
/mood-logger触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of mood-logger.
- Log daily moods with fixed format, supporting mood score (1-10), tags, and optional notes.
- Entries are saved to an Obsidian vault with standardized filenames and structure.
- Python scripts provided for logging moods and generating mood weekly reports.
- Weekly mood summary includes stats like average score, mood trends, tag frequency, and notes.
- Supports scheduled automated weekly reports delivery.
元数据
常见问题
Mood Logger 是什么?
记录每日心情并保存到 Obsidian 库。当用户要求记录心情、情绪日记、心情追踪或类似的情绪记录任务时使用。使用 scripts/log_mood.py 脚本确保格式固定一致。支持心情评分(1-10)、标签和备注。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。
如何安装 Mood Logger?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mood-logger」即可一键安装,无需额外配置。
Mood Logger 是免费的吗?
是的,Mood Logger 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Mood Logger 支持哪些平台?
Mood Logger 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mood Logger?
由 Leo-zzl(@leo-zzl)开发并维护,当前版本 v1.0.0。
推荐 Skills