Langfuse Setup & Onboarding
This skill orchestrates getting onto Langfuse well: choosing a deployment, sequencing onboarding
so the irreversible decisions are made first, verifying the first trace, and confirming
production-readiness. It is the planning layer around the official langfuse skill, which owns the
instrumentation code itself.
Operating principles
- Distill judgment, fetch facts. This skill carries the durable decisions and ordering. For
anything that goes stale — exact SDK code, config flags, version numbers — fetch the live docs by
appending
.md to any page URL (e.g. https://langfuse.com/docs/observability/get-started.md)
or use https://langfuse.com/api/search-docs?query=.... Never instrument from memory.
- Defer code to the
langfuse skill. For instrumentation, CLI usage, prompt migration, and SDK
upgrades, use the vendored langfuse skill (skills/langfuse/). Do not duplicate or rewrite that
guidance here — hand off to it at the right step.
- Protect the irreversible decisions. Deployment + region (data residency) and project/
environment partitioning are painful to change after data exists. Settle them before ingesting
real traffic.
Workflow
1. Frame the goal
Determine which case applies:
- Greenfield / "how should I adopt Langfuse?" → run the full sequence below.
- Existing app, just wants tracing in → fast path: decisions + keys, then hand to the
langfuse
skill for instrumentation, then verify + readiness.
- "Is my setup production-ready?" → go straight to
references/production-readiness.md.
- "Traces aren't showing up" → verification/troubleshooting in
references/onboarding-sequence.md
(step 6); if unresolved, search-docs for the specific symptom.
2. Decide deployment + region
Use references/cloud-vs-self-host.md. Default to Langfuse Cloud unless a hard requirement (data
residency, VPC/air-gap, compliance, very-high-scale cost, EE-on-own-infra) forces self-hosting.
Region is permanent per project — decide before creating anything.
3. Walk the onboarding sequence
Follow references/onboarding-sequence.md in order: account → project → API keys (into env, never
chat) → instrumentation (hand off to the langfuse skill) → first trace → verify → organize
(environments, releases, user/session tagging).
For credentials, give the user assets/.env.example to fill in (it lists every region URL and the
required variables) and have them set keys in their shell or .env — never paste secret keys into
chat. For the exact env-var semantics (LANGFUSE_HOST vs LANGFUSE_BASE_URL, etc.), defer to the
vendored langfuse skill, which documents them.
4. Verify the first trace
Confirm the trace appears in the UI and the SDK auth check passes; ensure short-lived processes flush
before exit. Details in references/onboarding-sequence.md (step 6).
5. Production-readiness
Before real traffic, walk references/production-readiness.md — data retention, PII masking, RBAC,
environment separation, sampling, cost tracking, spend alerts, flush-on-shutdown, and (self-host)
UTC, backups, encryption, health checks, upgrade path.
Bundled resources
references/cloud-vs-self-host.md — deployment decision: when Cloud, when self-host, region
table, self-host deployment tiers and the architecture/UTC requirement you commit to operating.
references/onboarding-sequence.md — the ordered onboarding flow and first-trace verification
/ troubleshooting; explains why the order matters.
references/production-readiness.md — pre-production checklist (governance, access, signal
quality, reliability, self-host specifics), each item linking the live doc for exact config.
assets/.env.example — credentials template with all region URLs.
Hand-off map
| Need |
Where |
| Instrumentation code, CLI, prompt migration, SDK upgrade |
vendored langfuse skill (skills/langfuse/) |
| Exact config for any setting |
live docs via .md-append or search-docs |
| Deployment decision, onboarding order, prod checklist |
this skill |
1---2name: langfuse-setup3description: Orchestrates Langfuse adoption decisions and production-readiness — the planning the official `langfuse` skill doesn't cover. Use whenever the user is deciding HOW to adopt Langfuse or whether their setup is ready: "set up Langfuse", "Langfuse Cloud or self-host", "which Langfuse region", "configure Langfuse keys/env", "is my Langfuse setup production ready", "Langfuse prod checklist", "my traces aren't showing up", or planning a Langfuse rollout. Defers instrumentation CODE to the vendored `langfuse` skill — this skill owns the decisions, order, and verification around it.4---56# Langfuse Setup & Onboarding78This skill orchestrates *getting onto Langfuse well*: choosing a deployment, sequencing onboarding9so the irreversible decisions are made first, verifying the first trace, and confirming10production-readiness. It is the planning layer around the official `langfuse` skill, which owns the11instrumentation code itself.1213## Operating principles14151. **Distill judgment, fetch facts.** This skill carries the durable *decisions and ordering*. For16 anything that goes stale — exact SDK code, config flags, version numbers — fetch the live docs by17 appending `.md` to any page URL (e.g. `https://langfuse.com/docs/observability/get-started.md`)18 or use `https://langfuse.com/api/search-docs?query=...`. Never instrument from memory.192. **Defer code to the `langfuse` skill.** For instrumentation, CLI usage, prompt migration, and SDK20 upgrades, use the vendored `langfuse` skill (`skills/langfuse/`). Do not duplicate or rewrite that21 guidance here — hand off to it at the right step.223. **Protect the irreversible decisions.** Deployment + region (data residency) and project/23 environment partitioning are painful to change after data exists. Settle them before ingesting24 real traffic.2526## Workflow2728### 1. Frame the goal29Determine which case applies:30- **Greenfield / "how should I adopt Langfuse?"** → run the full sequence below.31- **Existing app, just wants tracing in** → fast path: decisions + keys, then hand to the `langfuse`32 skill for instrumentation, then verify + readiness.33- **"Is my setup production-ready?"** → go straight to `references/production-readiness.md`.34- **"Traces aren't showing up"** → verification/troubleshooting in `references/onboarding-sequence.md`35 (step 6); if unresolved, `search-docs` for the specific symptom.3637### 2. Decide deployment + region38Use `references/cloud-vs-self-host.md`. Default to Langfuse Cloud unless a hard requirement (data39residency, VPC/air-gap, compliance, very-high-scale cost, EE-on-own-infra) forces self-hosting.40Region is permanent per project — decide before creating anything.4142### 3. Walk the onboarding sequence43Follow `references/onboarding-sequence.md` in order: account → project → API keys (into env, never44chat) → instrumentation (hand off to the `langfuse` skill) → first trace → verify → organize45(environments, releases, user/session tagging).4647For credentials, give the user `assets/.env.example` to fill in (it lists every region URL and the48required variables) and have them set keys in their shell or `.env` — never paste secret keys into49chat. For the exact env-var semantics (`LANGFUSE_HOST` vs `LANGFUSE_BASE_URL`, etc.), defer to the50vendored `langfuse` skill, which documents them.5152### 4. Verify the first trace53Confirm the trace appears in the UI and the SDK auth check passes; ensure short-lived processes flush54before exit. Details in `references/onboarding-sequence.md` (step 6).5556### 5. Production-readiness57Before real traffic, walk `references/production-readiness.md` — data retention, PII masking, RBAC,58environment separation, sampling, cost tracking, spend alerts, flush-on-shutdown, and (self-host)59UTC, backups, encryption, health checks, upgrade path.6061## Bundled resources6263- **`references/cloud-vs-self-host.md`** — deployment decision: when Cloud, when self-host, region64 table, self-host deployment tiers and the architecture/UTC requirement you commit to operating.65- **`references/onboarding-sequence.md`** — the ordered onboarding flow and first-trace verification66 / troubleshooting; explains why the order matters.67- **`references/production-readiness.md`** — pre-production checklist (governance, access, signal68 quality, reliability, self-host specifics), each item linking the live doc for exact config.69- **`assets/.env.example`** — credentials template with all region URLs.7071## Hand-off map7273| Need | Where |74|------|-------|75| Instrumentation code, CLI, prompt migration, SDK upgrade | vendored `langfuse` skill (`skills/langfuse/`) |76| Exact config for any setting | live docs via `.md`-append or `search-docs` |77| Deployment decision, onboarding order, prod checklist | this skill |