beacon-lens-create

beacon-lens-create is a skill for Claude Code from Asymptote-Labs/agent-beacon. It costs 129 tokens per session (3,385 once invoked), scanned A, original, MIT.

A tool for creating single-file HTML views of recorded AI-agent sessions inside the local Beacon dashboard. An agent trace is the recorded sequence of messages, tool calls, commands, edits, approvals, usage, and findings.

In plain words
What is it for?
It helps build trace views such as file reviews, cost breakdowns, command-risk timelines, and tool-use maps, then check and install them against real Beacon sessions.
Why use it?
It lets developers inspect a session through a focused view instead of only the dashboard's full-session display. The views remain on the local machine and run in a locked-down frame.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the beacon plugin — 5 skills, 1 MCP server shipped together

Good fit It helps build trace views such as file reviews, cost breakdowns, command-risk timelines, and tool-use maps, then check and install them against real Beacon sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asymptote-labs/agent-beacon/beacon-lens-create
About the project

Agent Beacon is a local-first memory layer that records AI coding-agent sessions and turns useful workflows, corrections, and debugging patterns into knowledge that other agents can reuse. Developers use it across Claude Code, Cursor, Codex, OpenCode, and other agent harnesses so lessons and repository conventions persist between sessions. The catalogue entries provide instructions and a skill for working with Beacon's shared agent memory.

Asymptote-Labs/agent-beacon · 1,834 stars · on GitHub · beacon.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create
Clone the repo
git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon

Made for: Claude Code.

Or install beacon, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for beacon-lens-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/asymptote-labs/agent-beacon/beacon-lens-create/github.svg)](https://agentmods.dev/skills/asymptote-labs/agent-beacon/beacon-lens-create)
Your own site
<a href="https://agentmods.dev/skills/asymptote-labs/agent-beacon/beacon-lens-create"><img src="https://agentmods.dev/badge/skills/asymptote-labs/agent-beacon/beacon-lens-create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for beacon-lens-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/asymptote-labs/agent-beacon/beacon-lens-create"><img src="https://agentmods.dev/badge/skills/asymptote-labs/agent-beacon/beacon-lens-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.03385
Opus 5.5 $0.00052 $0.01354
Sonnet 5.5 $0.00026 $0.00677
Haiku 4.5 $0.00013 $0.00338

Measured 4d ago against content hash b23c1bad1613, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

beacon-lens-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-skills/skills/beacon-lens-create/SKILL.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Beacon lens create

A lens is one self-contained HTML file that renders one agent trace: the prompts, agent messages, tool calls, commands, file edits, approvals, token usage and threat-rule findings Beacon recorded for a session. The local dashboard (beacon endpoint dashboard) shows lenses as tabs on a session's page, next to Full session, and runs each one in a locked-down frame.

You write the file, check it against the user's real sessions, and install it. Nothing is published anywhere: lenses live on this machine.

Step 1: check that Beacon is available

beacon version

If beacon is not found, tell the user that lenses need the Beacon CLI, point them to https://docs.beacon.sh/get-started/overview, and stop. Do not install it yourself.

Step 2: decide what the lens shows

Start from the user's description. If it is missing, or leaves a choice open that changes what the numbers mean (what counts as a "turn", a "failure", a "risky" command, which cost total), ask one focused question before building. Define each unit from this request, not from another lens, and label anything derived or estimated as such.

Step 3: read the spec and the real data

beacon lenses spec              # the format, the data, the sandbox, the style tokens
beacon lenses spec --example    # a complete working lens to start from
beacon lenses list              # lens ids already in use
beacon lenses data              # exactly what getTrace() returns for the latest session
beacon lenses data --session <session-id>

Read the whole spec before writing anything. Then look at real data rather than guessing its shape from the spec: note which event types the user's sessions carry, whether file.diff, command.output or usage is present, and whether findings exists. Design for those, and for sessions that lack them. The output contains whatever content the log retained (prompts, command output, diffs), so read it locally and do not paste large amounts back to the user.

Read the full file on GitHub · 233 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +8 lines b23c1bad1613
  2. 10d ago First seen · 225 lines · 129 tokens per session scan A c9bb7f49aefa

Subscribe to this mod's changes

beacon-lens-create is a skill published in the GitHub repository Asymptote-Labs/agent-beacon (1,834 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 3,385 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-06.

Related

Other skills, from other repositories