Security
Your Claude account
Never read, stored or forwarded. Traffic never rerouted.
The baton exists because Claude Code stops at a usage limit. A tool that helps at that moment is close to your Claude account, so the rules here are strict and the code is built around them.
What Relief never does
- It never reads, stores or forwards a Claude credential. It never opens Claude's login files.
- It never sits in front of Claude Code's requests, and never routes them anywhere else. It does not proxy, wrap or replace Claude Code, and it does not drive Claude Code with another model.
- It never talks to Claude's model provider on your behalf. When it carries a task on, it uses your own provider keys for another provider.
Claude Code keeps working exactly the way Anthropic supports it. Relief only adds hooks and an MCP server through the settings file that Claude Code documents for that purpose.
What it does touch
| Thing | What happens | Where |
|---|---|---|
| Hook entries | Added by frontier connect claude, after asking, with a backup. Removed exactly by disconnect. | settings.json in your Claude config folder |
The frontier-handoff skill | Installed and removed the same way. | skills/frontier-handoff/SKILL.md in that folder |
| Hook input | Read from standard input: your own prompt and Claude's own last answer. Parsed as JSON only, capped, redacted. | Never from a login file |
| Claude's transcript for this folder | Read during a takeover to summarize what was going on. | Claude's own project transcript folder |
The transcript is a record of your own work in your own project, not a credential. The takeover reads it as notes to check against the files, redacted and cut to size.
How the code enforces it
- The takeover window gets a clean environment. The window's environment is the hook's own, minus
CLAUDECODE, anything startingCLAUDE_CODE_, andANTHROPIC_AUTH_TOKEN, so nothing that identifies the Claude session is passed on.CLAUDE_CONFIG_DIRstays, because it only says where transcripts live. - Hook input is untrusted. It is capped at 512 KB, parsed as JSON, cut to size, redacted before it is written, and never placed in a shell command line. Git runs with a fixed argument list and no shell.
- Nothing pushes. Checkpoint refs never move your branches, and the takeover never commits, pushes, merges or switches branches.
- Only the user can change the baton setting.
batonis a user only setting, so a repository cannot turn the window on, off or to auto.
A note on terms
We cannot promise how any company will read its terms in the future, so the design avoids the question: Relief neither holds nor routes a subscription credential. Read Anthropic's current terms and usage policies for yourself. If you are unsure about a setup, do not connect it.
Check it yourself
The hook code is small. The window environment rule has a test that fails if a Claude session variable or login token is passed on. The rest are rules in the code, listed above. If you find a way that Relief touches a credential, report it on the feedback page and treat it as a bug.