GitHub - langfuse/skills at onboarding_emails_v2_1_get_started

Open original

This is a GitHub repo of agent skills that teach AI coding assistants like Claude Code and Cursor how to work with Langfuse, the open-source platform for LLM tracing, prompt management, and evaluation. It includes a main skill for querying the Langfuse API and a migration skill for moving from LangSmith, Arize, or Braintrust.

  • The main "langfuse" skill lets an agent query and manage traces, prompts, datasets, and scores through the Langfuse API.
  • A separate "migrate-to-langfuse" skill interviews you about scope, then handles live tracing cutover and transfers historical traces, datasets, prompts, and evaluators.
  • Install paths cover a Cursor plugin, the skills CLI via npx, or a manual git clone and symlink, and all need a Langfuse account and API keys.

The repo at langfuse/skills is a set of "Agent Skills" that teach AI coding assistants like Claude Code and Cursor how to work with Langfuse, an open-source platform for LLM tracing, prompt management, and evaluation. There are two skills. The main one, called `langfuse`, lets the agent query and manage traces, prompts, datasets, and scores through the Langfuse API, look up docs, and follow best practices. The second, `migrate-to-langfuse`, is aimed at teams moving off another LLM observability or evals tool such as LangSmith, Arize, or Braintrust. It asks about scope first, then handles the live tracing cutover and moves over historical traces, datasets, prompts, and evaluators. Installation has three routes: adding it as a Cursor plugin with `/add-plugin langfuse`, running `npx skills add langfuse/skills --skill "langfuse"`, or cloning the repo and symlinking the skill folder into your agent's skills directory. Any of these needs a Langfuse account, cloud or self-hosted, plus a public and secret key pair set as environment variables. The base URL is configurable, so you can point it at `cloud.langfuse.com`, the US regional endpoint, or your own server. Keys live under Settings > API Keys in your project. Once installed, the agent picks up the skills on its own when the task fits. The listed triggers include setting up tracing in a project, auditing existing instrumentation, wiring CI/CD experiment gates with `langfuse/experiment-action`, preparing for the v4 platform migration, moving prompts into Langfuse prompt management, and querying traces or datasets over the API. The article also points contributors to a CONTRIBUTING.md file and a discussions page for requests or bug reports.

Ask about this article