/cession:setupfrom cession
Configure this machine to report Claude Code sessions and cost to a cession server
Ships in cession. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Configure cession on this machine. Arguments, if given: $ARGUMENTS
The bundled setup.sh does all of it: checks the URL and dependencies, logs the machine in with a device login (like gh auth login) when it has no token, checks the token against the server, and merges the hook and OTel settings into ~/.claude/settings.json. Never ask the user for the token, never print it, and never read the token file yourself.
https://cession.<you>.workers.dev) from the arguments, otherwise ask the user.sh "${CLAUDE_SKILL_DIR}/setup.sh" "URL"
As soon as its output shows a link and a code, tell the user to open the link in a browser signed in to cession (signing in first if asked), check that the code and machine name match, and click Approve. Then wait for the script to finish.0: setup is done. Relay the script's last lines: restart Claude Code, and delete ~/.claude/settings.json.bak once things work.3: show the user what it listed. If it says settings would be replaced, ask whether to continue; if they agree, run it again with --yes as the second argument: sh "${CLAUDE_SKILL_DIR}/setup.sh" "URL" --yes. If it says the settings would send the token to another OTLP exporter, --yes does not help: the user must remove those keys from ~/.claude/settings.json first.1: stop and show its error message.A user who prefers to manage the token by hand can create one on the Devices page ("New token") and put it in CESSION_TOKEN; the script then skips the login. A token in ~/.config/cession/token is only sent to the server origin saved next to it in origin, so a new URL gets a fresh device login.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub underw8/cession --plugin cession