Bookshelf
A personal productivity toolkit for managing books, reading plans, progress tracking, reviews, and reading habits — all from the command line with timestamped local logging, tagging, archiving, and weekly review workflows.
Commands
| Command |
Description |
bookshelf add <input> |
Add a book or item to your shelf. Without args, shows recent add entries |
bookshelf plan <input> |
Record a reading plan or goal. Without args, shows recent plans |
bookshelf track <input> |
Track reading progress. Without args, shows recent tracking entries |
bookshelf review <input> |
Log a book review or assessment. Without args, shows recent reviews |
bookshelf streak <input> |
Record a reading streak or consistency milestone. Without args, shows recent streaks |
bookshelf remind <input> |
Set a reading reminder note. Without args, shows recent reminders |
bookshelf prioritize <input> |
Record a prioritization decision. Without args, shows recent priorities |
bookshelf archive <input> |
Archive a finished or dropped book. Without args, shows recent archives |
bookshelf tag <input> |
Tag or categorize a book. Without args, shows recent tag entries |
bookshelf timeline <input> |
Record a reading timeline entry or milestone. Without args, shows recent timeline entries |
bookshelf report <input> |
Generate and log a reading report. Without args, shows recent reports |
bookshelf weekly-review <input> |
Record a weekly reading review summary. Without args, shows recent weekly reviews |
bookshelf stats |
Show summary statistics across all entry types |
bookshelf search <term> |
Search across all log entries for a keyword |
bookshelf recent |
Show the 20 most recent activity entries |
bookshelf status |
Health check — version, data dir, entry count, disk usage, last activity |
bookshelf export <fmt> |
Export all data in json, csv, or txt format |
bookshelf help |
Show all available commands |
bookshelf version |
Print version (v2.0.0) |
Each command (add, plan, track, etc.) works the same way:
- With arguments: saves the entry with a timestamp to its dedicated
.log file and records it in activity history
- Without arguments: displays the 20 most recent entries from that command's log
Data Storage
All data is stored locally in plain-text log files:
~/.local/share/bookshelf/
├── add.log # Added books and items
├── plan.log # Reading plans and goals
├── track.log # Progress tracking entries
├── review.log # Book reviews and assessments
├── streak.log # Reading streak records
├── remind.log # Reminder notes
├── prioritize.log # Prioritization decisions
├── archive.log # Archived / finished books
├── tag.log # Tag and genre categorization
├── timeline.log # Reading timeline milestones
├── report.log # Reading reports and summaries
├── weekly-review.log # Weekly reading review summaries
└── history.log # Unified activity log with timestamps
Each entry is stored as YYYY-MM-DD HH:MM|<value> for easy parsing and export.
Requirements
- Bash 4.0+ (uses
set -euo pipefail)
- Standard UNIX utilities:
date, wc, du, grep, head, tail, cat
- No external dependencies or API keys required
- Runs without internet — all data stays on your machine
When to Use
- Reading list management — Use
add to build your to-read list, prioritize what to pick up next, and archive books once finished or dropped
- Reading habit tracking — Track daily pages or chapters with
track, maintain reading streaks with streak, and review progress in weekly-review
- Book review journaling — After finishing a book, use
review to log your thoughts, ratings, and key takeaways for future reference
- Annual reading goals — Set yearly targets with
plan, track progress with stats, and generate periodic reports with report to stay on pace
- Genre and tag organization — Use
tag to categorize books by genre, topic, or mood, then search to find the right book for any occasion
Examples
Add books and start reading
# Add books to your shelf
bookshelf add "Atomic Habits by James Clear — recommended by Kelly"
bookshelf add "Deep Work by Cal Newport — productivity classic"
bookshelf add "Project Hail Mary by Andy Weir — sci-fi for fun"
# Tag them by genre
bookshelf tag "Atomic Habits: #self-help #habits #productivity"
bookshelf tag "Deep Work: #productivity #focus #career"
bookshelf tag "Project Hail Mary: #sci-fi #fiction #adventure"
# Prioritize what to read next
bookshelf prioritize "Atomic Habits — start this week, short chapters"
Track reading progress
# Track daily reading
bookshelf track "Atomic Habits — finished chapters 1-3, 45 pages"
bookshelf track "Atomic Habits — chapters 4-6, identity-based habits section"
# Record streaks
bookshelf streak "day 7 of reading at least 20 pages daily"
bookshelf streak "day 30 — one month streak! 🎉"
# Set a reminder
bookshelf remind "return library copy of Deep Work by April 20"
# Record a timeline milestone
bookshelf timeline "2024-04-01: started Atomic Habits reading challenge"
Review, report, and archive
# Write a book review
bookshelf review "Atomic Habits — 5/5. Best takeaway: habit stacking. Changed my morning routine."
# Weekly reading review
bookshelf weekly-review "Week 15: finished Atomic Habits (5/5), started Deep Work. Read 180 pages total."
# Generate a monthly report
bookshelf report "April: 2 books finished, 1 in progress. 620 pages read. On track for 24-book goal."
# Set reading plans
bookshelf plan "Q2 goal: finish 6 books — 2 non-fiction, 2 sci-fi, 2 technical"
# Archive finished books
bookshelf archive "Atomic Habits — completed 2024-04-10, review saved"
# Check overall stats
bookshelf stats
bookshelf recent
Search and export
# Search for a book or topic
bookshelf search "productivity"
# Export entire library as JSON
bookshelf export json
# Export as CSV for spreadsheet tracking
bookshelf export csv
# Health check
bookshelf status
Output
All commands print confirmation to stdout. Data is persisted in ~/.local/share/bookshelf/. Use bookshelf stats for an overview, bookshelf search <term> to find specific entries, or bookshelf export <fmt> to extract all data as JSON, CSV, or plain text.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2name: bookshelf
3description: "Track reading progress, rate finished books, and manage your library. Use when logging books, reviewing reading stats, or planning reading goals."
4version: "2.0.0"
5author: "BytesAgain"
6homepage: https://bytesagain.com
7source: https://github.com/bytesagain/ai-skills
8tags: ["books","reading","library","list","tracker","literature","personal","knowledge"]
9categories: ["Personal Management", "Productivity", "Education"]
10metadata:
11 source: https://skillmd.com/skills/bytesagain/bookshelf
12---
13
14# Bookshelf
15
16A personal productivity toolkit for managing books, reading plans, progress tracking, reviews, and reading habits — all from the command line with timestamped local logging, tagging, archiving, and weekly review workflows.
17
18## Commands
19
20| Command | Description |
21|---------|-------------|
22| `bookshelf add <input>` | Add a book or item to your shelf. Without args, shows recent add entries |
23| `bookshelf plan <input>` | Record a reading plan or goal. Without args, shows recent plans |
24| `bookshelf track <input>` | Track reading progress. Without args, shows recent tracking entries |
25| `bookshelf review <input>` | Log a book review or assessment. Without args, shows recent reviews |
26| `bookshelf streak <input>` | Record a reading streak or consistency milestone. Without args, shows recent streaks |
27| `bookshelf remind <input>` | Set a reading reminder note. Without args, shows recent reminders |
28| `bookshelf prioritize <input>` | Record a prioritization decision. Without args, shows recent priorities |
29| `bookshelf archive <input>` | Archive a finished or dropped book. Without args, shows recent archives |
30| `bookshelf tag <input>` | Tag or categorize a book. Without args, shows recent tag entries |
31| `bookshelf timeline <input>` | Record a reading timeline entry or milestone. Without args, shows recent timeline entries |
32| `bookshelf report <input>` | Generate and log a reading report. Without args, shows recent reports |
33| `bookshelf weekly-review <input>` | Record a weekly reading review summary. Without args, shows recent weekly reviews |
34| `bookshelf stats` | Show summary statistics across all entry types |
35| `bookshelf search <term>` | Search across all log entries for a keyword |
36| `bookshelf recent` | Show the 20 most recent activity entries |
37| `bookshelf status` | Health check — version, data dir, entry count, disk usage, last activity |
38| `bookshelf export <fmt>` | Export all data in json, csv, or txt format |
39| `bookshelf help` | Show all available commands |
40| `bookshelf version` | Print version (v2.0.0) |
41
42Each command (add, plan, track, etc.) works the same way:
43- **With arguments**: saves the entry with a timestamp to its dedicated `.log` file and records it in activity history
44- **Without arguments**: displays the 20 most recent entries from that command's log
45
46## Data Storage
47
48All data is stored locally in plain-text log files:
49
50```
51~/.local/share/bookshelf/
52├── add.log # Added books and items
53├── plan.log # Reading plans and goals
54├── track.log # Progress tracking entries
55├── review.log # Book reviews and assessments
56├── streak.log # Reading streak records
57├── remind.log # Reminder notes
58├── prioritize.log # Prioritization decisions
59├── archive.log # Archived / finished books
60├── tag.log # Tag and genre categorization
61├── timeline.log # Reading timeline milestones
62├── report.log # Reading reports and summaries
63├── weekly-review.log # Weekly reading review summaries
64└── history.log # Unified activity log with timestamps
65```
66
67Each entry is stored as `YYYY-MM-DD HH:MM|<value>` for easy parsing and export.
68
69## Requirements
70
71- **Bash** 4.0+ (uses `set -euo pipefail`)
72- Standard UNIX utilities: `date`, `wc`, `du`, `grep`, `head`, `tail`, `cat`
73- No external dependencies or API keys required
74- Runs without internet — all data stays on your machine
75
76## When to Use
77
781. **Reading list management** — Use `add` to build your to-read list, `prioritize` what to pick up next, and `archive` books once finished or dropped
792. **Reading habit tracking** — Track daily pages or chapters with `track`, maintain reading streaks with `streak`, and review progress in `weekly-review`
803. **Book review journaling** — After finishing a book, use `review` to log your thoughts, ratings, and key takeaways for future reference
814. **Annual reading goals** — Set yearly targets with `plan`, track progress with `stats`, and generate periodic reports with `report` to stay on pace
825. **Genre and tag organization** — Use `tag` to categorize books by genre, topic, or mood, then `search` to find the right book for any occasion
83
84## Examples
85
86### Add books and start reading
87
88```bash
89# Add books to your shelf
90bookshelf add "Atomic Habits by James Clear — recommended by Kelly"
91bookshelf add "Deep Work by Cal Newport — productivity classic"
92bookshelf add "Project Hail Mary by Andy Weir — sci-fi for fun"
93
94# Tag them by genre
95bookshelf tag "Atomic Habits: #self-help #habits #productivity"
96bookshelf tag "Deep Work: #productivity #focus #career"
97bookshelf tag "Project Hail Mary: #sci-fi #fiction #adventure"
98
99# Prioritize what to read next
100bookshelf prioritize "Atomic Habits — start this week, short chapters"
101```
102
103### Track reading progress
104
105```bash
106# Track daily reading
107bookshelf track "Atomic Habits — finished chapters 1-3, 45 pages"
108bookshelf track "Atomic Habits — chapters 4-6, identity-based habits section"
109
110# Record streaks
111bookshelf streak "day 7 of reading at least 20 pages daily"
112bookshelf streak "day 30 — one month streak! 🎉"
113
114# Set a reminder
115bookshelf remind "return library copy of Deep Work by April 20"
116
117# Record a timeline milestone
118bookshelf timeline "2024-04-01: started Atomic Habits reading challenge"
119```
120
121### Review, report, and archive
122
123```bash
124# Write a book review
125bookshelf review "Atomic Habits — 5/5. Best takeaway: habit stacking. Changed my morning routine."
126
127# Weekly reading review
128bookshelf weekly-review "Week 15: finished Atomic Habits (5/5), started Deep Work. Read 180 pages total."
129
130# Generate a monthly report
131bookshelf report "April: 2 books finished, 1 in progress. 620 pages read. On track for 24-book goal."
132
133# Set reading plans
134bookshelf plan "Q2 goal: finish 6 books — 2 non-fiction, 2 sci-fi, 2 technical"
135
136# Archive finished books
137bookshelf archive "Atomic Habits — completed 2024-04-10, review saved"
138
139# Check overall stats
140bookshelf stats
141bookshelf recent
142```
143
144### Search and export
145
146```bash
147# Search for a book or topic
148bookshelf search "productivity"
149
150# Export entire library as JSON
151bookshelf export json
152
153# Export as CSV for spreadsheet tracking
154bookshelf export csv
155
156# Health check
157bookshelf status
158```
159
160## Output
161
162All commands print confirmation to stdout. Data is persisted in `~/.local/share/bookshelf/`. Use `bookshelf stats` for an overview, `bookshelf search <term>` to find specific entries, or `bookshelf export <fmt>` to extract all data as JSON, CSV, or plain text.
163
164---
165
166*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*