logbook:messages
Analyze messages exchanged per project across all Claude Code sessions. Generates monthly and yearly markdown reports with per-project/branch breakdowns. Use…
от florianbuetow★ 22 звезды на GitHub
Установить logbook:messages в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Logbook — Messages Report
Generate message-count reports from Claude Code session logs. Groups branches under their parent project. Separates human-typed messages from automated user turns (tool results, hooks).
Workflow
Step 1: Run the analysis script
python3 plugins/logbook/scripts/logbook.py messages --out docs/reports
This generates:
- One file per calendar month:
YYYYMM-logbook-messages.md - One file per year:
YYYY-logbook-messages.md
To limit to a specific period:
python3 plugins/logbook/scripts/logbook.py messages --year 2026 --month 3 --out docs/reports
For preview only (no files written):
python3 plugins/logbook/scripts/logbook.py messages --preview
Step 2: Show the preview
After running the script, display the top 10 table from stdout directly to the user. This is the inline preview — do NOT hide it behind a file path.
Step 3: List generated files
Show the user which report files were created and their paths.
Report Structure
Each report contains:
- Summary — your messages, agent messages, session count
- Top 10 table — project + you + agent + sessions
- Detailed breakdown — every project with branch-level rows
Message Types
- You (human-typed) — messages where you typed text directly
- User turns — all user-role messages including tool results, hooks, automated inputs
- Agent — all assistant-role messages
The reports show "You" (human-typed) and "Agent" counts for clarity.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл logbook:messages?
Analyze messages exchanged per project across all Claude Code sessions. Generates monthly and yearly markdown reports with per-project/branch breakdowns. Use when the user asks about "message count", "messages per project", "how many messages", "message report", "logbook messages", or wants usage statistics.
Как установить скилл logbook:messages?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл logbook:messages запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…