Clockify uninit
Full local teardown of Clockify-owned files in a consumer repo. Confirm with the user before deleting.
If they only want to pause agent-mediated timers and keep forge/platform settings, stop and run clockify-automate-disable instead.
If they want to stop agent mode and reset automate yaml toward init defaults (keep .clockify/config.yml), stop and run clockify-unautomate instead.
Confirm
- Inventory with tools if needed, then repeat the result in a normal chat message the user can read without opening tool output. Use a short markdown list of paths that exist (and optionally “not found” for expected paths). Tool snippets / terminals are not the inventory.
- That chat list is the confirm surface: unautomate paths plus
.clockify/, the remaining gitignore stanza, and.gitignoreitself if removing the stanza would leave the file empty. Note that the Clockify Agent Plugin stays installed unless they ask otherwise. - If
.clockify/.managed-by-initis missing, still include those well-known paths in the chat inventory (user may have edited by hand). - Then AskQuestion with only a short confirm, e.g. “Remove Clockify files from this repo?” — do not put the inventory in the question box, and do not skip the chat list.
- Do not uninstall the Clockify Agent Plugin unless the user explicitly asks.
Removals
Perform clockify-unautomate first (rule + Clockify-owned hooks + rule gitignore line), then:
Delete
.clockify/entirely (config, marker, self-ignore, any extras).Remove the remaining managed gitignore stanza when present (idempotent match on either comment header):
# Clockify Agent Plugin — personal time-tracking (delete this block to share with the team) .clockify/Also match the older header
# Clockify MCP — personal time-trackingif a repo was inited before the rename.If the stanza still lists the rule path or
.cursor/hooks/clockify-runaway.sh(unautomate not run yet), remove those lines together.After stanza removal: if
.gitignoreis empty or whitespace-only, delete the file (same idea as deleting emptyhooks.jsonin unautomate). If any other ignore rules remain, keep the file. Never delete a non-empty.gitignore. No need to know whether init created the file — emptiness after our stanza is gone is enough.
Do not
- Wipe unrelated Cursor hooks or rules
- Delete a non-empty
.gitignore(empty / whitespace-only after stanza removal is OK — see above) - Uninstall Directory / local plugin or clear
CLOCKIFY_API_KEYunless asked - Invent paths outside the well-known set above
- Treat tool output as the user-visible inventory (always restate paths in chat before AskQuestion)
After
Summarize what was removed. The Clockify Agent Plugin may still be available at the user/plugin level. Repo yaml is gone until they run clockify-init again.