Overview
- Skill Key
- billc8128/openclaw-scribe
- Author
- billc8128
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/billc8128/openclaw-scribe
- Latest Commit SHA
- 254e309209a444aa027e71c3ad2dc982cc0c5153
Autonomous session scribe — reads today's OpenClaw session logs, extracts decisions, preferences, framework sentences, and project updates, then writes a structured daily memory file. Use when setting up automated memory extraction for an AI agent, or when manually triggering a memory consolidation pass. Works as a cron job (isolated session) or on-demand.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 scribe 技能。 若已安装,则直接安装 scribe 技能。
# 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:**
```bash
cp -r skills/public/scribe ~/.openclaw/workspace/skills/public/scribe
```
**2. Register the nightly cron job (one command):**
```bash
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:**
```bash
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
```markdown
# 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):
| Variable | Default | Description |
|---|---|---|
| `SCRIBE_SESSION_DIR` | `~/.openclaw/agents/main/sessions` | Session JSONL location |
| `SCRIBE_WORKSPACE` | `~/.openclaw/workspace` | Where memory files are written |
| `SCRIBE_DAYS` | `1` | Days back to scan |
| `SCRIBE_MODEL` | `anthropic/claude-haiku-4-5` | LLM model (OpenRouter ID) |
| `SCRIBE_APPEND_LONGTERM` | `false` | Also 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`...
# scribe — OpenClaw Memory Skill
> An autonomous stenographer for your AI agent. Extracts decisions, preferences, and key insights from your daily sessions and writes them to persistent memory files.
## The Problem
AI agents forget everything between sessions. Context window compaction is lossy and passive. You end up re-explaining yourself constantly.
## The Solution
Scribe runs every night as an isolated cron job, scans your OpenClaw session logs, and extracts what actually matters — structured, searchable, durable.
```markdown
# 2026-03-04 Memory (Scribe)
## 🔑 Decisions Made
- Chose Plan B (cron + skill) for the stenographer architecture
## 🗣️ Framework Sentences
- "一步一步来" — prefers incremental execution
- "做不到就换个方法" — zero tolerance for blocking
## 📦 Project Updates
- scribe skill: scripts complete, publishing to ClawdHub
```
## Install
```bash
# 1. Install via ClawdHub (once published)
clawdhub install scribe
# 2. Register nightly cron
python3 skills/public/scribe/scripts/setup-cron.py
# 3. Run manually
python3 skills/public/scribe/scripts/scribe.py
```
## Requirements
- [OpenClaw](https://openclaw.ai) with an active gateway
- OpenRouter API key (reads from your existing OpenClaw config automatically)
## Files
```
scribe/
├── SKILL.md # Skill definition + onboarding
├── scripts/
│ ├── scribe.py # Core extraction script
│ └── setup-cron.py # One-command cron registration
└── references/
├── cron-setup.md # Cron config details
└── signal-guide.md # How signals are classified
```
## License
MIT
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
chang-tong
139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱" 或 "email" 时激活此 skill。
chanfouricc
SAP FICO Expert — OpenClaw Skill
chandler0714
微信小程序开发辅助。提供代码模板、API 示例、常见问题解答。
chapati23
Summarize any YouTube video by dropping the link in chat. Supports custom prompts — paste the URL followed by your instructions (e.g. 'focus on the technical details'). Triggers on YouTube URLs.