haven-logs
Skill by langwatch
Reads a haven stack's own logs, errors, traces, metrics and profiles from its OpenTelemetry data. Useful for developers debugging a local haven stack. Output can be plain text for agents.
Install haven-logs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langwatch/langwatch /tmp/langwatch && mkdir -p ~/.claude/skills && cp -r /tmp/langwatch/.claude/skills/haven-logs ~/.claude/skills/haven-logsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langwatch/langwatch /tmp/langwatch && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/langwatch/.claude/skills/haven-logs ~/.gemini/antigravity-cli/skills/haven-logsAntigravity 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
This skill lets an assistant read the stack's own telemetry: logs, errors, traces, metrics and profiles from Tempo, Loki, Prometheus and Pyroscope. It covers the haven commands `haven logs`, `haven errors`, `haven obs traces`, `haven obs query`, `haven obs metrics` and `haven obs profiles`, plus the stores and jobs sections of `haven status`. Each read is filtered to the current worktree and includes a Grafana deep link.
It works through the haven CLI. Flags such as `--since`, `--level`, `--grep`, `--trace` and `--stack` narrow the results. The `obs query` command sends raw TraceQL, LogQL or PromQL queries, with this worktree's filter added automatically. The `--agent` flag prints plain output without colour or redraws. The skill is aimed at developers who run haven and want to find what failed, what is slow or what is using CPU.
Written from the project's SKILL.md and checked against it.
What it can do
- haven logsReads one service's log, with level, time window, grep and follow options.
- haven errorsLists the last distinct failures in the stack, grouped.
- haven obs tracesShows recent root spans or one trace's span tree, with duration and error filters.
- haven obs queryRuns raw TraceQL, LogQL or PromQL queries scoped to this worktree.
- haven obs metricsReads request rate, latency, queues and memory from the stack.
- haven obs profilesShows functions burning CPU and heap.
- haven status storesShows each database server against its limit.
- haven status jobsShows the one-shot lanes of the last up: install, codegen, migrations, seed and images.
What you need
- A haven stack
- The observability stack, on by default with haven up, for --loki and --trace
Try asking
- Show the last errors in the haven stack.
- Tail the api log for warnings and errors from the last 10 minutes.
- Find slow traces in the stack that failed, over 500ms.
Good to know
- --loki and --trace need the observability stack, which is on by default with haven up.
- --trace only finds log lines whose metadata carries trace_id. Otherwise fall back to --since.
- The -t flag is retired and exits with code 64. Use -f/--follow.
- Results are filtered to the current worktree unless --stack is given.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/haven-logs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to haven-logs
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
haven-logs: common questions
Are these the product's traces?
No. The source says these are the stack's own OTel data from Tempo, Loki, Prometheus and Pyroscope, not product traces.
How do I get plain output for an agent?
Use the --agent flag or set HAVEN_AGENT=1. Output then has no colour and no redraws.
Can I read logs from another worktree's stack?
Yes. Add --stack with the stack's slug to any of these commands.
How do I install haven-logs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is haven-logs free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is haven-logs safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to haven-logs?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
