Install
openclaw skills install habits-trackerTrack habits, log completions, and analyze progress with CLI commands. Use when user wants to build habits, track daily/weekly/monthly routines, log habit co...
openclaw skills install habits-trackerA command-line habit tracking tool for building consistency and monitoring progress.
The habit tracker is available as a Node.js CLI tool. No dependencies required.
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"
Options:
--frequency: daily, weekly, or monthly (default: daily)--target: completions per period (default: 1)--reminder: time in HH:MM format--description: habit descriptionnode scripts/habit-cli.js list
node scripts/habit-cli.js log "Exercise" --count 1 --note "Morning run"
Options:
--count: number of completions (default: 1)--date: YYYY-MM-DD format (default: today)--note: optional notenode scripts/habit-cli.js logs "Exercise" --days 7
node scripts/habit-cli.js stats "Exercise" --days 30
Shows:
node scripts/habit-cli.js report --days 7
Displays visual progress bars and summary for all habits.
node scripts/habit-cli.js edit "Exercise" --target 2 --reminder "07:00"
node scripts/habit-cli.js delete "Exercise"
node scripts/habit-cli.js reminder
Habits and logs are stored in ~/.config/habit-tracker/:
habits.json: Habit definitionslogs.json: Completion logsAdd to crontab for hourly reminder checks:
0 * * * * node /path/to/habit-tracker/scripts/habit-cli.js reminder
0 21 * * * node /path/to/habit-tracker/scripts/habit-cli.js report --days 1
This skill can be triggered by:
Track a new habit:
habit add "Read 30 minutes" --frequency daily --target 1 --reminder "21:00"
habit log "Read 30 minutes" --note "Finished chapter 5"
Weekly habit with multiple targets:
habit add "Meditate" --frequency weekly --target 5
habit log "Meditate" --count 1
View progress:
habit stats --days 30
habit report --days 7