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

langfuse-previews

Skill by langfuse

Explains how to use Langfuse's disposable per-PR preview environments at pr-N.preview.langfuse.com. It covers access, seeding synthetic test data, kubectl debugging and waking sleeping previews. Intended for Langfuse contributors, and only for synthetic data.

  • Score 82
  • 38k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install langfuse-previews

Built from the published package, never by AI.

git clone --depth 1 https://github.com/langfuse/langfuse /tmp/langfuse && mkdir -p ~/.claude/skills && cp -r /tmp/langfuse/.agents/skills/langfuse-previews ~/.claude/skills/langfuse-previews

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

Step-by-step: install langfuse-previews in Claude Code

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

About

This skill explains Langfuse's disposable per-PR preview environments. Each same-repo pull request on langfuse/langfuse can get a full-stack Langfuse instance at pr-N.preview.langfuse.com. The PR builds a web and worker image, and Argo CD deploys it when the author is on the deploy allowlist. Closing the PR deletes the namespace, data, and DNS record.

The skill covers opening and logging into a preview, reading captured email through Mailpit, and seeding test data with the deterministic seed CLI over port-forwards. It also gives kubectl commands for logs, pod status, and debugging, and for waking a preview that has scaled to zero off-hours. It is for Langfuse contributors who work on PRs and need a running environment with synthetic data.

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

What it can do

  • Open a previewOpens a same-repo PR so it builds and gets a pr-N preview URL with a bot comment.
  • Log in to a previewExplains the shared demo login and the regular sign-in flow for testing auth changes.
  • Read captured emailPort-forwards the in-namespace Mailpit SMTP sink to view invites and reset emails.
  • Seed test dataRuns the deterministic seed CLI against a preview's Postgres and ClickHouse databases.
  • Debug with kubectlProvides commands to check pods, read web and worker logs, and inspect events.
  • Wake a sleeping previewSets a downscaler annotation so an off-hours preview returns to running replicas.
  • Troubleshoot symptomsMaps common symptoms such as a 404 URL or Pending pods to likely causes and fixes.
  • Get deploy accessDescribes adding a GitHub login to the deploy allowlist and getting cluster access.

What you need

  • Same-repo PR with write access to langfuse/langfuse
  • Deploy allowlist entry for a live preview URL
  • Cluster access for kubectl debugging and seeding
  • Local Langfuse checkout with a working .env for seeding

Try asking

  • Wake my preview for pr-42 so I can test it tonight
  • Seed a deep trace chain into my pr-42 preview
  • Show the web logs for my preview namespace langfuse-pr-42

Good to know

  • Synthetic data only, since the login is shared and the URL is public
  • Fork PRs never build or deploy previews
  • Previews scale to zero outside Mon-Fri 08:00-24:00 Europe/Berlin
  • Closing a PR destroys its database, and reopening gives a fresh environment

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

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

Inside the skill

  • SKILL.md11 KB

Alternatives to langfuse-previews

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

langfuse-previews: common questions

Why does my preview URL return 404?

The PR built, but the author is not on the deploy allowlist, so nothing was deployed. The source says to add your GitHub login to the allowlist in the langfuse/infrastructure repo.

Is my data kept when I update a PR?

Pushing to the PR rebuilds the preview on the same URL with data preserved. Closing the PR deletes the data, and reopening creates a fresh environment.

Can I use real customer data in a preview?

No. The source says previews must only use synthetic data, because the login is shared and the URL is public.

How do I install langfuse-previews?

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

Is langfuse-previews free?

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

Is langfuse-previews safe to use?

It scores 82 of 100. Grades: maintenance A, licence F, 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 langfuse-previews?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

langfuse-previews Install

Add to stack

Loading.