LogBook
Write journal entries, search history, and export your personal log digitally. Use when journaling thoughts, searching past entries, exporting notes.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/logbookLogBook
LogBook is a data processing and analysis toolkit for querying, importing, exporting, transforming, validating, and visualizing datasets from the terminal. It provides 10 core commands for working with structured data, plus built-in history logging and a quick dashboard view. All operations are local — no external APIs, databases, or network connections required.
Commands
| Command | Description |
|---|---|
logbook query <args> | Query data from the local data store. Logs the query action to history for auditing. |
logbook import <file> | Import a data file into the local store. Accepts any file path as input. |
logbook export <dest> | Export processed results to a specified destination (defaults to stdout). |
logbook transform <src> <dst> | Transform data from one format or structure to another. |
logbook validate <args> | Validate data against the built-in schema. Reports schema compliance status. |
logbook stats <args> | Display basic statistics — total record count from the data log. |
logbook schema <args> | Show the current data schema. Default fields: id, name, value, timestamp. |
logbook sample <args> | Preview the first 5 records from the data store, or "No data" if the store is empty. |
logbook clean <args> | Clean and deduplicate the data store, removing redundant entries. |
logbook dashboard <args> | Quick dashboard showing total record count and summary metrics. |
logbook help | Show help with all available commands and usage information. |
logbook version | Print version string (logbook v2.0.0). |
Data Storage
All data is stored locally in ~/.local/share/logbook/ (override with LOGBOOK_DIR or XDG_DATA_HOME environment variables).
Directory structure:
~/.local/share/logbook/
├── data.log # Main data store (line-based records)
└── history.log # Unified activity log with timestamps
Every command logs its action to history.log with a timestamp (MM-DD HH:MM) for full traceability. The main data file data.log holds all imported and processed records.
Requirements
- Bash (with
set -euo pipefail) - Standard Unix utilities:
date,wc,head,du,echo - No external dependencies, databases, or API keys required
- Optional: Set
LOGBOOK_DIRenvironment variable to customize the data directory location
When to Use
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-logbook": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
auto-context
智能上下文卫生检查器。分析当前会话的上下文污染程度 (长对话、主题漂移、噪声累积),建议:continue、/fork、/btw 或新会话。 支持手动触发(/auto-context)和自动触发(响应层实现)。 基于 ArXiv 论文和认知心理学研究的多维度评估体系。
obsidian-cli
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
Meeting Brief Copilot
Turn people, companies, agendas, notes, and email threads into consulting-style meeting briefs, sharp questions, follow-up emails, and action items.