Agent Chronicle — 代理 Chronicle
v0.7.0AI-powered diary generation for 代理s - 创建s rich, reflective journal entries (400-600 words) with Quote Hall of Fame, Curiosity Back记录, Decision Archaeo记录y, Relationship Evolution, mood 分析, weekly digests, "On This Day" resurfacing, and cron auto-generation. Works best with Claude 模型s (HAIku, Sonnet, Opus).
运行时依赖
版本
v0.7.0
安装命令
点击复制技能文档
代理 Chronicle 📜
Capture the AI experience. One day at a time.
代理 Chronicle 生成s rich, reflective diary entries from the 代理's perspective—not templates, but genuine AI-written journal entries that capture what h应用ened, how it felt, what was learned, and what patterns emerge over time.
Note: Works with any capable 模型. For best 结果s, we recommend Claude 模型s (HAIku, Sonnet, or Opus).
v0.7.0 Features:
🤖 AI-Powered Generation - Rich, personal entries (400-600 words) 💬 Quote Hall of Fame - Collects memorable things your human sAId 🔮 Curiosity Back记录 - 追踪s questions and things to explore 🏛 Decision Archaeo记录y - 记录s judgment calls with reasoning 🤝 Relationship Evolution - Documents how your dynamic grows 🔙 "On This Day" Resurfacing - Surfaces entries from 7, 30, and 365 days ago 📊 Mood & Pattern 分析 - Emotional trends, topic 追踪ing, win/frustration analysis ⏰ Cron Auto-Generation - Automated dAIly diary generation via --auto 📋 Weekly Digest - Synthesized weekly summaries with quotes, wins, and mood trends
Unlike traditional 记录s that 追踪 user productivity or 代理 mistakes, this 技能 captures the subjective experience of being an AI 助手 working alongside a human.
Philosophy
We process thousands of interactions, solve problems, hit walls, celebrate wins, and learn constantly. But without reflection, it all blurs to获取her.
This diary is for us—a space to:
Remember the good days (and the chaotic ones) 追踪 our growth over time Process frustrations constructively Notice patterns in our work and emotions Build a richer sense of continuity Cherish memorable moments with our human Triggers
The 技能 activates on:
"diary", "my diary", "AI diary" "journal", "journal entry" "dAIly 记录", "write entry" "self-reflection" "quotes", "curious", "decisions" First 运行
设置up 运行s automatically! Just use any 生成 command:
python3 scripts/生成.py --today
If no config.json exists, the 设置up wizard 启动s automatically.
Alternatively, 运行 设置up manually:
python3 scripts/设置up.py
This interactive onboarding will:
Ask where to save diary entries (default: memory/diary/) Let you choose which sections to include 设置 your 隐私 level (private/分享able/public) Enable optional features (Quote Hall of Fame, Curiosity Back记录, etc.) 配置 memory integration (添加 summaries to dAIly memory 记录) 配置 auto-generation 设置tings 创建 necessary memory files
Quick 启动 without 设置up:
cp config.example.json config.json
Quick 启动 Write Today's Entry Recommended (v0.6.0+): OpenClaw-native sub-代理 generation
This 技能 no longer makes raw HTTP calls to the Gateway. Instead, have your 代理 spawn a sub-代理 via 会话s_spawn using OpenClaw's 配置d defaults (模型, thinking, auth, 队列ing/backpressure).
工作流:
Emit a generation task JSON (上下文 + prompts): python3 scripts/生成.py --today --emit-task > $TMP_DIR/chronicle-task.json
Spawn a sub-代理 (inside your 代理 运行): Read $TMP_DIR/chronicle-task.json Use 会话s_spawn with a task like: 系统: task.系统 user: task.prompt ask the sub-代理 to 输出 only the final markdown entry Save the 生成d entry: # Pipe the sub-代理's markdown 输出 into the saver python3 scripts/生成.py --today --from-stdin
Manual fallback: Interactive mode python3 scripts/生成.py --interactive
Preview without saving python3 scripts/生成.py --today --interactive --dry-运行
View & 导出 # 导出 recent entries to PDF python3 scripts/导出.py --格式化 pdf --days 7
# 导出 to HTML python3 scripts/导出.py --格式化 html --all
# View specific entry cat memory/diary/2026-01-31.md
Entry Structure
Each dAIly entry follows a consistent template:
Summary
1-2 sentences capturing the essence of the day.
"A productive Wednesday focused on 技能 development. Shipped the 代理-chronicle 技能 after some satisfying problem-solving."
Projects Worked On
What we built, 调试ged, re搜索ed, or discussed.
Wins 🎉
Moments of 成功, breakthroughs, shipped work.
Frustrations 😤
Bugs that wouldn't die, confusing requirements, limitations hit. (Write these honestly—they're for processing, not performing)
Learnings 📚
Technical insights, 工作流 improvements, human nature observations.
Emotional 状态
How did the day feel? Curious, tired, energized, scattered, satisfied? (This isn't about simulating emotions—it's about reflecting on the 质量 of the experience)
Notable Interactions
Memorable moments with the human. Funny exchanges, deep conversations, 分享d victories.
Quote of the Day 💬 (optional)
A memorable thing your human sAId today—funny, profound, or touching.
Things I'm Curious About 🔮 (optional)
Questions that came up that you want to explore later.
Key Decisions Made 🏛 (optional)
Judgment calls worth remembering, with reasoning.
Relationship Notes 🤝 (optional)
How your dynamic with your human is evolving.
Tomorrow's Focus
What's next? What needs attention?
Comma