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.
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-debugRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/macro-inc/macro /tmp/macro && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/macro/.agents/skills/live-debug ~/.gemini/antigravity-cli/skills/live-debugAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 →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.
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.
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.
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.
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.
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.
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.
