/langfuse-pack:langfuse-trace-ingestion-medic [ingestion-receipt.json]from langfuse-pack
Reconciles captured OTLP batches with Langfuse Observations API v2 readbacks to diagnose missing, partial, or incorrectly nested traces. Use when traces disappear after serverless exit or parent context differs.
Ships in langfuse-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Explain which exported spans are visible in supplied Langfuse readbacks, which facts conflict, and what bounded check would resolve the remaining uncertainty. Distinguish local span creation, transport acceptance, background processing and per-span read visibility. None of those alone proves complete instrumentation.
This workflow reads evidence. It never reruns customer operations, replays an export, changes sampling, rotates keys, flushes a live SDK or deploys a service.
Read runtime diagnostics for SDK compatibility, sampling, lifecycle and authentication checks. Do not enable raw debug logging or duplicate production exporters merely to obtain a fixture.
Record the expected operation, trace/span identities, capture times, project, region and SDK/runtime versions privately. State whether the capture covers a single export batch, a synthetic canary or actual affected traffic. A canary cannot certify customer coverage. Preserve the original artifacts.
If no batch or readback exists, return an evidence gap and the smallest useful next check. Do not invent native pages or execute the business operation again. Binary protobuf and console-exporter text are not the helper's JSON contract.
Follow the contract. Keep native resource/scope span nesting, exact IDs, parent IDs and nanosecond times. Retain the response for that same batch when available, including a partial-success envelope.
Readbacks must use the reviewed project and explicit trace/window selectors, stable queries and complete cursor chains. Request only necessary fields. A first page, old recent trace or successful auth check cannot prove recovery.
python3 scripts/inspect-ingestion.py private-ingestion-receipt.json
Use the packaged script relative to this skill's directory. Keep the private receipt out of Git. The script returns content-free findings and counts; it does not query the provider or execute callbacks.
Inspect missing IDs, project/trace mismatches, cursor gaps, ended timing, physical-parent mismatches and export warnings independently. Timing matches are at millisecond resolution, not proof of nanosecond equality.
A parent outside this batch is a capture boundary requiring review; it is not proof that Langfuse dropped it. An exported parent cycle or a different returned parent is separate evidence. A transport HTTP 200 or completed flush is not a per-span read acknowledgement. Missing readback rows remain “not observed in these pages,” not a universal freshness breach or proven data loss.
Inspect tracing enablement, sampling/export filters, compatibility and lifecycle configuration next. Preserve business exceptions. An instrumentation failure must never trigger a second call to the application callback.
For each finding give the report code, private evidence pointer, consequence, confidence and next discriminating check. Preserve investigation and held states. Any further read must remain within existing authorization; production fixes require their own implementation and rollout review.
Return langfuse-ingestion-report.json plus a short supplied-data assessment:
expected/matched span counts, coverage limits, confirmed receipt defects,
unresolved hypotheses and next check. observed-supplied-batch establishes only
the captured batch's correspondence with supplied pages, not service health.
empty-export-batch; a successful
transport response does not demonstrate ingestion.Exit 0 means the supplied batch was observed; exit 1 needs investigation; exit 2 holds invalid or oversized input with a fixed error code. Correct the capture or mapping, not observed values. Missing credentials or native evidence is a gap, not permission to create keys, widen access or synthesize a passing report.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/langfuse-cost-forensicsAudit Langfuse recorded-cost observations for missing usage, unavailable cost,
cursor gaps and scope mismatches. Separate explicit zero from unknown and
partial subtotals from complete retrieved sets. Use when reviewing this evidence. Trigger with "Langfuse spend looks
wrong", "missing generation cost" or "does this first page prove our total?".
/langfuse-data-boundary-auditorAudit supplied Langfuse observation payloads for unapproved fields, incomplete
cursor coverage and retention evidence gaps. Separate project retention from
Cloud access windows and dataset/audit/external-copy scope. Use when reviewing this evidence. Trigger with "review a
Langfuse debug export", "did anonymization leave metadata?" or "does retention
cover all these Langfuse records?".
/langfuse-experiment-guardianCompare Langfuse experiment baseline and candidate results at case level using
reviewed dataset, content and evaluator identities. Detect missing cases,
evaluator errors and critical regressions before proposing a release. Use when reviewing these cases. Trigger with
"Langfuse experiment passed on average", "candidate lost evaluation cases" or
"can this experiment replace our reviewed baseline?".
/langfuse-prompt-release-guardianReview Langfuse prompt promotions or rollbacks using explicit versions, fresh
label snapshots, reviewed content hashes and runtime variable contracts.
Verify supplied prompt webhooks without treating signatures as release
approval. Use when reviewing this evidence. Trigger with "promote this Langfuse prompt", "check a prompt rollback" or
"is this signed prompt update enough to deploy?".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin langfuse-packOther plugins' skills for the same job