Skip to content

feat: add laminar-debug-trace skill#4

Open
kolbeyang wants to merge 1 commit into
lmnr-ai:mainfrom
kolbeyang:feat/laminar-debug-trace-skill
Open

feat: add laminar-debug-trace skill#4
kolbeyang wants to merge 1 commit into
lmnr-ai:mainfrom
kolbeyang:feat/laminar-debug-trace-skill

Conversation

@kolbeyang

@kolbeyang kolbeyang commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds skills/laminar-debug-trace — a skill for coding agents debugging a Laminar-instrumented agent with the debugger:

  • Record a run under LMNR_DEBUG (pointer file ./.lmnr/last-run.json, console LMNR_DEBUG_RUN line, debugger URL)
  • Annotate: lmnr-cli debug session set-name, append-only lmnr-cli trace append-note with span-chip tags, lmnr-cli debug session summary for re-orientation
  • Inspect via lmnr-cli sql query (rollout.session_id filtering, span ordering, loop-call counting incl. CACHED)
  • Replay with 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-tools branches. 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_DEBUG runs (pointer file, session IDs), CLI session naming and append-only trace notes with span chips, SQL inspection (rollout.session_id, spans, CACHED loop counting, signal_events), and replay env vars (LMNR_DEBUG_FROM_LAST_RUN, LMNR_DEBUG_CACHE_UNTIL as 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.

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>
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