Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

live-debug

Skill by macro-inc

Debugs the running local stack with traces, logs, and a shared headless Chrome. Built for developers investigating bugs in running services, tracing requests across services, or reproducing frontend issues.

  • Score 82
  • 6.5k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install live-debug

Built from the published package, never by AI.

git clone --depth 1 https://github.com/macro-inc/macro /tmp/macro && mkdir -p ~/.claude/skills && cp -r /tmp/macro/.agents/skills/live-debug ~/.claude/skills/live-debug

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install live-debug in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The live-debug skill gives an AI assistant access to a local development stack. It queries traces in Tempo and logs in Loki through the grafana MCP server, and it can query Prometheus metrics. Every Rust service exports spans and tracing events over OTLP, and the frontend propagates traceparent so one trace covers browser, proxy and services.

The skill also drives a shared headless Chrome container through the chrome-devtools MCP server, so the assistant can navigate, snapshot, click and read console and network output. It also covers writing and verifying tracing instrumentation. Its tips cover Macro app flows, such as login, documents, and AI edits. It is aimed at developers debugging a running local Macro stack.

Written from the project's SKILL.md and checked against it.

What it can do

  • query_loki_logsRuns LogQL queries against service logs in Loki.
  • find_error_pattern_logsFinds error patterns in Loki service logs.
  • tempo_traceql-searchSearches Tempo traces with TraceQL, for example by error status or slow duration.
  • tempo_get-traceFetches a full Tempo trace by its trace ID.
  • query_prometheusRuns queries against Prometheus metrics.
  • take_snapshotTakes a snapshot of the headless Chrome page to act on its elements.
  • navigate_pageNavigates the shared headless Chrome browser to a URL.
  • evaluate_scriptRuns script in the browser page to check state, such as editor content.
  • list_console_messagesLists browser console messages to help find errors.
  • list_network_requestsLists browser network requests, such as failing XHR or fetch calls.

What you need

  • Docker, for the LGTM collector and the headless Chrome container
  • The just command runner, for run_local and stack up

Try asking

  • Find the slowest recent traces for the email_service and summarize them.
  • Show error logs from document-storage-service in the last hour.
  • Open the local app in the browser and check the console for errors.

Good to know

  • Collectors bind ports 4317 and 4318, so only one runs at a time.
  • Tempo's search index flushes about every 30 seconds, so new traces may not show in search yet.
  • The fill tool does not work on contenteditable fields; click to focus, then type.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: .agents/skills/live-debug/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadGrepGlob

  • SKILL.md9 KB

Alternatives to live-debug

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

live-debug: common questions

How does the assistant find traces for a bug?

It searches Tempo with TraceQL by route, duration, or span attributes, then fetches the matching trace by ID. Log lines include trace_id and span_id so logs can be correlated.

Can the assistant reproduce a frontend issue?

Yes. The skill uses the chrome-devtools MCP tools on a shared headless Chrome to navigate, take snapshots, and inspect console and network output. The browser's traceparent links the frontend action to backend traces.

Does it work with other trace collectors?

The source says --traces off disables the collector and --traces jaeger or datadog swaps it. It does not describe querying those collectors through this skill.

How do I install live-debug?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is live-debug free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is live-debug safe to use?

It scores 82 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to live-debug?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

live-debug Install

Add to stack

Loading.