agent-logs has been retired
Remove the collector to stop local uploads and wrapper prompts. Do not retry uploads, sign in or enable sharing.
If Claude will not start
The old terminal wrapper blocks users with no stored token or no locally cached signed consent. Its “not on the allowlist” or “Consent Required” message is not a reason to sign in again. Signed users can also be prompted in a new folder.
In bash/zsh run command claude to bypass the wrapper; in PowerShell
run claude.exe directly. Then run agent-logs uninstall
and open a new terminal. You can uninstall without starting Claude.
Bypassing alone leaves upload hooks installed.
Uninstall
agent-logs uninstall
Then open a new terminal and restart Claude Code. The command works offline and removes the collector's hooks, status line, configuration, binary and marked shell wrapper. It does not remove Claude Code or your original local session logs.
On Windows, if deleting the running executable fails, remove
%USERPROFILE%\.local\bin\agent-logs.exe after uninstall exits.
Development installs
After agent-logs uninstall, remove a global npm installation with
npm uninstall -g @henkaku-center/agent-logs, or an npm link with
npm unlink -g @henkaku-center/agent-logs. For project-local installs,
omit -g and run in that project. There is no supported pip package.
Manual cleanup
- In
~/.claude/settings.json, remove only hook commands invokingagent-logsand itsstatusLine. Preserve other commands even if they share a hook group. Old uninstall versions can remove an entire mixed group, so hand-edited configurations should use this selective cleanup. - Remove lines marked
# agent-logs wrapperfrom~/.bashrcand~/.zshrc. On Windows check bothDocuments\PowerShell\Microsoft.PowerShell_profile.ps1andDocuments\WindowsPowerShell\Microsoft.PowerShell_profile.ps1under your user profile. - Remove
~/.local/bin/agent-logs(Windows executable above) and~/.config/agent-logs. Keep~/.claude, projects and logs. - Open a new terminal; sourcing a file does not remove a previously loaded wrapper.
Custom background jobs
The supported installers do not create launchd, cron or systemd jobs. If you added one, stop only your verified agent-logs job:
- launchd:
launchctl bootout "gui/$(id -u)" /absolute/path/to/that.plist, then remove that specific plist. Replace the example path with the verified one. - cron:
crontab -e, removing only agent-logs entries. Never delete the entire crontab. - systemd:
systemctl --user disable --now YOUR_VERIFIED_AGENT_LOGS_UNIT. - Remove any custom Cowork/OTLP exporter setting pointing to the retired agent-logs host.
Old clients may keep invoking hooks despite an HTTP 410 response. They need
explicit uninstall; HTTP cannot uninstall them remotely or make every old wrapper
fail open. Do not run agent-logs update: the retired installer only
displays a notice, and no replacement CLI binary is being released.
Uninstall removes the local collector configuration, including non-expiring research tokens containing an anonymous identifier. It cannot remove copies in your device backups. Do not send tokens or configuration files to support.
Uninstalling stops local collection; it is not a new request to delete previously collected data. Existing data follows the approved course close-out process. Questions or pending withdrawal requests: contact the course data custodians.