Time Tracker
Track work time per project with start/stop timers and generate productivity reports.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sa9saq/time-trackerTime Tracker
Track work time per project using local JSONL files with start/stop commands.
Requirements
- File system access for
~/.time-tracker/ - No external services or API keys needed
Instructions
Commands
| Command | Description |
|---|---|
start <project> [task] | Start a timer for a project/task |
stop | Stop the current timer and record entry |
status | Show current running timer |
report [today|week|month] | Generate time report |
list projects | List all tracked projects |
delete <entry-id> | Delete a specific entry |
Data storage
- Entries:
~/.time-tracker/entries.jsonl(one JSON per line){"id": "uuid", "project": "webapp", "task": "frontend", "start": "2025-01-15T09:00:00+09:00", "end": "2025-01-15T11:30:00+09:00", "minutes": 150} - Current timer:
~/.time-tracker/current.json{"project": "webapp", "task": "frontend", "start": "2025-01-15T09:00:00+09:00"}
Report format
## ⏱️ Time Report — Week of 2025-01-13
| Project | Task | Hours | Sessions |
|---------|------|-------|----------|
| webapp | frontend | 8.5h | 4 |
| webapp | backend | 3.0h | 2 |
| blog | writing | 2.5h | 3 |
| **Total** | | **14.0h** | **9** |
### Daily Breakdown
- Mon: 4.5h | Tue: 3.0h | Wed: 2.5h | Thu: 4.0h | Fri: 0h
Implementation
Create ~/.time-tracker/ directory if it doesn't exist. Use date -Iseconds for timestamps. Calculate minutes as (end - start) / 60. Append entries to JSONL file for easy parsing with jq or Python.
Edge Cases
- Forgot to stop: If
current.jsonexists on nextstart, warn and ask: stop previous (auto-calculate) or discard? - Midnight crossing: A timer started at 23:00 and stopped at 01:00 = 2 hours, not negative.
- Timezone changes: Store all times with timezone offset (ISO 8601). Convert for display.
- Empty report period: Show "No entries" rather than an empty table.
- Concurrent timers: Only one timer at a time. Stop the current one before starting a new one.
Security
- Time data is stored locally — no external transmission.
- Project/task names may reveal client work — keep
~/.time-tracker/private.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sa9saq-time-tracker": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
threat-model
Threat modeling and attack scenario design. Identify risks before they become vulnerabilities. STRIDE, attack trees, risk matrix.
Sns Auto Poster
Schedule and automate social media posts to X/Twitter with cron-based queue management.
security-review
Comprehensive security review for code, configs, and operations. OWASP, prompt injection, crypto security. Auto-triggers on security-related changes.
Process Monitor
Monitor system processes, identify top CPU/memory consumers, and alert on resource thresholds.
Readme Generator
Auto-generate comprehensive README.md files by analyzing project structure and configuration.