CtrlK
BlogDocsLog inGet started
Tessl Logo

langfuse-cost-tuning

Monitor and optimize LLM costs using Langfuse analytics and dashboards. Use when tracking LLM spending, identifying cost anomalies, or implementing cost controls for AI applications. Trigger with phrases like "langfuse costs", "LLM spending", "track AI costs", "langfuse token usage", "optimize LLM budget".

71

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable with complete executable code and a clear step sequence, but it is verbose in places and, critically, never references the bundled implementation.md, leaving that reference orphaned and the body a single dense wall of code.

Suggestions

Move the deeper code patterns (custom pricing calculation, CostMonitor class, report generation) into references/implementation.md and link to it from the relevant steps so the body stays an overview.

Trim the 'How Langfuse Tracks Costs' prose to the minimum needed to orient the reader, trusting Claude's existing knowledge of tracing and pricing models.

Add explicit validation/error-recovery notes for the budget-alert step (e.g., what to do when calculatedTotalCost is missing or model pricing is unconfigured) to reinforce the workflow's feedback loop.

DimensionReasoningScore

Conciseness

Mostly efficient with executable code in every step, but prose sections like 'How Langfuse Tracks Costs' re-explain product mechanics Claude could be told more tersely, fitting the score-2 anchor of mostly efficient with some unnecessary explanation.

2 / 3

Actionability

Each step ships complete, executable TypeScript (observeOpenAI setup, Metrics API query, model router, budget alert) that is copy-paste ready, matching the score-3 anchor for fully executable code.

3 / 3

Workflow Clarity

A clear four-step sequence (capture usage, query costs, route models, set alerts) is explicitly numbered; the operations are monitoring/reporting rather than destructive batch changes, so the absence of validation checkpoints does not cap the score.

3 / 3

Progressive Disclosure

The body is a monolithic wall of inline code and never links to the bundled references/implementation.md file that exists alongside it, fitting the score-2 anchor of some structure but content that should be separate kept inline and references not clearly signaled.

2 / 3

Total

10

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states what the skill does and when to use it, with concrete actions and natural trigger terms. Voice is correctly third person and it avoids fluff.

DimensionReasoningScore

Specificity

Lists multiple concrete actions such as 'Monitor and optimize LLM costs', 'tracking LLM spending, identifying cost anomalies', and 'implementing cost controls', matching the score-3 anchor of multiple specific concrete actions.

3 / 3

Completeness

Explicitly answers what ('Monitor and optimize LLM costs using Langfuse analytics and dashboards') and when ('Use when tracking LLM spending... or implementing cost controls for AI applications'), matching the score-3 anchor.

3 / 3

Trigger Term Quality

Provides natural trigger phrases users would say — 'langfuse costs', 'LLM spending', 'track AI costs', 'langfuse token usage', 'optimize LLM budget' — giving good coverage rather than technical jargon.

3 / 3

Distinctiveness Conflict Risk

The Langfuse-specific cost-tuning niche with distinct triggers ('langfuse costs', 'langfuse token usage') is unlikely to fire for unrelated skills, matching the clear-niche anchor.

3 / 3

Total

12

/

12

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

13

/

16

Passed

Repository
jeremylongshore/claude-code-plugins-plus-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.