🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(assistant): refresh embedded Langfuse skills (#18989)
langfuse-bot07b877c572d5
diff --git a/packages/langfuse-skills/src/generated/skills.js b/packages/langfuse-skills/src/generated/skills.jsindex c39e1b2b96..6411ecddec 100644--- a/packages/langfuse-skills/src/generated/skills.js+++ b/packages/langfuse-skills/src/generated/skills.js@@ -16,6 +16,13 @@ exports.LANGFUSE_SKILLS = [instructions:"# Langfuse CLI Reference\n\nDocumentation: https://langfuse.com/docs/api-and-data-platform/features/cli\n\n## Install\n\n```bash\n# Run directly (recommended)\nnpx langfuse-cli api <resource> <action>\nbunx langfuse-cli api <resource> <action>\n\n# Or install globally\nnpm i -g langfuse-cli\nlangfuse api <resource> <action>\n```\n\n## Discovery\n\n```bash\n# List all resources and auth info\nlangfuse api __schema\n\n# List actions for a resource\nlangfuse api <resource> --help\n\n# Show args/options for a specific action\nlangfuse api <resource> <action> --help\n\n# Preview the curl command without executing\nlangfuse api <resource> <action> --curl\n```\n\n## Credentials\n\nSet environment variables:\n\n```bash\nexport LANGFUSE_PUBLIC_KEY=pk-lf-...\nexport LANGFUSE_SECRET_KEY=sk-lf-...\nexport LANGFUSE_BASE_URL=https://cloud.langfuse.com \n```\n\n## Tips\n\n- Use `--json` for machine-readable JSON output\n- Use `--curl` to preview the HTTP request without executing\n- All list commands support filtering — check `<resource> <action> --help` for available options\n- Prefer `observations` over `legacy-observations-v1s` — `observations` is the modern high-performance endpoint (cursor pagination, selective field groups); `legacy-observations-v1s` is the deprecated v1\n- Prefer `metrics` over `legacy-metrics-v1s` for the same reason\n- Prefer `scores` over `legacy-score-v1s` for list/get operations\n- Always query via `observations`, not `traces`, even when the user phrases the request in terms of traces — the `traces` endpoints are outdated (add `--trace-id` to scope to a known trace). See the [Observations API docs](https://langfuse.com/docs/api-and-data-platform/features/observations-api) for the v1 → v2 mapping.\n- Pagination: legacy v1 endpoints use `--limit` and `--page`; modern endpoints (`observations`, `metrics`, `scores`) use cursor-based pagination — pass `--limit`, then thread `meta.cursor` from the response into the next request's `--cursor`",},+ {+ name: "langfuse-cost-optimization",+ description:+ "Optimize the cost of an LLM application or AI agent while preserving output quality.",+ instructions:+ "Read the [cost optimization Academy page](https://langfuse.com/academy/experiments/cost-optimization) in full.\n\nAlways present the cost optimization opportunities in a table with these columns:\n\n| Opportunity | Explanation and why it works | Estimated savings at analyzed volume | Implementation effort | Risk to output quality |\n|---|---|---:|---|---|\n\nFor every opportunity, explain what would change and why that change should reduce cost. Link to the relevant [Academy guidance](https://langfuse.com/academy/experiments/cost-optimization) when it supports the explanation.\n\nState the current cost and run volume used as the baseline. Estimate every opportunity's savings at that same volume. Label assumptions and use ranges when the available data does not support a precise estimate.",+ },{name: "langfuse-dataset-construction",description: