Hydration Tracker
A daily water intake tracker that helps you build and maintain healthy hydration habits. Log every drink, set personalized daily goals, check your progress throughout the day, and review weekly summaries — all from the command line with local-only data storage.
Commands
| Command |
Description |
drink [ml] |
Log water intake in milliliters (default: 250ml). Shows running total and goal progress with celebration when goal is reached |
cup |
Quick-log a cup of water (250ml) — shortcut for drink 250 |
bottle |
Quick-log a bottle of water (500ml) — shortcut for drink 500 |
today |
Display today's total intake vs. daily goal, with remaining amount or goal-reached indicator |
goal [ml] |
Set your daily hydration goal in milliliters (default: 2000ml) |
check |
Check if you're on track — compares current intake against expected intake based on time of day |
week |
Show a 7-day hydration summary with daily breakdowns, weekly total, and daily average |
history [n] |
Show hydration history for the last N days (default: 7, max: 30) |
stats |
Display overall statistics — total days tracked, total intake, and average daily intake |
remind |
Get a random hydration tip (e.g., "Drink a glass of water before each meal") |
info |
Show version info (v1.0.0) |
help |
Show all available commands with usage examples |
Data Storage
- Data directory:
~/.water_reminder/
- Intake data:
data.json — JSON object mapping dates (YYYY-MM-DD) to cumulative daily intake in ml
- Goal config:
goal.json — stores your current daily goal (default: 2000ml)
- Max history: 30 days of lookback for the
history command
- All data is stored locally in JSON format; no external services, accounts, or network access required
Requirements
- Bash 4+
- Python 3 (standard library only — used for JSON read/write)
- Standard POSIX utilities (
date, seq)
- No API keys or external dependencies
When to Use
- Building a daily hydration habit — log each drink throughout the day and let the progress tracker keep you motivated with goal-reached celebrations
- Checking mid-day progress — use
check to see if your intake is on track relative to the time of day, so you can catch up before evening
- Reviewing weekly trends — run
week to see a 7-day summary with emoji indicators showing which days you hit your goal
- Adjusting your hydration goal — use
goal to increase or decrease your daily target based on activity level, weather, or health needs
- Getting gentle reminders — run
remind for evidence-based hydration tips to keep healthy habits top of mind
Examples
# Log 300ml of water
hydration-tracker drink 300
# Quick-log a cup (250ml)
hydration-tracker cup
# Quick-log a bottle (500ml)
hydration-tracker bottle
# Check today's progress
hydration-tracker today
# Set a custom daily goal of 2500ml
hydration-tracker goal 2500
Example Output
$ hydration-tracker drink 300
Logged 300ml. Today's total: 1200ml / 2000ml.
Almost there! Keep going!
$ hydration-tracker today
Today's intake (2026-03-18): 1200ml / 2000ml
Remaining: 800ml
$ hydration-tracker week
--- Weekly Hydration Summary ---
2026-03-18: (1200ml / 2000ml) 💧
2026-03-17: (2100ml / 2000ml) 🎉
2026-03-16: (1800ml / 2000ml) 💧
...
Weekly total: 12300ml
Daily average: 1757ml (Goal: 2000ml)
$ hydration-tracker remind
💧 Hydration Tip: Drink a glass of water before each meal.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2name: hydration-tracker
3description: "Track daily water intake, set hydration goals, and get drink reminders. Use when logging water, setting targets, or reviewing weekly intake trends."
4version: "2.0.0"
5author: "BytesAgain"
6homepage: https://bytesagain.com
7source: https://github.com/bytesagain/ai-skills
8tags: ["health", "hydration", "water", "reminder", "wellness", "utility", "健康", "饮水"]
9categories: ["Health & Wellness", "Utility", "Personal Management"]
10commands:
11 - name: "drink"
12 description: "记录一次饮水量。如不指定,默认为250ml。示例:`water-reminder drink 500`"
13 usage: "hydration-tracker drink [ml]"
14 parameters:
15 - name: "ml"
16 type: "number"
17 description: "饮水量,单位毫升。"
18 required: false
19 - name: "cup"
20 description: "快速记录一杯水(默认为250ml)。"
21 usage: "hydration-tracker cup"
22 - name: "bottle"
23 description: "快速记录一瓶水(默认为500ml)。"
24 usage: "hydration-tracker bottle"
25 - name: "today"
26 description: "查看今日总饮水量。"
27 usage: "hydration-tracker today"
28 - name: "goal"
29 description: "设定每日饮水目标。如不指定,默认为2000ml。示例:`water-reminder goal 2500`"
30 usage: "hydration-tracker goal [ml]"
31 parameters:
32 - name: "ml"
33 type: "number"
34 description: "每日饮水目标,单位毫升。"
35 required: false
36 - name: "check"
37 description: "检查当前饮水进度是否达标。"
38 usage: "hydration-tracker check"
39 - name: "week"
40 description: "查看本周饮水量的汇总摘要。"
41 usage: "hydration-tracker week"
42 - name: "history"
43 description: "查看最近N天的饮水记录(默认为7天)。示例:`water-reminder history 30`"
44 usage: "hydration-tracker history [n]"
45 parameters:
46 - name: "n"
47 type: "number"
48 description: "查看历史记录的天数。"
49 required: false
50 - name: "stats"
51 description: "显示详细的水合统计数据和趋势。"
52 usage: "hydration-tracker stats"
53 - name: "remind"
54 description: "获取水合小贴士和个性化提醒。"
55 usage: "hydration-tracker remind"
56 - name: "info"
57 description: "显示Hydration Tracker的版本信息。"
58 usage: "hydration-tracker info"
59changelog:
60 - version: "2.0.0"
61 date: "2026-03-15"
62 changes:
63 - "初始版本发布:提供每日饮水追踪、目标设定和进度检查功能。"
64pricing_model: "free"
65license: "MIT"
66docs_url: "https://bytesagain.com/skills/hydration-tracker"
67support_url: "https://bytesagain.com/feedback"
68metadata:
69 source: https://skillmd.com/skills/bytesagain/hydration-tracker
70---
71
72# Hydration Tracker
73
74A daily water intake tracker that helps you build and maintain healthy hydration habits. Log every drink, set personalized daily goals, check your progress throughout the day, and review weekly summaries — all from the command line with local-only data storage.
75
76## Commands
77
78| Command | Description |
79|---------|-------------|
80| `drink [ml]` | Log water intake in milliliters (default: 250ml). Shows running total and goal progress with celebration when goal is reached |
81| `cup` | Quick-log a cup of water (250ml) — shortcut for `drink 250` |
82| `bottle` | Quick-log a bottle of water (500ml) — shortcut for `drink 500` |
83| `today` | Display today's total intake vs. daily goal, with remaining amount or goal-reached indicator |
84| `goal [ml]` | Set your daily hydration goal in milliliters (default: 2000ml) |
85| `check` | Check if you're on track — compares current intake against expected intake based on time of day |
86| `week` | Show a 7-day hydration summary with daily breakdowns, weekly total, and daily average |
87| `history [n]` | Show hydration history for the last N days (default: 7, max: 30) |
88| `stats` | Display overall statistics — total days tracked, total intake, and average daily intake |
89| `remind` | Get a random hydration tip (e.g., "Drink a glass of water before each meal") |
90| `info` | Show version info (v1.0.0) |
91| `help` | Show all available commands with usage examples |
92
93## Data Storage
94
95- **Data directory:** `~/.water_reminder/`
96- **Intake data:** `data.json` — JSON object mapping dates (YYYY-MM-DD) to cumulative daily intake in ml
97- **Goal config:** `goal.json` — stores your current daily goal (default: 2000ml)
98- **Max history:** 30 days of lookback for the `history` command
99- All data is stored locally in JSON format; no external services, accounts, or network access required
100
101## Requirements
102
103- Bash 4+
104- Python 3 (standard library only — used for JSON read/write)
105- Standard POSIX utilities (`date`, `seq`)
106- No API keys or external dependencies
107
108## When to Use
109
1101. **Building a daily hydration habit** — log each drink throughout the day and let the progress tracker keep you motivated with goal-reached celebrations
1112. **Checking mid-day progress** — use `check` to see if your intake is on track relative to the time of day, so you can catch up before evening
1123. **Reviewing weekly trends** — run `week` to see a 7-day summary with emoji indicators showing which days you hit your goal
1134. **Adjusting your hydration goal** — use `goal` to increase or decrease your daily target based on activity level, weather, or health needs
1145. **Getting gentle reminders** — run `remind` for evidence-based hydration tips to keep healthy habits top of mind
115
116## Examples
117
118```bash
119# Log 300ml of water
120hydration-tracker drink 300
121
122# Quick-log a cup (250ml)
123hydration-tracker cup
124
125# Quick-log a bottle (500ml)
126hydration-tracker bottle
127
128# Check today's progress
129hydration-tracker today
130
131# Set a custom daily goal of 2500ml
132hydration-tracker goal 2500
133```
134
135### Example Output
136
137```
138$ hydration-tracker drink 300
139Logged 300ml. Today's total: 1200ml / 2000ml.
140Almost there! Keep going!
141
142$ hydration-tracker today
143Today's intake (2026-03-18): 1200ml / 2000ml
144Remaining: 800ml
145
146$ hydration-tracker week
147--- Weekly Hydration Summary ---
1482026-03-18: (1200ml / 2000ml) 💧
1492026-03-17: (2100ml / 2000ml) 🎉
1502026-03-16: (1800ml / 2000ml) 💧
151...
152Weekly total: 12300ml
153Daily average: 1757ml (Goal: 2000ml)
154
155$ hydration-tracker remind
156💧 Hydration Tip: Drink a glass of water before each meal.
157```
158
159---
160
161Powered by BytesAgain | bytesagain.com | hello@bytesagain.com