Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

langfuselangfuse 测试

Agent Skill

langfuse 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

81,480

周安装

3,530

GitHub Stars

107

下载量

28,560
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:langfuse(langfuse 测试)
来源仓库:https://github.com/langfuse/skills
仓库路径:skills/langfuse
安装命令:
npx skills add https://github.com/langfuse/skills --skill langfuse
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/langfuse/skills --skill langfuse

简介

通过 CLI 和 Web 资源进行编程式 Langfuse 数据访问和文档查找。

  • 使用 langfuse-cli 查询和修改 Langfuse 数据(跟踪、提示、数据集、分数、会话)
  • 通过 npx 进行完整的 REST API 模式发现
  • 通过三种方法访问当前的 Langfuse 文档:结构化索引 (llms.txt)、单独的 Markdown 页面和跨文档搜索 API
  • 包括针对检测、提示迁移、用户反馈捕获、SDK 升级和 CLI 工作流程的特定用例参考指南
  • 需要将 Langfuse API 凭证(公钥和密钥)设置为环境变量;支持云和自托管实例

SKILL.md

Langfuse

This skill helps you use Langfuse effectively across all common workflows: instrumenting applications, migrating prompts, debugging traces, and accessing data programmatically.

Core Principles

Follow these principles for ALL Langfuse work:

  1. Documentation First: NEVER implement based on memory. Always fetch current docs before writing code (Langfuse updates frequently) See the section below on how to access documentation.
  2. CLI for Data Access: Use langfuse-cli when querying/modifying Langfuse data. See the section below on how to use the CLI.
  3. Best Practices by Use Case: Check the relevant reference file below for use-case-specific guidelines before implementing
  4. Use latest Langfuse versions: Unless the user specified otherwise or there's a good reason, always use the latest version of Langfuse SDKs/APIs.

Use case specific references

  • instrumenting an existing function/application: references/instrumentation.md
  • migrating prompts from a codebase into Langfuse: references/prompt-migration.md
  • capturing user feedback (thumbs, ratings, implicit signals) as scores on traces: references/user-feedback.md
  • further tips on using the Langfuse CLI: references/cli.md
  • upgrading or migrating Langfuse SDKs to the latest version: references/sdk-upgrade.md
  • submitting feedback about this skill: references/skill-feedback.md

1. Langfuse API via CLI

Use the langfuse-cli to interact with the full Langfuse REST API from the command line. Run via npx (no install required):

Start by discovering the schema and available arguments:

# Discover all available resources
npx langfuse-cli api __schema

# List actions for a resource
npx langfuse-cli api <resource> --help

# Show args/options for a specific action
npx langfuse-cli api <resource> <action> --help

Credentials

Set environment variables before making calls:

export LANGFUSE_PUBLIC_KEY=pk-lf-...
export LANGFUSE_SECRET_KEY=sk-lf-...
export LANGFUSE_HOST=https://cloud.langfuse.com # example for EU cloud. For US cloud it's us.cloud.langfuse.com, and can also be a self-hosted URL. The server must always be specified in order to access Langfuse.

If not set, ask the user for their API keys (found in Langfuse UI → Settings → API Keys).

Detailed CLI Reference

For common workflows, tips, and full usage patterns, see references/cli.md.

2. Langfuse Documentation

Three methods to access Langfuse docs, in order of preference. Always prefer your application's native web fetch and search tools (e.g., WebFetch, WebSearch, mcp_fetch, etc.) over curl when available. The URLs and patterns below work with any fetching method — the curl examples are just illustrative.

2a. Documentation Index (llms.txt)

Fetch the full index of all documentation pages:

curl -s https://langfuse.com/llms.txt

Returns a structured list of every doc page with titles and URLs. Use this to discover the right page for a topic, then fetch that page directly.

Alternatively, you can start on https://langfuse.com/docs and explore the site to find the page you need.

2b. Fetch Individual Pages as Markdown

Any page listed in llms.txt can be fetched as markdown by appending .md to its path or by using Accept: text/markdown in the request headers. Use this when you know which page contains the information needed. Returns clean markdown with code examples and configuration details.

curl -s "https://langfuse.com/docs/observability/overview.md"
curl -s "https://langfuse.com/docs/observability/overview" -H "Accept: text/markdown"

2c. Search Documentation

When you need to find information across all docs and github issues/discussions without knowing the specific page:

curl -s "https://langfuse.com/api/search-docs?query=<url-encoded-query>"

Example:

curl -s "https://langfuse.com/api/search-docs?query=How+do+I+trace+LangGraph+agents"

Returns a JSON response with:

  • query: the original query
  • answer: a JSON string containing an array of matching documents, each with:

- url: link to the doc page - title: page title - source.content: array of relevant text excerpts from the page

Search is a great fallback if you cannot find the relevant pages or need more context. Especially useful when debugging issues as all GitHub Issues and Discussions are also indexed. Responses can be large — extract only the relevant portions.

Documentation Workflow

  1. Start with llms.txt to orient — scan for relevant page titles
  2. Fetch specific pages when you identify the right one
  3. Fall back to search when the topic is unclear and you want more context

Skill Feedback

When the user expresses that something about this skill is not working as expected, gives incorrect guidance, is missing information, or could be improved — offer to submit feedback to the Langfuse skill maintainers. This includes when:

  • The skill gave wrong or outdated instructions
  • A workflow didn't produce the expected result
  • The user wishes the skill covered something it doesn't
  • The user explicitly says something like "this should work differently" or "this is wrong"

Do NOT trigger this for issues with Langfuse itself (the product) — only for issues with this skill's instructions and behavior.

When triggered, follow the process in references/skill-feedback.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.55%
按下载量换算10,724

Claude

28.92%
按下载量换算8,260

Cursor

16.96%
按下载量换算4,844

Gemini CLI

10.06%
按下载量换算2,873

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills