A Claude Code cloud session does not load the plugin, so until now it could
only check in. Run npx @timetrakkr/cli init --cloud in the repository and
commit the file it writes, then give the cloud environment a network secret
for your workspace's address holding an Agent time token. Then start a new
session, on the environment that has the network secret. The hooks measure
each turn and record it as Measured and Cloud.
The token never enters the session: Claude Code's proxy adds it to requests for your workspace on the way out. The hooks do nothing on anyone's own computer, so nobody with the plugin is counted twice.
It does not work in a cloud session with more than one repository, and it is for Claude Code only: Cursor and Codex cloud agents still check in. If the repository also tells the agent to check in, remove that instruction, or the same work is recorded twice. Accepting a whole day leaves any session flagged as a possible duplicate for you to check and accept on its own. See agent time for agents in the cloud.