langfuse

langfuse is a skill for Claude Code from avivsinai/langfuse-mcp. It costs 48 tokens per session (521 once invoked), scanned A, original, MIT.

A set of instructions for investigating AI agents and applications that use large language models through Langfuse, a tool for recording and inspecting their activity. It guides the agent from finding a relevant run or session to examining failures, delays, prompts, or datasets.

In plain words
What is it for?
Use it to inspect traces, exceptions, sessions, prompt versions, datasets, and evaluation sets in Langfuse. It also includes setup guidance for connecting Langfuse to Claude Code or Codex.
Why use it?
It replaces guesswork with recorded execution details when an AI application fails or responds slowly. It helps narrow a broad problem to a specific error or slow step.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the langfuse plugin — 1 skill shipped together

Good fit Use it to inspect traces, exceptions, sessions, prompt versions, datasets, and evaluation sets in Langfuse. It also includes setup guidance for connecting Langfuse to Claude Code or Codex.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avivsinai/langfuse-mcp/langfuse
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add avivsinai/langfuse-mcp --skill langfuse
Clone the repo
git clone --depth 1 https://github.com/avivsinai/langfuse-mcp

Made for: Claude Code.

Or install langfuse, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langfuse

README.md
[![agentmods](https://agentmods.dev/badge/skills/avivsinai/langfuse-mcp/langfuse/github.svg)](https://agentmods.dev/skills/avivsinai/langfuse-mcp/langfuse)
Your own site
<a href="https://agentmods.dev/skills/avivsinai/langfuse-mcp/langfuse"><img src="https://agentmods.dev/badge/skills/avivsinai/langfuse-mcp/langfuse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for langfuse

Your own site · 80×15
<a href="https://agentmods.dev/skills/avivsinai/langfuse-mcp/langfuse"><img src="https://agentmods.dev/badge/skills/avivsinai/langfuse-mcp/langfuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 46
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Rogue Agent · line 31
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 44
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 51
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00521
Opus 5 $0.00024 $0.00260
Sonnet 5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured today against content hash e3c167b2e1b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

langfuse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • langfuse — 100% identical, 0 lines differ
skills/langfuse/SKILL.md · 53 lines

What it actually says

Langfuse

Use Langfuse evidence to move from a broad symptom to the relevant trace, observation, session, prompt, or dataset. Start with the narrowest read-only query that can locate the event, then inspect its concrete inputs, outputs, timing, and errors.

Route the task

  • For trace, observation, exception, latency, or session diagnosis, read diagnostic and management workflows.
  • For installation, credentials, tool groups, output defaults, connection failures, or empty results, read setup.
  • For exact parameters, filters, pagination, output modes, and response shapes, read the tool reference.

A common investigation starts with fetch_traces(age=60) or find_exceptions(age=1440, group_by="file"), then fetches the selected trace or observation by ID. Use full_json_file only when the complete payload is needed; exports can contain sensitive user data.

Evidence and mutation boundaries

  • Treat model names, prompts, timestamps, and other values in historical traces as recorded evidence. Do not rewrite or normalize old model identifiers to a current name such as gpt-6-astra.

  • Trace discovery and inspection are read-only. Prompt creation or relabeling, dataset changes, annotation-queue changes, and deletions mutate Langfuse; perform them only when the user requested that change.

  • Prefer read-only server mode for diagnostic work. It disables prompt and dataset write tools:

    langfuse-mcp --read-only
    # or LANGFUSE_MCP_READ_ONLY=true
    
  • Never commit Langfuse credentials. Keep public key, secret key, and host in the supported environment or MCP configuration described in the setup reference. Rotate any exposed key.

  • Preserve exact IDs and filters in findings so another reader can reproduce the query. State when pagination, lookback limits, or compact output limits the conclusion.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed e3c167b2e1b7
  2. 3d ago Changed · -223 lines · -28 tokens per session scan B → A 6e444e0f6f7e
  3. 10d ago First seen · 276 lines · 76 tokens per session scan B 88cd0d4e7cef

Subscribe to this mod's changes

langfuse is a skill published in the GitHub repository avivsinai/langfuse-mcp (105 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 521 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

a11y-debugging

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

ChromeDevTools/chrome-devtools-mcp · 50 tokens

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).

ChromeDevTools/chrome-devtools-mcp · 55 tokens

triage-issues

Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…

googleapis/mcp-toolbox · 164 tokens

n8n-validation-expert

Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, the validation loop process, or auto-fix capabilities.…

czlonkowski/n8n-mcp · 91 tokens

n8n-error-handling

Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error…

czlonkowski/n8n-mcp · 128 tokens