Agent skill

Migrate To Langfuse

by langfuse in langfuse/skills

Migrate to Langfuse from another LLM observability/evals platform (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...).

MITAuto-check: notesAI & LLM Engineering

Install Migrate To Langfuse

skills CLI
$ npx skills add langfuse/skills --skill migrate-to-langfuse -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install langfuse/skills migrate-to-langfuse --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/langfuse/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/migrate-to-langfuse .claude/skills/migrate-to-langfuse && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-to-langfuse
GitHub stars
300
Token cost
~1.7k tokens
SKILL.md length
887 words
Files
2 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Migrate to Langfuse from another LLM observability/evals platform (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...).

  • Works in 4 steps: Interview (always, before any code) → Defaults to apply → Route by scenario → …
  • Tasks that involve LLM observability
  • SKILL.md covers 1. Interview (always, before…, 2. Defaults to apply, 3. Route by scenario and 4. Verify and close
  • Reaches langfuse.com; needs LANGFUSE_SECRET_KEY

What it does

Migrate To Langfuse is an agent skill from langfuse/skills. Migrate to Langfuse from another LLM observability/evals platform (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...). A one-off vendor switch: live tracing cutover plus transfer of historical traces, datasets, prompts, and evaluators. Not for anything Langfuse-to-Langfuse — SDK or version upgrades, project/region moves, self-hosted to Cloud — and not for moving in-code prompts into Langfuse; the main langfuse skill covers those.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/reingest-history.md`).

It sits in AI & LLM Engineering, covering LLM observability. It works with Langfuse and LangSmith. The repository describes itself as: Agent Skills for Langfuse, the open source LLM engineering platform for tracing, prompt management, and evaluation. The licence is MIT.

When your agent uses it

  • Tasks that involve LLM observability

Example prompts

  • “/migrate-to-langfuse”

Requirements

  • A credential in LANGFUSE_SECRET_KEY
  • Pre-approved tools (allowed-tools): WebFetch(domain:langfuse.com), Bash(curl *langfuse.com/*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Interview (always, before any code)
  2. Defaults to apply
  3. Route by scenario
  4. Verify and close

What it can do on your machine

Read from SKILL.md and the folder at commit b86532b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • WebFetch(domain:langfuse.com)
    • Bash(curl *langfuse.com/*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • langfuse.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LANGFUSE_SECRET_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate To Langfuse loads about 1.7k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 118 tokens; SKILL.md has 887 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:19
    k for secrets in chat, and never access `.env` contents or key values by any means — no shell commands that echo them, n

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from langfuse/skills at commit b86532b, republished under its MIT licence (© langfuse). 887 words, ~1,705 tokens.

Download SKILL.mdSave it as .claude/skills/migrate-to-langfuse/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
migrate-to-langfuse
description
Migrate to Langfuse from another LLM observability/evals platform (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...). A one-off vendor switch: live tracing cutover plus transfer of historical traces, datasets, prompts, and evaluators. Not for anything Langfuse-to-Langfuse — SDK or version upgrades, project/region moves, self-hosted to Cloud — and not for moving in-code prompts into Langfuse; the main langfuse skill covers those.
allowed-tools
WebFetch(domain:langfuse.com), Bash(curl *langfuse.com/*)

Migrate to Langfuse

You are running a one-off vendor switch to Langfuse. Interview first, plan second, execute only after confirmation. Never implement from memory — fetch the current Langfuse docs listed below at execution time.

1. Interview (always, before any code)

Ask only what you cannot detect. Inspect the repo first: dependencies and imports usually reveal the source platform (langsmith, arize, phoenix, braintrust, openinference, old langfuse pins).

  1. Source — which platform and version? Cloud or self-hosted? What access exists: API keys, a database connection, or only the application repo?
  2. Destination — Langfuse Cloud (which region) or self-hosted? Verify credentials by presence only (e.g. [ -n "$LANGFUSE_SECRET_KEY" ]); never ask for secrets in chat, and never access .env contents or key values by any means — no shell commands that echo them, no reading .env with file tools, no grepping for values. Detect which variable names are set, nothing more.
  3. Scope — which of: live tracing cutover, historical traces (including their scores, score configs, and custom model definitions), datasets, prompts, evaluators/LLM judges, experiment code. For history: everything or from a cutoff date? Ask what else exists in the source account (dashboards, alerts, annotation queues, saved views, ...). The repo cannot reveal server-side assets. Anything outside the supported list above is not covered by this skill: name it in the scope table as such, so the user plans to recreate it manually instead of discovering the gap after cutover.
  4. Mode — plan only (a written runbook) or execute?

If the request contradicts the repository (it names a platform that is not present, or asks to upgrade an SDK that is not installed), stop and reconcile with the user first — never reinterpret the request as a different migration and start executing it.

Present the resulting plan (scope table plus order of operations) and get the user's confirmation before changing any file. However imperative the request sounds, it does not authorize removing or replacing the existing vendor's instrumentation before the plan is confirmed.

2. Defaults to apply

  • Live cutover first. Historical data migration is optional and billed as new ingestion in Langfuse — say so before migrating history. If the source already emits OTel/OpenInference spans, add Langfuse as a second exporter on the existing instrumentation instead of re-instrumenting; the old destination is dropped only when the parallel-run window below closes.
  • Datasets and prompts copy. Evaluators and judges are recreated. Experiment code is rewritten and re-run against the migrated dataset; never import old experiment scores.
  • Test on a sample before the full run. Migrate ~10 traces first, link the destination traces, and wait for the user to confirm they look correct before migrating everything.
  • Show progress (pages/counts) during long runs and make re-runs resumable: track sent source IDs in a state file and skip them, re-sending the same IDs creates duplicate observations (see references/reingest-history.md).
  • Parallel-run window. Keep the old exporter until the user confirms the destination data, then remove it in a separate, explicit step. This binds the implementation, not just the plan: after your edits, the old vendor's exporter/instrumentation must still be present and active. Before showing a diff, re-check that no vendor import, register call, exporter endpoint, or exporter env var was deleted or repointed. Implement parallel export as one instrumentation with two exporters (both span processors on the same tracer provider) — never instrument the application twice. Duplicated generations and double-counted costs in the destination are the symptom of a second capture path.
Show full SKILL.md (323 more words)Show less

3. Route by scenario

Fetch and follow; do not reproduce their content:

ScenarioSource of truth
Vendor with a published guide (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...)https://langfuse.com/resources/engineering/migrate-from-<vendor>.md — check https://langfuse.com/llms.txt for the current list
Vendor without a published guide, or historical data from any vendorreferences/reingest-history.md, plus the vendor's own export API docs

Historical-trace reingestion is never improvised: read references/reingest-history.md in full before writing or running any reingestion code, even when a vendor guide exists. The vendor guide covers extraction; the reference governs reingestion — deterministic IDs, raw OTLP payloads, original timestamps, the cutover-time bound, and the warning that imported history is billed as new ingestion.

If the source turns out to be another Langfuse deployment (an older version, a different project, region, or host), stop — that is not a vendor switch. Point the user to the main langfuse skill (its SDK-upgrade and v4-migration references) and the project-to-project migration cookbook.

For the live instrumentation cutover, use the integration guide matching the user's framework or SDK from https://langfuse.com/llms.txt. For deep Langfuse-side work (prompt creation, dataset APIs, experiment code), defer to the main langfuse skill if installed.

4. Verify and close

  • Sample check confirmed by the user in the destination UI before the full run.
  • Before asking the user to confirm a live-cutover sample, audit it yourself via the Langfuse API or CLI: one trace per request; the root span named after the agent/app (and the trace named after the root); every span type present (generations and tool/chain spans); each LLM call captured exactly once; token usage and cost populated. Only then send the user the trace links.
  • Counts match per migrated data type (source vs destination); report a summary table including failures.
  • Live traffic arrives in the destination; the old exporter is removed only after the parallel-run window the user chose.
  • The close-out summary accounts for every scope-table row from the interview, including the ones marked skipped or not covered — nothing is silently dropped.

© langfuse, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/migrate-to-langfuse of langfuse/skills.

  • SKILL.md
  • references/reingest-history.md

Open the folder on GitHubat commit b86532b

Compare with similar skills

Migrate To Langfuse next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate To Langfuse compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate To Langfuse this skilllangfuse/skills300—~1.7kAutomated safety check: NotesMIT
Agentsop Observability Setupagentsope/SkillAlchemy466—~4.4kAutomated safety check: PassMIT
LangSmith Trace DebuggingComposioHQ/awesome-claude-skills77k8 repos~2.7kAutomated safety check: PassNone
Langfuseavivsinai/langfuse-mcp1131 repos~580Automated safety check: PassMIT
Langfuse Integration Pagelangfuse/langfuse-docs247—~3.7kAutomated safety check: PassMIT
Langfuse and LLM Gateway LogsKonghaYao/peri224—~4.3kAutomated safety check: NotesApache-2.0

Similar skills

  • Agentsop Observability Setup

    agentsope/SkillAlchemy

    Enhancement-overlay skill — the DECISION + WIRING layer for LM observability that the single-backend skills [[langsmith]], [[phoenix]], [[mlflow]] do NOT cover.

    466 GitHub stars~4.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • LangSmith Trace Debugging

    ComposioHQ/awesome-claude-skills

    Debugs LangChain and LangGraph agents by pulling recent execution traces with the langsmith-fetch CLI and reporting errors, tool calls, timings and token use.

    77k GitHub starsUsed in 8 repos~2.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Langfuse

    avivsinai/langfuse-mcp

    Investigate AI traces, observations, exceptions, latency, sessions, prompts, datasets, annotation queues, and scores through Langfuse MCP.

    113 GitHub starsUsed in 1 repo~580 tokens
    AI & LLM EngineeringAuto-check passed
  • Langfuse Integration Page

    langfuse/langfuse-docs

    Create a new Langfuse integration page in the langfuse-docs repo.

    247 GitHub stars~3.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Queries Langfuse traces, prompts, datasets and sessions, and analyzes local LLM gateway logs for requests, context growth, token use and cache hits.

    224 GitHub stars~4.3k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Langfuse Previews

    langfuse/langfuse

    Use Langfuse's disposable per-PR previews at pr-N.preview.langfuse.com (synthetic data only).

    36k GitHub stars~2.8k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes

More from langfuse/skills

  • Langfuse

    langfuse/skills

    Interact with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications.

    300 GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check: notes

Questions about Migrate To Langfuse

What does Migrate To Langfuse do?

Migrate to Langfuse from another LLM observability/evals platform (LangSmith, Arize AX, Phoenix, Braintrust, Helicone, Promptfoo, ...). Migrate To Langfuse is an agent skill from langfuse/skills.).

When should I use Migrate To Langfuse?

Migrate To Langfuse fits situations like: tasks that involve LLM observability.

How do I install Migrate To Langfuse in Claude Code?

Run `npx skills add langfuse/skills --skill migrate-to-langfuse -a claude-code`. Or copy the skill folder (skills/migrate-to-langfuse in langfuse/skills) into .claude/skills/migrate-to-langfuse in your project. Claude Code loads it when a task matches its description.

How do I install Migrate To Langfuse in Codex?

Run `npx skills add langfuse/skills --skill migrate-to-langfuse -a codex`. Or copy the skill folder (skills/migrate-to-langfuse in langfuse/skills) into .agents/skills/migrate-to-langfuse in your project. Codex loads it when a task matches its description.

Can I use Migrate To Langfuse in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langfuse/skills --skill migrate-to-langfuse -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-to-langfuse, .gemini/skills/migrate-to-langfuse, .github/skills/migrate-to-langfuse and .opencode/skills/migrate-to-langfuse in your project.

What does Migrate To Langfuse need to run?

Going by SKILL.md and its folder, Migrate To Langfuse needs credentials named LANGFUSE_SECRET_KEY. Our summary lists: A credential in LANGFUSE_SECRET_KEY. Its frontmatter pre-approves these tools: WebFetch(domain:langfuse.com), Bash(curl *langfuse.com/*).

Does Migrate To Langfuse access the network?

SKILL.md names 1 domain. In commands or code: langfuse.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Migrate To Langfuse safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Migrate To Langfuse use?

Migrate To Langfuse is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migrate To Langfuse use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Migrate To Langfuse?

Skills that share tags, products or a category with Migrate To Langfuse: Agentsop Observability Setup (agentsope/SkillAlchemy, 466 stars), LangSmith Trace Debugging (ComposioHQ/awesome-claude-skills, 77k stars), Langfuse (avivsinai/langfuse-mcp, 113 stars) and Langfuse Integration Page (langfuse/langfuse-docs, 247 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate To Langfuse?

langfuse (a GitHub organization) maintains it in langfuse/skills, which has 300 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 1, 2026.

Source: langfuse/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.