AgentSkillsCN

daily-memory

自动化的每日活动日志系统。为每项已完成的任务附上时间戳,并自动记录至每日文本文件中。本技能适用于所有已完成的工作——无论是任务执行、命令运行、文件操作,还是用户请求的圆满结束,均无需用户显式操作,即可自动记录。

SKILL.md
--- frontmatter
name: daily-memory
description: Automatic daily activity logging system. Records every completed task with timestamp to daily text files. Use this skill for ALL completed work - every task, command execution, file operation, or user request completion should be logged automatically without explicit user request.

Daily Memory

Overview

Every completed task must be logged to today's memory file. This maintains a continuous activity log for context preservation across sessions.

When to Record

Record after EVERY completion:

  • User request fulfilled
  • Task completed
  • Command executed successfully
  • File created/modified
  • Investigation finished
  • Code written/changed

Judgment guidelines:

  • If work was done → record it
  • If something changed → record it
  • If user asked and you answered → record it
  • If you're unsure → record it (better to over-log than under-log)

Recording Format

Use scripts/remember.js to append to today's file:

bash
node ~/.claude/skills/daily-memory/scripts/remember.js "작업 요약"

Output format: [HH:MM:SS] 작업 요약

Example:

code
[14:32:15] daily-memory 스킬 생성 완료
[14:35:22] 사용자 요청으로 PDF 스킬 삭제
[14:40:01] GitHub anthropics/skills 저장소 클론

File Organization

Location: ~/.claude/skills/daily-memory/data/

Naming: YYYY-MM-DD.txt (e.g., 2026-02-05.txt)

Behavior:

  • New file created automatically each day
  • Files persist indefinitely (no cleanup)
  • Simple text format for easy reading/searching

Reading Memory

Read today's file:

bash
cat ~/.claude/skills/daily-memory/data/$(date +%Y-%m-%d).txt

Read specific date:

bash
cat ~/.claude/skills/daily-memory/data/2026-02-04.txt

Search all history:

bash
grep "키워드" ~/.claude/skills/daily-memory/data/*.txt

Integration

This skill should be always active - no explicit invocation needed. After completing any work, automatically call remember.js with a concise summary of what was done.

Mandatory recording checklist:

  • Task finished
  • Code written
  • Files changed
  • Commands executed
  • User helped