SleepWell
Productivity toolkit for managing tasks, plans, reviews, streaks, reminders, priorities, archives, tags, timelines, reports, and weekly reviews. Each command logs timestamped entries and lets you review past entries, search history, view statistics, and export data in multiple formats.
Commands
| Command |
Description |
sleepwell add <input> |
Add a new entry (or view recent add entries with no args) |
sleepwell plan <input> |
Log a plan entry (or view recent plans with no args) |
sleepwell track <input> |
Log a tracking entry (or view recent entries with no args) |
sleepwell review <input> |
Log a review entry (or view recent reviews with no args) |
sleepwell streak <input> |
Log a streak entry (or view recent streaks with no args) |
sleepwell remind <input> |
Log a reminder (or view recent reminders with no args) |
sleepwell prioritize <input> |
Log a priority entry (or view recent priorities with no args) |
sleepwell archive <input> |
Archive an entry (or view recent archives with no args) |
sleepwell tag <input> |
Tag an entry (or view recent tags with no args) |
sleepwell timeline <input> |
Log a timeline entry (or view recent timeline with no args) |
sleepwell report <input> |
Log a report entry (or view recent reports with no args) |
sleepwell weekly-review <input> |
Log a weekly review (or view recent weekly reviews with no args) |
sleepwell stats |
Show summary statistics across all log categories |
sleepwell export <fmt> |
Export all data to json, csv, or txt format |
sleepwell search <term> |
Search across all log files for a term |
sleepwell recent |
Show the 20 most recent history entries |
sleepwell status |
Health check: version, data dir, entry count, disk usage, last activity |
sleepwell help |
Show help with all available commands |
sleepwell version |
Show version number |
How It Works
Each productivity command (add, plan, track, review, etc.) works in two modes:
- With arguments: Saves the input with a timestamp to a dedicated
.log file and displays the total entry count
- Without arguments: Shows the 20 most recent entries from that category's log file
All actions are also recorded in a central history.log for unified tracking.
Typical Workflow
- Plan your day:
sleepwell plan "Focus on Q2 report, finish by 3pm"
- Track tasks:
sleepwell track "Started Q2 report — gathering data"
- Set reminders:
sleepwell remind "Send draft to team by 4pm"
- Prioritize:
sleepwell prioritize "Q2 report > email cleanup > meeting prep"
- Review progress:
sleepwell review "Completed 3/5 tasks, good day"
- Weekly roundup:
sleepwell weekly-review "Productive week, hit all deadlines"
Data Storage
All data is stored in ~/.local/share/sleepwell/. The directory contains:
add.log, plan.log, track.log, review.log, etc. — one log file per command category
history.log — central log of all actions with timestamps
export.json, export.csv, export.txt — generated export files
The tool automatically creates the data directory on first run.
Requirements
- Shell: Bash 4+
- No external dependencies — uses only standard Unix utilities (
date, wc, du, grep, tail, head)
- Works on: Linux, macOS, any POSIX-compatible system
When to Use
- Daily task management — Use
sleepwell add "fix login bug" and sleepwell track "started debugging" to log and track tasks throughout the day
- Sprint planning — Run
sleepwell plan "Sprint 14: auth refactor, API docs, deploy" to record sprint plans and reference them later
- Building accountability streaks — Log daily wins with
sleepwell streak "Day 15: shipped feature" and review your consistency over time
- Weekly retrospectives — Use
sleepwell weekly-review "Good velocity, need to reduce meeting time" for structured reflection
- Searching past decisions — Run
sleepwell search "deploy" to find all entries across every category mentioning deployments
Examples
# Add a new task
sleepwell add "Refactor authentication module"
# Plan tomorrow's work
sleepwell plan "Morning: code review. Afternoon: API integration"
# Track progress on current task
sleepwell track "Auth module 60% complete, tests passing"
# Set a reminder
sleepwell remind "Team standup at 10:00 AM"
# Prioritize tasks
sleepwell prioritize "1. Deploy hotfix 2. Review PR #42 3. Update docs"
# Tag an entry for easy retrieval
sleepwell tag "urgent: production database migration"
# Log a timeline milestone
sleepwell timeline "v2.0 beta released to internal testers"
# Generate a report
sleepwell report "March metrics: 23 features, 8 bugs fixed, 99.5% uptime"
# Archive completed items
sleepwell archive "Q1 OKR tracking — completed and filed"
# Weekly review
sleepwell weekly-review "Shipped 3 features, resolved 2 blockers"
# View statistics across all categories
sleepwell stats
# Export all data as CSV
sleepwell export csv
# Search for deployment-related entries
sleepwell search "deploy"
# View recent activity
sleepwell recent
# Health check
sleepwell status
Export Formats
The export command supports three formats:
- json — Array of objects with
type, time, and value fields
- csv — Comma-separated with
type,time,value header
- txt — Plain text grouped by category
Export files are saved to the data directory and the output shows the file path and size in bytes.
Output
All command output goes to stdout in plain text. Use shell redirection for saving:
sleepwell stats > weekly-report.txt
sleepwell export json
sleepwell recent | head -5
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2name: sleepwell
3description: "Track sleep habits and analyze rest patterns over time. Use when logging bedtimes, planning schedules, tracking streaks, reviewing weekly patterns."
4version: "2.0.0"
5author: "BytesAgain"
6homepage: https://bytesagain.com
7source: https://github.com/bytesagain/ai-skills
8tags: ["sleep","health","wellness","tracker","rest","habits","quality","bedtime"]
9categories: ["Health & Wellness", "Personal Management", "Productivity"]
10metadata:
11 source: https://skillmd.com/skills/bytesagain/sleepwell
12---
13
14# SleepWell
15
16Productivity toolkit for managing tasks, plans, reviews, streaks, reminders, priorities, archives, tags, timelines, reports, and weekly reviews. Each command logs timestamped entries and lets you review past entries, search history, view statistics, and export data in multiple formats.
17
18## Commands
19
20| Command | Description |
21|---------|-------------|
22| `sleepwell add <input>` | Add a new entry (or view recent add entries with no args) |
23| `sleepwell plan <input>` | Log a plan entry (or view recent plans with no args) |
24| `sleepwell track <input>` | Log a tracking entry (or view recent entries with no args) |
25| `sleepwell review <input>` | Log a review entry (or view recent reviews with no args) |
26| `sleepwell streak <input>` | Log a streak entry (or view recent streaks with no args) |
27| `sleepwell remind <input>` | Log a reminder (or view recent reminders with no args) |
28| `sleepwell prioritize <input>` | Log a priority entry (or view recent priorities with no args) |
29| `sleepwell archive <input>` | Archive an entry (or view recent archives with no args) |
30| `sleepwell tag <input>` | Tag an entry (or view recent tags with no args) |
31| `sleepwell timeline <input>` | Log a timeline entry (or view recent timeline with no args) |
32| `sleepwell report <input>` | Log a report entry (or view recent reports with no args) |
33| `sleepwell weekly-review <input>` | Log a weekly review (or view recent weekly reviews with no args) |
34| `sleepwell stats` | Show summary statistics across all log categories |
35| `sleepwell export <fmt>` | Export all data to json, csv, or txt format |
36| `sleepwell search <term>` | Search across all log files for a term |
37| `sleepwell recent` | Show the 20 most recent history entries |
38| `sleepwell status` | Health check: version, data dir, entry count, disk usage, last activity |
39| `sleepwell help` | Show help with all available commands |
40| `sleepwell version` | Show version number |
41
42## How It Works
43
44Each productivity command (add, plan, track, review, etc.) works in two modes:
45
46- **With arguments**: Saves the input with a timestamp to a dedicated `.log` file and displays the total entry count
47- **Without arguments**: Shows the 20 most recent entries from that category's log file
48
49All actions are also recorded in a central `history.log` for unified tracking.
50
51### Typical Workflow
52
531. **Plan your day**: `sleepwell plan "Focus on Q2 report, finish by 3pm"`
542. **Track tasks**: `sleepwell track "Started Q2 report — gathering data"`
553. **Set reminders**: `sleepwell remind "Send draft to team by 4pm"`
564. **Prioritize**: `sleepwell prioritize "Q2 report > email cleanup > meeting prep"`
575. **Review progress**: `sleepwell review "Completed 3/5 tasks, good day"`
586. **Weekly roundup**: `sleepwell weekly-review "Productive week, hit all deadlines"`
59
60## Data Storage
61
62All data is stored in `~/.local/share/sleepwell/`. The directory contains:
63
64- `add.log`, `plan.log`, `track.log`, `review.log`, etc. — one log file per command category
65- `history.log` — central log of all actions with timestamps
66- `export.json`, `export.csv`, `export.txt` — generated export files
67
68The tool automatically creates the data directory on first run.
69
70## Requirements
71
72- **Shell**: Bash 4+
73- **No external dependencies** — uses only standard Unix utilities (`date`, `wc`, `du`, `grep`, `tail`, `head`)
74- **Works on**: Linux, macOS, any POSIX-compatible system
75
76## When to Use
77
781. **Daily task management** — Use `sleepwell add "fix login bug"` and `sleepwell track "started debugging"` to log and track tasks throughout the day
792. **Sprint planning** — Run `sleepwell plan "Sprint 14: auth refactor, API docs, deploy"` to record sprint plans and reference them later
803. **Building accountability streaks** — Log daily wins with `sleepwell streak "Day 15: shipped feature"` and review your consistency over time
814. **Weekly retrospectives** — Use `sleepwell weekly-review "Good velocity, need to reduce meeting time"` for structured reflection
825. **Searching past decisions** — Run `sleepwell search "deploy"` to find all entries across every category mentioning deployments
83
84## Examples
85
86```bash
87# Add a new task
88sleepwell add "Refactor authentication module"
89
90# Plan tomorrow's work
91sleepwell plan "Morning: code review. Afternoon: API integration"
92
93# Track progress on current task
94sleepwell track "Auth module 60% complete, tests passing"
95
96# Set a reminder
97sleepwell remind "Team standup at 10:00 AM"
98
99# Prioritize tasks
100sleepwell prioritize "1. Deploy hotfix 2. Review PR #42 3. Update docs"
101
102# Tag an entry for easy retrieval
103sleepwell tag "urgent: production database migration"
104
105# Log a timeline milestone
106sleepwell timeline "v2.0 beta released to internal testers"
107
108# Generate a report
109sleepwell report "March metrics: 23 features, 8 bugs fixed, 99.5% uptime"
110
111# Archive completed items
112sleepwell archive "Q1 OKR tracking — completed and filed"
113
114# Weekly review
115sleepwell weekly-review "Shipped 3 features, resolved 2 blockers"
116
117# View statistics across all categories
118sleepwell stats
119
120# Export all data as CSV
121sleepwell export csv
122
123# Search for deployment-related entries
124sleepwell search "deploy"
125
126# View recent activity
127sleepwell recent
128
129# Health check
130sleepwell status
131```
132
133## Export Formats
134
135The `export` command supports three formats:
136
137- **json** — Array of objects with `type`, `time`, and `value` fields
138- **csv** — Comma-separated with `type,time,value` header
139- **txt** — Plain text grouped by category
140
141Export files are saved to the data directory and the output shows the file path and size in bytes.
142
143## Output
144
145All command output goes to stdout in plain text. Use shell redirection for saving:
146
147```bash
148sleepwell stats > weekly-report.txt
149sleepwell export json
150sleepwell recent | head -5
151```
152
153---
154Powered by BytesAgain | bytesagain.com | hello@bytesagain.com