Hydration Tracker
Track daily water intake, set hydration goals, and get drink reminders. Use when logging water, setting targets, or reviewing weekly intake trends.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- Hydration Tracker
- tags
- [ "health", "hydration", "water", "reminder", "wellness", "utility", "健康", "饮水" ]
- author
- BytesAgain
- source
- https://github.com/bytesagain/ai-skills
- license
- MIT
- version
- 2.0.0
- commands
- [ { "name": "drink", "usage": "hydration-tracker drink [ml]", "parameters": [ { "name": "ml", "type": "number", "required": false, "description": "饮水量,单位毫升。" } ], "description": "记录一次饮水量。如不指定,默认为250ml。示例:`water-reminder drink 500`" }, { "name": "cup", "usage": "hydration-tracker cup", "description": "快速记录一杯水(默认为250ml)。" }, { "name": "bottle", "usage": "hydration-tracker bottle", "description": "快速记录一瓶水(默认为500ml)。" }, { "name": "today", "usage": "hydration-tracker today", "description": "查看今日总饮水量。" }, { "name": "goal", "usage": "hydration-tracker goal [ml]", "parameters": [ { "name": "ml", "type": "number", "required": false, "description": "每日饮水目标,单位毫升。" } ], "description": "设定每日饮水目标。如不指定,默认为2000ml。示例:`water-reminder goal 2500`" }, { "name": "check", "usage": "hydration-tracker check", "description": "检查当前饮水进度是否达标。" }, { "name": "week", "usage": "hydration-tracker week", "description": "查看本周饮水量的汇总摘要。" }, { "name": "history", "usage": "hydration-tracker history [n]", "parameters": [ { "name": "n", "type": "number", "required": false, "description": "查看历史记录的天数。" } ], "description": "查看最近N天的饮水记录(默认为7天)。示例:`water-reminder history 30`" }, { "name": "stats", "usage": "hydration-tracker stats", "description": "显示详细的水合统计数据和趋势。" }, { "name": "remind", "usage": "hydration-tracker remind", "description": "获取水合小贴士和个性化提醒。" }, { "name": "info", "usage": "hydration-tracker info", "description": "显示Hydration Tracker的版本信息。" } ]
- docs_url
- https://bytesagain.com/skills/hydration-tracker
- homepage
- https://bytesagain.com
- changelog
- [ { "date": "2026-03-15", "changes": [ "初始版本发布:提供每日饮水追踪、目标设定和进度检查功能。" ], "version": "2.0.0" } ]
- categories
- [ "Health & Wellness", "Utility", "Personal Management" ]
- description
- Track daily water intake, set hydration goals, and get drink reminders. Use when logging water, setting targets, or reviewing weekly intake trends.
- support_url
- https://bytesagain.com/feedback
- pricing_model
- free
02 资源文件 1
- 脚本scripts/script.sh9.2 KB
03 SKILL.md 正文
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
historycommand - 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
checkto see if your intake is on track relative to the time of day, so you can catch up before evening - Reviewing weekly trends — run
weekto see a 7-day summary with emoji indicators showing which days you hit your goal - Adjusting your hydration goal — use
goalto increase or decrease your daily target based on activity level, weather, or health needs - Getting gentle reminders — run
remindfor 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
04 同仓库更多 Skills
EmailDigest Daily Email Summary for Agents
Smart email categorizer and digest formatter for agents. Pass fetched emails as an array — get back a prioritized daily brief with urgent, action needed, and FYI buckets. Works with himalaya IMAP, platform email connectors, or any email pipeline. All processing is local.
git-log-summary
生成Markdown格式的Git提交记录摘要报告。使用场景:当用户需要按照Markdown格式输出git仓库的详细统计信息时使用此技能。输出内容包括:项目信息、分支信息、提交统计、作者统计、最近提交记录、分支信息和提交类型统计等,全部以标准Markdown格式呈现。
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration