CLI for the Timing macOS time tracking app API.
Download the latest binary from GitHub Releases.
Or install with Go:
go install github.com/jdwit/timing-cli@latestOr build from source:
git clone https://github.com/jdwit/timing-cli.git
cd timing-cli
go build -o timing .Get your API key from the Timing web app and set it as an environment variable.
Add to your ~/.zshrc (or ~/.bashrc):
export TIMING_API_KEY="your-api-key"
export TIMING_TIMEZONE="Europe/Amsterdam" # optional; defaults to system timezoneThen reload:
source ~/.zshrcAll commands support --json for machine-readable output, making the CLI suitable for
scripting and AI agent integration.
timing projects list # list all projects
timing projects list --tree # hierarchical tree view
timing projects list --hide-archived # exclude archived
timing projects get <id> # show project details
timing projects create --title "Name" --color "#FF0000" --parent /projects/1
timing projects update <id> --title "New Name" --archived
timing projects delete <id>timing entries list --start 2024-01-01 --end 2024-01-31
timing entries list --project /projects/1 --include-children
timing entries list --search "meeting" --billing-status billable
timing entries get <id>
timing entries create --start "2024-01-01T09:00:00+01:00" --end "2024-01-01T17:00:00+01:00" \
--project /projects/1 --title "Work" --notes "Details"
timing entries update <id> --title "Updated" --notes "New notes"
timing entries delete <id>
timing entries batch-update --entries 1,2,3 --billing-status billabletiming timer start --project /projects/1 --title "Working on feature"
timing timer status
timing timer stoptiming activities --start 2024-01-01 --end 2024-01-31
timing activities --start 2024-01-01 --end 2024-01-01 --block-size hour --max-lines 500timing report --start 2024-01-01 --end 2024-01-31
timing report --project /projects/1 --include-children --timespan-grouping day
timing report --billing-status billable --columns project,title,timespan# bash
source <(timing completion bash)
# zsh
timing completion zsh > "${fpath[1]}/_timing"timing projects list --json
timing timer status --json
timing entries list --start 2024-01-01 --end 2024-01-31 --jsonThis repo includes an agent skill that teaches AI agents how to use the Timing CLI effectively. It covers command usage, activity-based time verification, conflict handling, and reporting workflows.