Claude Code
Record Claude Code sessions from every laptop.
What it records. Every conversation a person has with Claude Code on the laptop: prompts, replies, the model used, tool calls, and token counts.
How. The collector registers with Claude Code’s managed settings so Claude Code calls it after each turn. It reads the turn from Claude Code’s own session file and passes it to the scanner.
Before you begin
- You have the Admin role.
- Claude Code is installed on at least one enrolled laptop, so you can confirm a session arrives.
Check it is running
It is on when your organization is created, so there is nothing to switch on.
Open Extensions
Under Endpoint Extensions, find Claude Code. Its switch is on.
Check
The next Claude Code conversation appears on the Sessions page with Claude Code as the source, within 15 minutes of the laptop’s next scan.
On the laptop
sudo surface extension list shows claude as installed. sudo surface logs --extension claude shows its activity.
Turn it off
Click the switch. You see “Claude Code discovery disabled” and laptops remove the hook on their next scan. Click it again to record Claude Code once more.
Next steps
- Review sessions to open a trace or transcript
- AI usage for cost and top adopters
- Codex to record another tool