Install
openclaw skills install time-guruNatural language time tracking with smart activity classification, multi-dimensional reports, productivity analytics, and billing.
openclaw skills install time-guruZero-friction time tracking driven by natural language. Log activities by simply describing what you did. Get daily/weekly reports, productivity analysis, and billing summaries without remembering to start/stop timers.
start/stop commands with auto-duration~/.openclaw/data/time-guru/YYYY/MM/DD.json files (one day per file)clawhub run time-guru <action> [options]
| Action | Description | Example |
|---|---|---|
log | Log one or more activities | log "9-11写代码, 11-12开会" |
start | Start a timer | start "写周报" --project report |
stop | Stop the active timer | stop |
report | Generate time report | report --period today |
analyze | Productivity analysis | analyze --period this_week |
goal | Set/check time goals | goal set development 4h/day |
project | Project time summary | project list |
| Option | Type | Default | Description |
|---|---|---|---|
--period | enum | today | today, yesterday, this_week, last_week, this_month, last_month, custom |
--date-from | date | — | Custom range start |
--date-to | date | — | Custom range end |
--group-by | enum | category | category, project, day, week |
--output-format | enum | text | text, json, csv, markdown |
--billing | bool | false | Include billing info |
clawhub run time-guru log "9点到11点写后端API,11点到12点开需求评审会"
# → ✅ 2 activities logged
# ⏱ 09:00-11:00 (2h) 开发 · 写后端API
# ⏱ 11:00-12:00 (1h) 会议 · 需求评审会
# 📊 Today: 3h total
clawhub run time-guru start "写周报" --project company-report
# → ▶️ Timer started: 写周报 [company-report] @ 14:03
# ... later ...
clawhub run time-guru stop
# → ⏹ Stopped: 写周报 | Duration: 45 minutes
clawhub run time-guru report --period today
# → 📊 Today's Time Report (Mon 2026-06-14)
# Development ████████████████████ 4.5h (52.9%)
# Meeting ██████████▌ 2.0h (23.5%)
# Documentation ██████ 1.0h (11.8%)
# Break ██████ 1.0h (11.8%)
# 💰 Billable: 6.5h × ¥500/h = ¥3,250
clawhub run time-guru analyze --period this_week
# → 📈 Weekly Analysis
# 🔥 Peak hours: 09:00-11:00 (34% of output)
# 🧠 Deep work: 12.5h this week (↑ 15% vs last week)
# ⚠️ Task switches: 7/day (high)
# 💡 Recommendation: Block 14:00-16:00 for meetings
clawhub run time-guru report --period this_month --billing
# → 💰 Monthly Billing (June 2026)
# Project A (XYZ Corp) · 35h × ¥500 = ¥17,500
# Project B (ABC Inc) · 22h × ¥600 = ¥13,200
# Internal · 18h × ¥0 = ¥0
# ────────────────────────────────────────
# Total billable: ¥30,700
Step 1: Install → clawhub install time-guru
Step 2: Log → clawhub run time-guru log "刚才一直在写代码2小时"
Step 3: Confirm → see activity logged with auto-classification
Step 4: Report → clawhub run time-guru report --period today
Step 5: Insight → see where time went → habit-forming value
| File | Purpose |
|---|---|
scripts/__init__.py | Package init |
scripts/nl_parser.py | Natural language time parsing |
scripts/timer.py | Start/stop timer management |
scripts/logger.py | Data persistence (JSON files) |
scripts/classifier.py | Activity auto-classification |
scripts/reporter.py | Daily/weekly/monthly reports |
scripts/analyzer.py | Productivity analysis engine |
scripts/goal_tracker.py | Time goal setting and tracking |
scripts/bill_calculator.py | Billing calculation |
scripts/importer.py | External data import |
scripts/exporter.py | Data export (CSV/JSON) |
scripts/reminder.py | Daily/weekly reminders |