Deepfocus
Deepfocus v2.0.0 — a productivity toolkit for managing tasks, plans, reviews, streaks, reminders, and more from the command line.
Commands
Run via: bash scripts/script.sh <command> [args]
| Command |
Description |
add <input> |
Add a new entry (task, note, idea). Without args, shows recent entries. |
plan <input> |
Create or view plan entries for organizing your day/week. |
track <input> |
Track progress on goals, habits, or tasks. |
review <input> |
Log review notes — reflect on what went well or needs improvement. |
streak <input> |
Record streak data for habit tracking and consistency. |
remind <input> |
Set reminders and notes for future reference. |
prioritize <input> |
Mark and log priority levels for tasks. |
archive <input> |
Archive completed or outdated entries. |
tag <input> |
Tag entries with labels for easy categorization. |
timeline <input> |
Add timeline entries for chronological tracking. |
report <input> |
Generate or log report entries for summaries. |
weekly-review <input> |
Log weekly review notes for end-of-week reflection. |
stats |
Show summary statistics across all entry types. |
export <fmt> |
Export all data in json, csv, or txt format. |
search <term> |
Search across all log files for a keyword. |
recent |
Show the 20 most recent activity entries from the history log. |
status |
Health check — version, data directory, entry count, disk usage. |
help |
Show the built-in help message with all available commands. |
version |
Print the current version (deepfocus v2.0.0). |
Each data command (add, plan, track, etc.) works in two modes:
- With arguments: saves the input with a timestamp to its dedicated log file.
- Without arguments: displays the 20 most recent entries from that log.
Data Storage
All data is stored locally in ~/.local/share/deepfocus/:
- Each command has its own log file (e.g.,
add.log, plan.log, track.log)
- Entries are saved in
timestamp|value format
- A unified
history.log records all activity across commands
- Export files are written to the same directory
Requirements
- Bash (standard system shell)
- No external dependencies — uses only coreutils (
date, wc, du, grep, tail, cat)
When to Use
- When you need to quickly add tasks, plans, or notes from the terminal
- To track daily habits and maintain productivity streaks
- For end-of-day or weekly reviews and reflections
- To set reminders and prioritize tasks without leaving the command line
- To search through past entries by keyword
- To export your productivity data for analysis or backup
- When you want a lightweight, file-based focus and task management system
Examples
# Add a task
deepfocus add "Write unit tests for the auth module"
# Create a plan for the day
deepfocus plan "Morning: deep work on API refactor. Afternoon: PR reviews."
# Track a habit
deepfocus track "Completed 45-minute focus session on documentation"
# Log a review
deepfocus review "Good progress on backend. Need to speed up frontend work."
# Record a streak
deepfocus streak "Day 15 of daily coding — still going strong"
# Set a reminder
deepfocus remind "Submit expense report by end of week"
# Prioritize a task
deepfocus prioritize "P0: Fix production memory leak"
# Archive an old entry
deepfocus archive "Q3 planning notes — no longer relevant"
# Tag an entry
deepfocus tag "meeting-notes: Sprint retrospective takeaways"
# Add to timeline
deepfocus timeline "Shipped v2.0 release to production"
# Generate a report
deepfocus report "Weekly output: 12 tasks completed, 3 carried over"
# Log a weekly review
deepfocus weekly-review "Best week this month — cleared the entire backlog"
# View all statistics
deepfocus stats
# Export everything as JSON
deepfocus export json
# Search for entries mentioning "focus"
deepfocus search focus
# Check recent activity
deepfocus recent
# Health check
deepfocus status
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---2name: deepfocus3description: Run Pomodoro sessions with break timers and productivity tracking. Use when starting focus sessions, tracking streaks, reviewing productivity.4---5
6# Deepfocus
7
8Deepfocus v2.0.0 — a productivity toolkit for managing tasks, plans, reviews, streaks, reminders, and more from the command line.
9
10## Commands
11
12Run via: `bash scripts/script.sh <command> [args]`
13
14| Command | Description |
15|---------|-------------|
16| `add <input>` | Add a new entry (task, note, idea). Without args, shows recent entries. |
17| `plan <input>` | Create or view plan entries for organizing your day/week. |
18| `track <input>` | Track progress on goals, habits, or tasks. |
19| `review <input>` | Log review notes — reflect on what went well or needs improvement. |
20| `streak <input>` | Record streak data for habit tracking and consistency. |
21| `remind <input>` | Set reminders and notes for future reference. |
22| `prioritize <input>` | Mark and log priority levels for tasks. |
23| `archive <input>` | Archive completed or outdated entries. |
24| `tag <input>` | Tag entries with labels for easy categorization. |
25| `timeline <input>` | Add timeline entries for chronological tracking. |
26| `report <input>` | Generate or log report entries for summaries. |
27| `weekly-review <input>` | Log weekly review notes for end-of-week reflection. |
28| `stats` | Show summary statistics across all entry types. |
29| `export <fmt>` | Export all data in `json`, `csv`, or `txt` format. |
30| `search <term>` | Search across all log files for a keyword. |
31| `recent` | Show the 20 most recent activity entries from the history log. |
32| `status` | Health check — version, data directory, entry count, disk usage. |
33| `help` | Show the built-in help message with all available commands. |
34| `version` | Print the current version (`deepfocus v2.0.0`). |
35
36Each data command (add, plan, track, etc.) works in two modes:
37- **With arguments**: saves the input with a timestamp to its dedicated log file.
38- **Without arguments**: displays the 20 most recent entries from that log.
39
40## Data Storage
41
42All data is stored locally in `~/.local/share/deepfocus/`:
43
44- Each command has its own log file (e.g., `add.log`, `plan.log`, `track.log`)
45- Entries are saved in `timestamp|value` format
46- A unified `history.log` records all activity across commands
47- Export files are written to the same directory
48
49## Requirements
50
51- Bash (standard system shell)
52- No external dependencies — uses only coreutils (`date`, `wc`, `du`, `grep`, `tail`, `cat`)
53
54## When to Use
55
56- When you need to quickly add tasks, plans, or notes from the terminal
57- To track daily habits and maintain productivity streaks
58- For end-of-day or weekly reviews and reflections
59- To set reminders and prioritize tasks without leaving the command line
60- To search through past entries by keyword
61- To export your productivity data for analysis or backup
62- When you want a lightweight, file-based focus and task management system
63
64## Examples
65
66```bash
67# Add a task
68deepfocus add "Write unit tests for the auth module"
69
70# Create a plan for the day
71deepfocus plan "Morning: deep work on API refactor. Afternoon: PR reviews."
72
73# Track a habit
74deepfocus track "Completed 45-minute focus session on documentation"
75
76# Log a review
77deepfocus review "Good progress on backend. Need to speed up frontend work."
78
79# Record a streak
80deepfocus streak "Day 15 of daily coding — still going strong"
81
82# Set a reminder
83deepfocus remind "Submit expense report by end of week"
84
85# Prioritize a task
86deepfocus prioritize "P0: Fix production memory leak"
87
88# Archive an old entry
89deepfocus archive "Q3 planning notes — no longer relevant"
90
91# Tag an entry
92deepfocus tag "meeting-notes: Sprint retrospective takeaways"
93
94# Add to timeline
95deepfocus timeline "Shipped v2.0 release to production"
96
97# Generate a report
98deepfocus report "Weekly output: 12 tasks completed, 3 carried over"
99
100# Log a weekly review
101deepfocus weekly-review "Best week this month — cleared the entire backlog"
102
103# View all statistics
104deepfocus stats
105
106# Export everything as JSON
107deepfocus export json
108
109# Search for entries mentioning "focus"
110deepfocus search focus
111
112# Check recent activity
113deepfocus recent
114
115# Health check
116deepfocus status
117```
118
119---
120
121Powered by BytesAgain | bytesagain.com | hello@bytesagain.com