← 返回
未分类 中文

Memory Daily

Automates daily memory file management. Use when creating, reading, or appending to daily memory notes (memory/YYYY-MM-DD.md). Helps the agent maintain conti...
自动化每日记忆文件管理。在创建、读取或追加每日记忆笔记(memory/YYYY-MM-DD.md)时使用,帮助代理保持连续性。
toller892 toller892 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 338
下载
💾 0
安装
1
版本
#daily#latest#memory#notes#openclaw

概述

memory-daily

Manages daily memory files in memory/YYYY-MM-DD.md.

Functions

ensureToday(memoryDir?)

Creates today's daily file if it doesn't exist. Returns the file path.

append(entry, memoryDir?)

Appends a timestamped entry to today's daily file. Creates the file first if needed.

read(date?, memoryDir?)

Reads a daily file. Defaults to today. Date format: YYYY-MM-DD.

recent(days?, memoryDir?)

Returns content from the last N days (default 2).

Usage

const mem = require('./skills/memory-daily');

// Ensure today's file exists
await mem.ensureToday();

// Append an entry
await mem.append('## Session Notes\n- Deployed new feature X');

// Read today
const today = await mem.read();

// Read last 3 days
const recent = await mem.recent(3);

Default memory directory

/memory/

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 16:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,167 📥 940,832
data-analysis

GitHub AI Trends

toller892
生成 GitHub AI 趋势项目的文本排行榜,按日、周、月抓取 AI/ML/LLM 高星仓库并渲染。用于查询 AI 项目趋势、GitHub 趋势、AI 排行榜或热门 AI 仓库。
★ 12 📥 7,815
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 868 📥 347,866