From logbook
Analyze time spent per project across all Claude Code sessions. Generates monthly and yearly markdown reports with per-project/branch breakdowns. Use when the user asks about "time spent", "hours per project", "session time", "time report", "logbook time", or wants to know how long they spent coding.
npx claudepluginhub florianbuetow/claude-code --plugin logbookThis skill uses the workspace's default tool permissions.
Generate time-per-project reports from Claude Code session logs. Groups branches under their parent project. Excludes idle gaps > 15 minutes.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Generate time-per-project reports from Claude Code session logs. Groups branches under their parent project. Excludes idle gaps > 15 minutes.
The script lives at the plugin path. Find it relative to this skill:
SCRIPT="$(dirname "$(dirname "$(dirname "$0")")")/scripts/logbook.py"
But in practice, run it from the project root:
python3 plugins/logbook/scripts/logbook.py time --out docs/reports
This generates:
YYYYMM-logbook-time.mdYYYY-logbook-time.mdTo limit to a specific period:
python3 plugins/logbook/scripts/logbook.py time --year 2026 --month 3 --out docs/reports
For preview only (no files written):
python3 plugins/logbook/scripts/logbook.py time --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.
Show the user which report files were created and their paths.
Each report contains:
GAP_THRESHOLD)-git-<branch>, --claude-worktrees-<branch>)EXCLUDED list in the script