Debug
asgeirtj/system_prompts_leaks
Enable debug logging for this session and help diagnose issues
Create, 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…
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-create --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .claude/skills/beacon-lens-create && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .claude/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-createType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-create --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .agents/skills/beacon-lens-create && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .agents/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-create --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .cursor/skills/beacon-lens-create && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .cursor/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Asymptote-Labs/agent-beacon.git --path agent-skills/skills/beacon-lens-create--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-create --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .gemini/skills/beacon-lens-create && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .gemini/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-createInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .github/skills/beacon-lens-create && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .github/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Asymptote-Labs/agent-beacon beacon-lens-create --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Asymptote-Labs/agent-beacon.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent-skills/skills/beacon-lens-create .opencode/skills/beacon-lens-create && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "beacon-lens-create" agent skill from https://github.com/Asymptote-Labs/agent-beacon/tree/main/agent-skills/skills/beacon-lens-create into .opencode/skills/beacon-lens-create/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beacon-lens-create", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
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…
Beacon Lens Create is an agent skill from Asymptote-Labs/agent-beacon. Create, 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…
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires the Beacon CLI (beacon) on PATH with endpoint capture installed, so there are traces to render. Reads only local state and makes no network calls.
The repository describes itself as: The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2462839. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and javascript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.beacon.shFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires the Beacon CLI (beacon) on PATH with endpoint capture installed, so there are traces to render. Reads only local state and makes no network calls.
From compatibility in the SKILL.md frontmatter.
Beacon Lens Create loads about 3.3k tokens when it runs. Until then it costs about 141 tokens; SKILL.md has 1,750 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Asymptote-Labs/agent-beacon at commit 2462839, republished under its MIT licence (© Asymptote-Labs). 1,750 words, ~3,250 tokens.
.claude/skills/beacon-lens-create/SKILL.md (or your agent's skills folder).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.
beacon versionIf 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.
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.
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.
One HTML file. No build step, bundler or package.json. Write it in the user's project or a
scratch directory, never directly in the lens store.
The dashboard enforces these; a lens that breaks them fails to install or fails to run.
data: URIs for
images and fonts). Inlining a library is allowed but counts against the size and costs parse
time on every open; prefer a few lines of your own.<script type="application/beacon-lens+json">, holding id, title, version and
"api": "beacon.lens.v1" (optionally description, icon, author; unknown keys are an
error). The id is lowercase letters, digits and hyphens, and cannot be a built-in lens's id.fetch,
XHR, WebSockets, EventSource, sendBeacon, remote scripts, stylesheets, fonts and images,
@import, workers, nested frames, eval and new Function.sandbox="allow-scripts" with an opaque origin: no
cookies, localStorage, sessionStorage or IndexedDB, no access to the parent page, no popups
or forms. Keep state in memory.The host defines window.beacon before your scripts run. Its one call is the whole data API:
const data = await window.beacon.getTrace();It resolves once with everything you get and never refreshes. Calling it again returns the same
promise. It rejects with an Error if the trace does not arrive within 10 seconds; show that
message instead of a blank tab.
The result is LensDataV1; beacon lenses spec has the full shape. The parts you will use most:
trace.summary: title, started_at/ended_at, event_count, harness.name, session,
repository, model, token_usage.trace.events[], in order, each with id, number, timestamp, type, action and
optional title, summary, fidelity, content, tool, command, file, mcp,
approval, policy, error, model, usage, tool_call_id. error.type is set when the
runtime reported the action as failed, even on an event whose type is not error. type is one of user_message,
agent_message, agent_reasoning, tool_call, tool_result, command, file, mcp,
approval, token_usage, session, error, other, and the list can grow.findings: threat-rule matches, each pointing at its evidence by event_ids.token_usage and token_coverage: the trace's counted usage, and whether this runtime reports
usage at all.truncated: the trace was cut to fit the size cap.Things that are easy to get wrong:
command.output and
file.diff arrive as {text?, included, retention, redacted?, truncated?, hash?, bytes?}.
When included is false the text was not kept or was redacted; show the hash and bytes
instead of an empty box, and say why.findings means the trace was not scanned; an empty
findings.items means it was scanned and nothing matched. Say which. The same goes for
token_usage.usage across events for a total. Some runtimes report the same tokens on two
channels or as cumulative counters. token_usage.totals is the deduplicated count; if you
also show per-event figures, say they can add up to more. cost_usd is only ever what the
runtime reported. Lens data carries no estimate (Beacon's list-price estimates live in
beacon token-usage and the Tokens page), and a lens must not compute one.fidelity: "inferred" marks an action Beacon derived rather than observed (for example an
approval built from a pre-tool notification). Show the difference when it matters.tool_call_id, not on adjacency, and order by number or
timestamp, not array position.truncated is true, or trace.events.length is less than
trace.summary.event_count, say "over the first N of M events" instead of presenting a partial
total as the whole trace. A finding's evidence may point at an event that is not in the bundle.api_version, trace.schema_version, trace.id,
trace.summary.id, trace.events (possibly empty), each event's id, number, timestamp,
type and action, and truncated. Everything else can be missing. Show a placeholder, never
undefined or NaN, and never throw on a missing field.textContent or document.createTextNode; never
innerHTML, outerHTML, insertAdjacentHTML or document.write, and never use trace content
as a URL.getTrace() resolves, an
error line if it rejects, and an empty state for a trace with nothing to show. Keep the states
mutually exclusive; if you use the hidden attribute, add [hidden] { display: none !important; }
so your own display rules cannot reveal two states at once.The lens renders inside a session page, under the page's own heading and tab bar, so it should read as that tab's content rather than an embedded widget.
<h1> or eyebrow text; the tab label is the
heading. Add an <h2> only where a later section needs one. Leave html and body
transparent, with no background, no outer padding or margin (body { margin: 0 }), and no
outer border.max-width.100vh or height: 100%, and do not build an inner scrolling container.--beacon-text, --beacon-muted, --beacon-line (hairlines), --beacon-panel-soft
(recessed fills), --beacon-accent and --beacon-accent-soft (links, selection, focus, one
emphasis), --beacon-danger, --beacon-warn, --beacon-ok (only where they mean something),
--beacon-font-sans and --beacon-font-mono. Take colours from these tokens rather than
inventing a palette, so the lens follows the dashboard if its theme changes.Intl.NumberFormat; format times as short dates or relative times.prefers-reduced-motion: reduce.beacon lenses lint --strict path/to/my-lens.lens.htmlErrors (size, a missing or invalid manifest) stop the lens from running. Warnings name the line
where the lens does something the sandbox blocks or the spec forbids: HTML parsing of content,
network calls, resources loaded by URL, browser storage, navigation, viewport-height layouts, or
never calling getTrace(). Fix both.
beacon lenses preview path/to/my-lens.lens.html --session <session-id>This serves the dashboard with the lens added and prints the session page to open (--open
opens a browser). It runs until interrupted, so start it in the background if your harness
blocks on long-running commands. The file is read again on every page load: edit, reload,
repeat. Nothing is installed.
Ask the user to look at it, and check at least one session that lacks the data the lens is about (no diffs, no usage, no findings) to see the empty state. If the dashboard shows "The … lens could not be shown" and falls back to the full session, the notice gives the reason:
getTrace(), or blocked the
main thread on a large trace.location, submitted a form or followed a
link inside the frame.Only after the user has seen it in preview and is happy with it:
beacon lenses add path/to/my-lens.lens.htmlIt now appears in the + menu on every session page. To change it later, edit the source
file, bump version in its manifest, and run beacon lenses add again; an equal or lower
version is refused unless the user asks for --force. beacon lenses remove <id> uninstalls it.
getTrace().© Asymptote-Labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agent-skills/skills/beacon-lens-create of Asymptote-Labs/agent-beacon.
Open the folder on GitHubat commit 2462839
Beacon Lens Create next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Beacon Lens Create this skillAsymptote-Labs/agent-beacon | 1.8k | — | ~3.3k | Automated safety check: Pass | MIT | |
| Debugasgeirtj/system_prompts_leaks | 69k | — | ~439 | Automated safety check: Pass | CC0-1.0 | |
| Openclaw Debuggingopenclaw/openclaw | 392k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Debugging Executionsn8n-io/n8n | 207k | — | ~2.6k | Automated safety check: Pass | Custom licence | |
| DebuggingJetBrains/intellij-community | 21k | — | ~422 | Automated safety check: Pass | Custom licence | |
| Debugging Toolkitsickn33/agentic-awesome-skills | 47k | 1 repos | ~344 | Automated safety check: Pass | MIT |
asgeirtj/system_prompts_leaks
Enable debug logging for this session and help diagnose issues
openclaw/openclaw
Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code, including fetching stored…
n8n-io/n8n
Debug failed or wrong-output workflow executions using executions tools.
JetBrains/intellij-community
Debug IntelliJ IDE failures with repository-specific techniques.
sickn33/agentic-awesome-skills
A skill your agent uses when working with debugging toolkit smart debug (Alias for debugging-toolkit-smart-debug)
vercel/next.js
Debug and verification workflow for runtime-bundle and module-resolution regressions.
Asymptote-Labs/agent-beacon
Turn recorded agent sessions (Beacon traces from Claude Code, Cursor, Codex, OpenCode, and other harnesses) into reviewed, reusable project memory.
Asymptote-Labs/agent-beacon
Install 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.
Asymptote-Labs/agent-beacon
Retrieve reviewed project memory that Beacon distilled from earlier agent sessions in any harness (Claude Code, Cursor, Codex, OpenCode, and others) before starting work.
Asymptote-Labs/agent-beacon
Verify a Beacon change end to end by running a real Claude Code session inside a disposable Linux cloud sandbox and checking that Beacon captured what the agent actually did.
Create, 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…. Beacon Lens Create is an agent skill from Asymptote-Labs/agent-beacon.getTrace().
Beacon Lens Create fits situations like: 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.
Run `npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a claude-code`. Or copy the skill folder (agent-skills/skills/beacon-lens-create in Asymptote-Labs/agent-beacon) into .claude/skills/beacon-lens-create in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a codex`. Or copy the skill folder (agent-skills/skills/beacon-lens-create in Asymptote-Labs/agent-beacon) into .agents/skills/beacon-lens-create in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Asymptote-Labs/agent-beacon --skill beacon-lens-create -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/beacon-lens-create, .gemini/skills/beacon-lens-create, .github/skills/beacon-lens-create and .opencode/skills/beacon-lens-create in your project.
SKILL.md names no scripts, command-line tools or credentials: Beacon Lens Create is instructions for the agent only. Compatibility (from SKILL.md): Requires the Beacon CLI (beacon) on PATH with endpoint capture installed, so there are traces to render. Reads only local state and makes no network calls..
SKILL.md names 1 domain. As links in the text: docs.beacon.sh. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Beacon Lens Create is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Beacon Lens Create: Debug (asgeirtj/system_prompts_leaks, 69k stars), Openclaw Debugging (openclaw/openclaw, 392k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Debugging (JetBrains/intellij-community, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Asymptote-Labs (a GitHub organization) maintains it in Asymptote-Labs/agent-beacon, which has 1,810 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 11, 2026.
Source: Asymptote-Labs/agent-beacon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.