/beacon:beacon-trace-sharefrom Beacon memory
Shares the current agent session as a trace on beacon.sh using the Beacon CLI. Publishes prompts, answers, reasoning, and tool calls with secret redaction.
Ships in Beacon memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
beacon share publishes one agent session as a shared trace on beacon.sh: the prompts, the
agent's answers and reasoning, and every tool call with its result, after Beacon's secret
redaction and with local paths made relative. It prints a link the user can send to anyone they
choose.
Sharing uploads the conversation. Only share when the user asked for it, and never change the visibility to public without asking.
beacon version
If beacon is not found, tell the user that sharing needs the Beacon CLI, point them to
https://docs.beacon.sh/get-started/overview, and stop. Do not install it yourself.
Run this from the session's working directory, naming your own runtime with --harness:
beacon share --current --harness <runtime> --json
| You are | <runtime> |
|---|---|
| Claude Code | claude_code |
| Codex CLI | codex |
| Cursor | cursor |
| OpenCode | opencode |
| Gemini CLI | gemini |
| GitHub Copilot CLI | copilot |
| Another runtime | its name from beacon share --help, or auto |
--current finds the session this command runs inside: from BEACON_SESSION_ID when the
runtime exports it, otherwise from the session Beacon's hooks last saw in this directory,
otherwise the most recent session here. --harness keeps it from picking another runtime's
session in the same directory.
The default visibility is direct: anyone with the link can open it, and it is not listed anywhere. Keep that unless the user asked for something else:
--visibility private.--visibility public --yes.To see exactly what would be uploaded without uploading anything, run the same command with
--print in place of --json.
On success the output is one JSON document:
{"ok":true,"data":{"shared_url":"https://beacon.sh/s/...","visibility":"direct","external_id":"claude_code:...","event_count":42,"uploaded":42,"selected_by":"env"}}
Reply with shared_url and its visibility, and say how many events it holds. If
selected_by is recent, mention which session was shared (the external_id), since Beacon
picked the newest session in the directory rather than one it knew was this one.
Sharing again later updates the same trace. To add only the steps since the last upload:
beacon share refresh --harness <runtime> --json
On failure the output is {"ok":false,"error":"..."} and the command exits non-zero.
No session found. List what Beacon can see here, then share the right one by id:
beacon share --list --harness <runtime> --json
beacon share --session <session-id> --json
If the list is empty, Beacon is probably not capturing this runtime; suggest
beacon endpoint install and stop.
Not signed in, or missing the traces:write permission. Ask the user to run beacon login
in their own terminal (it opens a browser, so do not run it for them), then retry. In CI or
another headless environment, a Beacon API key in the BEACON_API_KEY environment variable is
used instead; never ask the user to paste a key into the conversation.
A public share was refused. Without a terminal, public needs --yes, which you add only after
the user confirmed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub asymptote-labs/agent-beacon --plugin beacon6 skills in this plugin
/beacon-lens-createCreate, revise, debug or validate a Beacon lens, a single HTML file that renders one agent trace as a purpose-built view (a per-file review, a cost breakdown, a timeline of risky commands, a map of tool use) in a sandboxed tab of the local Beacon dashboard, fed once through window.beacon.getTrace(). Use when the user asks to "make a lens", "build a view of my traces", "visualize this session", wants a custom tab next to the full session in the Beacon dashboard, or when a lens fails to load, renders wrong, or needs checking before install./beacon-memory-distillTurn recorded agent sessions (Beacon traces from Claude Code, Cursor, Codex, OpenCode, and other harnesses) into reviewed, reusable project memory. Scores selected traces, reads the source trace behind each high-signal candidate, drafts a grounded lesson, and approves it only after the user confirms. Use when the user asks to "learn from", "remember", "save the lesson from", or "turn into memory" a recent session, fix, or debugging effort, or asks to review Beacon memory candidates./beacon-memory-promoteInstall approved Beacon project memory as an Agent Skill in the repository (.agents/skills/<slug>/SKILL.md), so every skill-capable harness loads the lesson automatically without a memory lookup. Use when the user asks to "make this a skill", "promote", "install", or "share" an approved Beacon memory, or wants the team's agents to always follow a learned workflow or convention.Other plugins' skills for the same job