Skip to content

docs(skills): add kernel-browser-telemetry skill - #34

Open
juecd wants to merge 1 commit into
mainfrom
docs/kernel-cli-browser-telemetry
Open

docs(skills): add kernel-browser-telemetry skill#34
juecd wants to merge 1 commit into
mainfrom
docs/kernel-cli-browser-telemetry

Conversation

@juecd

@juecd juecd commented Aug 3, 2026

Copy link
Copy Markdown

Documents the browser telemetry CLI (categories, historical reads, live streaming) as its own skill, and points kernel-cli at it so agents check telemetry before reaching for a screenshot.


Note

Low Risk
Documentation-only changes to skills and README; no runtime, auth, or API behavior is modified.

Overview
Introduces a new kernel-browser-telemetry agent skill that documents Kernel browser telemetry end-to-end: opt-in --telemetry categories at create/update, a category/event-type reference, kernel browsers telemetry events (filters, pagination, --all), and telemetry stream (filters, JSON envelopes, replay, --seq resume), plus a telemetry-first navigation workflow.

kernel-cli is updated so the quick-start session create enables console,network,page, Safe Operation tells agents to confirm state via telemetry before screenshots, and References link to the new skill. README lists the skill in the kernel-cli table.

Reviewed by Cursor Bugbot for commit 2a5779f. Bugbot is set up for automated code reviews on this repo. Configure here.

Documents the browser telemetry CLI (categories, historical reads,
live streaming) as its own skill, and points kernel-cli at it so
agents check telemetry before reaching for a screenshot.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@juecd
juecd marked this pull request as ready for review August 3, 2026 20:59

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2a5779f. Configure here.

kernel browsers telemetry stream <session_id> -o json

# Replay from the oldest retained event instead of from now
kernel browsers telemetry stream <session_id> --replay=all

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong telemetry stream replay flag

Medium Severity

The stream example documents --replay=all, but the Kernel CLI exposes a boolean --replay-all flag (API replay=all is not the CLI form). Agents following this skill hit an unrecognized-flag error instead of replaying retained events.

Fix in Cursor Fix in Web

Triggered by learned rule: Skill docs must not misrepresent tool/SDK capabilities at documented version

Reviewed by Cursor Bugbot for commit 2a5779f. Configure here.

| `screenshot` | Periodic screenshots of the session | `monitor_screenshot` |

`control`, `connection`, `system`, `captcha` are the default operational set. The rest
must be requested explicitly.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full telemetry catalog pasted

Medium Severity

The Categories section pastes a full category-to-event-type catalog instead of a short high-signal set plus a link to the canonical telemetry categories docs. The table already drifts: it omits the monitor category (monitor_disconnected / monitor_reconnected) and page_crashed, so agents miss gap and crash signals.

Fix in Cursor Fix in Web

Triggered by learned rule: Skill docs must cross-reference, not duplicate other skills

Reviewed by Cursor Bugbot for commit 2a5779f. Configure here.

- A script or page threw an error (`console_error`)
- An automated CAPTCHA solve succeeded or failed (`captcha_solve_result`)
- A crash or resource issue occurred (`system_oom_kill`, `service_crashed`)
- CDP/live-view connections dropped mid-task (`cdp_disconnect`, `live_view_disconnect`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opt-in precondition buried later

Medium Severity

The new skill leads with “check telemetry first / replace sleep + screenshot” before stating that capture is opt-in and off by default. The kernel-cli Safe Operation bullet makes the same “check telemetry first” claim without that precondition, so mid-debug agents can chase an empty event history on sessions where telemetry was never enabled.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by learned rule: Skill docs must lead with preconditions for opt-in features

Reviewed by Cursor Bugbot for commit 2a5779f. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant