time-tracking
Time Tracking
Use scripts/track for all time tracking operations. Supports both Toggl (default) and Clockify.
Commands
# Real-time tracking (default: Toggl)
scripts/track start "Task description" -p "Project Name"
scripts/track stop
scripts/track current
# Use Clockify instead
scripts/track start "Task description" -p "Project Name" -P clockify
scripts/track current -P clockify
# Manual entries (past dates)
scripts/track create "Description" -p "Project" -s "YYYY-MM-DD HH:MM" -e "YYYY-MM-DD HH:MM"
scripts/track create "Description" -p "Project" -s "..." -e "..." -t "tag1,tag2" # with tags
# Management
scripts/track delete <entry-id>
scripts/track entries --days 7
scripts/track projects
scripts/track me
# Projects and tags (Toggl only)
scripts/track project:create "Project Name"
scripts/track project:create "Project Name" -b # billable
scripts/track project:create "Project Name" --private # private project
scripts/track tags
Provider Selection
-P toggl(default) - Use Toggl Track-P clockify- Use Clockify
Notes
- Project names must match exactly - use
projectsto list available names - Authentication via 1Password:
- Toggl:
op://Employee/Toggl/api key - Clockify:
op://Employee/Clockify/Saved on app.clockify.me/apikey
- Toggl:
- Token caching: API tokens are cached in
~/.local/state/steveos/time-tracking/for 24 hours to avoid repeated 1Password prompts - Run
scripts/track --helpfor full usage
Cache Management
scripts/track cache:clear # Clear token for current provider
scripts/track cache:clear:all # Clear all cached tokens
Use these if you rotate your API key in 1Password or need to re-authenticate.
More from steveclarke/dotfiles
md-to-pdf
Convert markdown files to PDF using Chrome. Use when user wants to render markdown to PDF, print a document, or create a shareable PDF from markdown. Triggers on "markdown to pdf", "render to pdf", "pdf from markdown", "print this markdown".
75bruno-endpoint-creation
Create Bruno REST API endpoint configurations with proper authentication, environment setup, and documentation. Use when setting up API testing with Bruno, creating new endpoints, or configuring collection-level authentication. Triggers on "create Bruno endpoint", "Bruno API testing", "set up Bruno collection".
68readme-writer
Write and revise READMEs and technical documentation for software projects. Scores readability with Flesch-Kincaid and vocabulary profiling. Use when writing, revising, or reviewing a README, README.md, or project documentation. Triggers on "write readme", "improve readme", "readme review", "documentation writing".
56feature-requirements
Creates structured requirements documents through guided discovery, practical scoping, and consolidated output. Produces a single requirements.md with entities, workflows, constraints, and acceptance criteria following the established feature development process.
49feature-spec
Creates concise technical specification documents through guided architectural decisions, system contracts, and technical design. Produces a spec.md covering API design, data models, frontend architecture, and integration points without implementation details.
491password
Fetch secrets and create/manage 1Password items via CLI. Use when needing API keys, tokens, or credentials, or when storing new secrets. Ask user for the 1Password secret reference (op://Vault/Item/field format) rather than the actual secret.
49