feat: add laminar-debug-trace skill#4
Open
kolbeyang wants to merge 1 commit into
Open
Conversation
Record/inspect/annotate/replay workflow for debugging Laminar-instrumented agents: LMNR_DEBUG runs, CLI SQL inspection, session names + per-trace notes (append-note, session summary), and cached replay via LMNR_DEBUG_CACHE_UNTIL (count or span id). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
skills/laminar-debug-trace— a skill for coding agents debugging a Laminar-instrumented agent with the debugger:LMNR_DEBUG(pointer file./.lmnr/last-run.json, consoleLMNR_DEBUG_RUNline, debugger URL)lmnr-cli debug session set-name, append-onlylmnr-cli trace append-notewith span-chip tags,lmnr-cli debug session summaryfor re-orientationlmnr-cli sql query(rollout.session_idfiltering, span ordering, loop-call counting incl.CACHED)LMNR_DEBUG_FROM_LAST_RUN/LMNR_DEBUG_REPLAY_TRACE_ID/LMNR_DEBUG_CACHE_UNTIL(count or span-id form, inclusive semantics, live fallback behavior)Verified against the current lmnr-ts
refactor/lam-1672-sdk-debugger-rework+feat/lam-1672-cli-debug-trace-toolsbranches. Also registered in the README (install line, example prompt, contents).🤖 Generated with Claude Code
Note
Low Risk
Documentation-only skill and README updates; no runtime, auth, or application code changes.
Overview
Adds
laminar-debug-trace, a new agent skill that documents the record → inspect → annotate → replay workflow for Laminar-instrumented agents.The skill covers
LMNR_DEBUGruns (pointer file, session IDs), CLI session naming and append-only trace notes with span chips, SQL inspection (rollout.session_id, spans,CACHEDloop counting,signal_events), and replay env vars (LMNR_DEBUG_FROM_LAST_RUN,LMNR_DEBUG_CACHE_UNTILas count or span id, live-fallback caveats).README is updated with install command, an example debug prompt, and a contents entry for the new skill file.
Reviewed by Cursor Bugbot for commit 3880b28. Bugbot is set up for automated code reviews on this repo. Configure here.