← 返回
内容创作 Key 中文

Scribe

Autonomous session scribe — reads today's OpenClaw session logs, extracts decisions, preferences, framework sentences, and project updates, then writes a str...
自动会议记录员——读取今日 OpenClaw 会话日志,提取决策、偏好、框架语句及项目更新,随后生成结构化总结。
billc8128
内容创作 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 1
Stars
📥 721
下载
💾 12
安装
1
版本
#latest

概述

Scribe

An autonomous "stenographer" agent that watches your OpenClaw session history and extracts what matters into persistent, structured memory files — so your agent remembers across sessions without relying on context window compaction.

Install & Setup

1. Copy the skill to your workspace:

cp -r skills/public/scribe ~/.openclaw/workspace/skills/public/scribe

2. Register the nightly cron job (one command):

python3 skills/public/scribe/scripts/setup-cron.py

That's it. Scribe will run every night at 23:30 and write memory/YYYY-MM-DD.md to your workspace.

3. Run manually anytime:

python3 skills/public/scribe/scripts/scribe.py

How It Works

  1. Scans today's session JSONL files from ~/.openclaw/agents/main/sessions/
  2. Filters out heartbeats, system messages, and noise
  3. Sends user messages to an LLM (via OpenRouter, reads your existing OpenClaw API key)
  4. Extracts: decisions, preferences, framework sentences, project updates, todos
  5. Writes structured output to {workspace}/memory/YYYY-MM-DD.md

Output Format

# YYYY-MM-DD Memory (Scribe)

## 🔑 Decisions Made
## 💡 Preferences & Rules
## 🗣️ Framework Sentences
## 📦 Project Updates
## ✅ Todos / Follow-ups

Configuration

Environment variables (all optional — defaults work out of the box):

VariableDefaultDescription
---------
SCRIBE_SESSION_DIR~/.openclaw/agents/main/sessionsSession JSONL location
SCRIBE_WORKSPACE~/.openclaw/workspaceWhere memory files are written
SCRIBE_DAYS1Days back to scan
SCRIBE_MODELanthropic/claude-haiku-4-5LLM model (OpenRouter ID)
SCRIBE_APPEND_LONGTERMfalseAlso append to MEMORY.md
OPENROUTER_API_KEY(from OpenClaw config)Override API key

References

  • Cron setup details: references/cron-setup.md — manual config, launchd, timezone changes
  • Signal classification: references/signal-guide.md — how the LLM decides what's worth extracting

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 06:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,213
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,899
ai-intelligence

Promptfolio Summarize

billc8128
分析Claude Code、Cursor、Codex、ChatGPT、Gemini CLI、Trae、OpenCode、Antigravity、Windsurf、OpenClaw等编程助手的AI对话历史...
★ 1 📥 679