beacon-trace-share skill is one of the Beacon Skills. Install it once, and you can ask the agent you are working with to “share this session”. The agent runs beacon share --current from its own shell, then replies with the link.
Install the skill
The interactivebeacon endpoint install installs the Beacon Skills for every project unless you turn them off in the wizard. To install them at any other time:
~/.agents/skills, which Codex CLI, Gemini CLI, OpenCode, Pi and other runtimes read, and to ~/.claude/skills when Claude Code is set up. They are carried in the beacon binary, so installing needs no network.
The skills also install as a plugin from the asymptote-labs/agent-beacon repository, for example in Claude Code:
Sign in
The agent shares with your credential, so sign in once in your own terminal:beacon login itself, because it opens a browser. In CI or another headless environment, set a Beacon API key in BEACON_API_KEY instead (see Sharing via API Key). Never paste a key into the conversation.
Share from chat
Ask in your own words:- Check that
beaconis onPATH, and stop if it is not. - Run
beacon share --current --harness <its runtime> --jsonfrom the session’s working directory. Naming its runtime keeps Beacon from picking another runtime’s session in the same directory. - Reply with the link, its visibility and how many events the trace holds. When Beacon picked the most recent session in the directory rather than one it knew was this one, the agent says which session it shared.
direct (anyone with the link). The agent uses private when you ask for it, and asks you to confirm before it makes a session public. Asked to update a trace, it runs beacon share refresh, which uploads only the steps added since the last upload.
To see what would be uploaded first, ask the agent to run the share with --print.
How the agent finds its own session
An agent does not know its session id.beacon share --current finds it from, in order:
BEACON_SESSION_IDandBEACON_HARNESS, which Beacon’s Claude CodeSessionStarthook exports into every shell command the session runs.- The session Beacon’s hooks last saw for that runtime in this directory.
- The most recent session in this directory.
Remove the skill
Related
Beacon Skills
Every Beacon skill and how to install it in each runtime.
Sharing via Agent Hooks
Share every new session automatically instead.