langfuse

langfuse is a skill for Claude Code from Ansumanbhujabal/Polly_Harness. It costs 100 tokens per session (1,633 once invoked), scanned A, a copy of langfuse, MIT.

A skill for working with Langfuse, a tool for recording and inspecting how AI applications run. It covers traces, prompts, datasets, scores, sessions, documentation, and programmatic access.

In plain words
What is it for?
Use it to instrument applications, migrate prompts, inspect or modify Langfuse data, capture user feedback, and follow current integration guidance.
Why use it?
It provides current guidance for understanding and operating Langfuse instead of relying on possibly outdated knowledge. It also directs data work through the Langfuse command-line tool.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to instrument applications, migrate prompts, inspect or modify Langfuse data, capture user feedback, and follow current integration guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ansumanbhujabal/polly_harness/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 Ansumanbhujabal/Polly_Harness --skill langfuse
Clone the repo
git clone --depth 1 https://github.com/Ansumanbhujabal/Polly_Harness

Made for: Claude Code.

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/ansumanbhujabal/polly_harness/langfuse/github.svg)](https://agentmods.dev/skills/ansumanbhujabal/polly_harness/langfuse)
Your own site
<a href="https://agentmods.dev/skills/ansumanbhujabal/polly_harness/langfuse"><img src="https://agentmods.dev/badge/skills/ansumanbhujabal/polly_harness/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/ansumanbhujabal/polly_harness/langfuse"><img src="https://agentmods.dev/badge/skills/ansumanbhujabal/polly_harness/langfuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00100 $0.01633
Opus 5.5 $0.00040 $0.00653
Sonnet 5.5 $0.00020 $0.00327
Haiku 4.5 $0.00010 $0.00163

Measured 2mo ago against content hash 3de7bf61480e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

langfuse scanned grade A with 1 finding 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 2mo ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl *langfuse.com/*)
Origin

This is a copy

100% identical to langfuse — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/langfuse/SKILL.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
  • judge calibration (LLM-as-a-Judge reliability, simple accuracy checks, advanced split-based validation, confusion matrices, and metric ingestion): references/judge-calibration.md
  • systematic error analysis — reading traces, building failure taxonomy, deciding what to fix: references/error-analysis.md
  • setting up CI/CD experiment gates with langfuse/experiment-action: references/ci-cd.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

Read the full file on GitHub · 144 lines

Files

What ships with it

9 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. 2mo ago First seen · 144 lines · 100 tokens per session scan A 3de7bf61480e

Subscribe to this mod's changes

langfuse is a skill published in the GitHub repository Ansumanbhujabal/Polly_Harness (2 stars, last pushed 4mo ago), licensed MIT. It adds 100 tokens to every session and 1,633 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to langfuse, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

datachain-knowledge

Use whenever datasets, cloud storage buckets, or data pipelines are mentioned — creating, saving, querying, listing, exploring, deleting, or processing data in S3, GCS, Azure Blob, or local storage. Also use when running any script that may create datasets as a side effect. Maintains a knowledge base at dc-knowledge/…

datachain-ai/datachain · 104 tokens

prompt-audit

Audit a prompt library as an operating system, not a pile of prompts. Use to find what a prompt collection over-does, under-does, and where it leaks into meta-looping. Classifies each prompt by the work it performs, finds overrepresented and missing moves, flags prompts that cause meta-loops or never produce…

Megaprompting/torque-loop · 84 tokens

solo-model-shrink

A model-conversion workflow for making a trained neural network smaller and usable on devices such as phones, browsers, and other edge hardware. It covers formats such as ONNX and Core ML, plus reduced-precision formats such as int8.

fortunto2/solo-factory · 120 tokens

cost-guardrail

LLM and cloud cost awareness — model tiering, token budgets, right-sizing, and when a cheaper model suffices. Trigger before finalising any architecture that calls LLMs, before scaling a workload, or when a cost estimate is needed.

jpantsjoha/ai-native-developer-experience · 55 tokens

verify-eval-review

A conditional review workflow for checking whether an AI feature has enough evaluation coverage. It compares the implementation with the planned evaluation areas and records each one as covered, partly covered, or missing in EVAL-REVIEW.md.

easyinplay/harnessed · 116 tokens

claude-api

Provides code patterns for the Anthropic Claude API including streaming, tool use, and prompt caching. Use when working with Anthropic SDK files or when the user mentions Claude API, Anthropic client, or LLM integration.

tranhieutt/software_development_department · 48 tokens