[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7QKEQP4G1Z4VEZHSEM7TD":3,"skill-same:01M6F7QKEQP4G1Z4VEZHSEM7TD":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F7QKEQP4G1Z4VEZHSEM7TD","langfuse-incident-runbook",null,"Troubleshoot and respond to Langfuse-related incidents and outages.\nUse when experiencing Langfuse outages, debugging production issues,\nor responding to LLM observability incidents.\nTrigger with phrases like \"langfuse incident\", \"langfuse outage\",\n\"langfuse down\", \"langfuse production issue\", \"langfuse troubleshoot\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flangfuse-pack\u002Fskills\u002Flangfuse-incident-runbook\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"langfuse","runbook","langfuse incident runbook","incident","edit","when","down","incidents","with","respond","trigger","io","issue","use","troubleshoot","write","read","curl","Bash","Production","observability","issues","debugging","2026-11-10 10:12:30",false,"---\nname: langfuse-incident-runbook\ndescription: |\n  Troubleshoot and respond to Langfuse-related incidents and outages.\n  Use when experiencing Langfuse outages, debugging production issues,\n  or responding to LLM observability incidents.\n  Trigger with phrases like \"langfuse incident\", \"langfuse outage\",\n  \"langfuse down\", \"langfuse production issue\", \"langfuse troubleshoot\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Langfuse Incident Runbook\n\n## Overview\nStep-by-step procedures for responding to Langfuse-related incidents.\n\n## Prerequisites\n- Access to Langfuse dashboard\n- Application logs access\n- Metrics\u002Fmonitoring dashboards\n- Escalation contacts\n\n## Incident Severity Levels\n\n| Severity | Description | Response Time | Escalation |\n|----------|-------------|---------------|------------|\n| P1 | Complete outage, no traces | 15 min | Immediate |\n| P2 | Degraded, partial data loss | 1 hour | 4 hours |\n| P3 | Slow\u002Fdelayed traces | 4 hours | Next business day |\n| P4 | Minor issues, workaround exists | 24 hours | Best effort |\n\n## Quick Diagnostics\n\n### Step 1: Initial Assessment (2 minutes)\n\n```bash\n#!\u002Fbin\u002Fbash\n# quick-diagnosis.sh\n\necho \"=== Langfuse Quick Diagnosis ===\"\necho \"Time: $(date)\"\necho \"\"\n\n# 1. Check Langfuse status\necho \"1. Langfuse Status:\"\ncurl -s https:\u002F\u002Fstatus.langfuse.com\u002Fapi\u002Fv2\u002Fstatus.json | jq '.status.description'\n\n# 2. Check API connectivity\necho \"\"\necho \"2. API Connectivity:\"\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP %{http_code} in %{time_total}s\\n\" \\\n  https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Fhealth\n\n# 3. Check authentication\necho \"\"\necho \"3. Auth Test:\"\nAUTH=$(echo -n \"$LANGFUSE_PUBLIC_KEY:$LANGFUSE_SECRET_KEY\" | base64)\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP %{http_code}\\n\" \\\n  -H \"Authorization: Basic $AUTH\" \\\n  \"https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Ftraces?limit=1\"\n\n# 4. Check application health\necho \"\"\necho \"4. Application Metrics:\"\ncurl -s http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fmetrics | grep langfuse | head -5\n```\n\n### Step 2: Determine Incident Type\n\n| Symptom | Likely Cause | Go To |\n|---------|--------------|-------|\n| No traces appearing | SDK not flushing | Section A |\n| 401\u002F403 errors | Authentication issue | Section B |\n| High latency | Network\u002Frate limits | Section C |\n| Missing data | Partial failures | Section D |\n| Complete outage | Langfuse service issue | Section E |\n\n---\n\n## Section A: Traces Not Appearing\n\n### Symptoms\n- Dashboard shows no new traces\n- No errors in application logs\n- Application functioning normally\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F 1. Verify SDK is enabled\nconsole.log(\"Langfuse enabled:\", process.env.LANGFUSE_ENABLED !== \"false\");\nconsole.log(\"Environment:\", process.env.NODE_ENV);\n\n\u002F\u002F 2. Check for pending events\n\u002F\u002F Add this to your code temporarily\nconst langfuse = getLangfuse();\nconsole.log(\"Pending events:\", langfuse.pendingItems?.length || \"unknown\");\n\n\u002F\u002F 3. Force flush and check for errors\ntry {\n  await langfuse.flushAsync();\n  console.log(\"Flush successful\");\n} catch (error) {\n  console.error(\"Flush failed:\", error);\n}\n```\n\n### Resolution Steps\n\n1. **Check shutdown handlers**\n   ```typescript\n   \u002F\u002F Ensure shutdown is registered\n   process.on(\"beforeExit\", async () => {\n     await langfuse.shutdownAsync();\n   });\n   ```\n\n2. **Reduce batch size temporarily**\n   ```typescript\n   const langfuse = new Langfuse({\n     flushAt: 1,        \u002F\u002F Immediate flush\n     flushInterval: 1000,\n   });\n   ```\n\n3. **Enable debug logging**\n   ```bash\n   DEBUG=langfuse* npm start\n   ```\n\n---\n\n## Section B: Authentication Errors\n\n### Symptoms\n- 401 Unauthorized errors\n- 403 Forbidden errors\n- \"Invalid API key\" messages\n\n### Diagnosis Steps\n\n```bash\n# 1. Verify environment variables\necho \"Public key starts with: ${LANGFUSE_PUBLIC_KEY:0:10}\"\necho \"Secret key is set: ${LANGFUSE_SECRET_KEY:+yes}\"\necho \"Host: ${LANGFUSE_HOST:-https:\u002F\u002Fcloud.langfuse.com}\"\n\n# 2. Test credentials directly\ncurl -v -X GET \\\n  -H \"Authorization: Basic $(echo -n \"$LANGFUSE_PUBLIC_KEY:$LANGFUSE_SECRET_KEY\" | base64)\" \\\n  \"${LANGFUSE_HOST:-https:\u002F\u002Fcloud.langfuse.com}\u002Fapi\u002Fpublic\u002Ftraces?limit=1\"\n```\n\n### Resolution Steps\n\n1. **Verify keys match project**\n   - Go to Langfuse Dashboard > Settings > API Keys\n   - Ensure keys are from the correct project\n   - Check keys haven't been revoked\n\n2. **Check for key rotation**\n   - If keys were recently rotated, update all environments\n   - Verify secret manager has latest values\n\n3. **Verify host URL**\n   - Cloud: `https:\u002F\u002Fcloud.langfuse.com`\n   - Self-hosted: Your instance URL (no trailing slash)\n\n---\n\n## Section C: High Latency \u002F Timeouts\n\n### Symptoms\n- Slow API responses\n- Request timeouts\n- 429 Rate limit errors\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F Check flush timing\nconst start = Date.now();\nawait langfuse.flushAsync();\nconsole.log(`Flush took ${Date.now() - start}ms`);\n\n\u002F\u002F Check batch sizes\nconsole.log(\"Current batch size:\", langfuse.pendingItems?.length);\n```\n\n```bash\n# Network latency test\ncurl -w \"DNS: %{time_namelookup}s\\nConnect: %{time_connect}s\\nTLS: %{time_appconnect}s\\nTotal: %{time_total}s\\n\" \\\n  -o \u002Fdev\u002Fnull -s https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Fhealth\n```\n\n### Resolution Steps\n\n1. **For rate limits**\n   ```typescript\n   \u002F\u002F Increase batching\n   const langfuse = new Langfuse({\n     flushAt: 50,\n     flushInterval: 10000,\n   });\n   ```\n\n2. **For network issues**\n   - Check firewall rules allow outbound HTTPS\n   - Verify DNS resolution\n   - Consider using a closer region (self-hosted)\n\n3. **Implement circuit breaker**\n   ```typescript\n   class CircuitBreaker {\n     private failures = 0;\n     private lastFailure?: Date;\n     private readonly threshold = 5;\n     private readonly resetMs = 60000;\n\n     async execute\u003CT>(operation: () => Promise\u003CT>): Promise\u003CT | null> {\n       if (this.isOpen()) {\n         console.warn(\"Circuit breaker open, skipping Langfuse\");\n         return null;\n       }\n\n       try {\n         const result = await operation();\n         this.reset();\n         return result;\n       } catch (error) {\n         this.recordFailure();\n         throw error;\n       }\n     }\n\n     private isOpen(): boolean {\n       if (this.failures \u003C this.threshold) return false;\n       if (!this.lastFailure) return false;\n       return Date.now() - this.lastFailure.getTime() \u003C this.resetMs;\n     }\n\n     private recordFailure() {\n       this.failures++;\n       this.lastFailure = new Date();\n     }\n\n     private reset() {\n       this.failures = 0;\n       this.lastFailure = undefined;\n     }\n   }\n   ```\n\n---\n\n## Section D: Missing\u002FPartial Data\n\n### Symptoms\n- Some traces appear, others don't\n- Missing spans or generations\n- Incomplete trace data\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F Check for errors in trace operations\nconst trace = langfuse.trace({ name: \"test\" });\nconsole.log(\"Trace ID:\", trace.id);\n\nconst span = trace.span({ name: \"test-span\" });\nconsole.log(\"Span ID:\", span.id);\n\n\u002F\u002F Verify end() is called\nspan.end({ output: { test: true } });\nconsole.log(\"Span ended\");\n\nawait langfuse.flushAsync();\nconsole.log(\"Flushed\");\n```\n\n### Resolution Steps\n\n1. **Ensure all spans are ended**\n   ```typescript\n   const span = trace.span({ name: \"operation\" });\n   try {\n     return await doWork();\n   } finally {\n     span.end(); \u002F\u002F Always end in finally\n   }\n   ```\n\n2. **Check for exceptions swallowing**\n   ```typescript\n   try {\n     await langfuse.flushAsync();\n   } catch (error) {\n     console.error(\"Langfuse flush error:\", error);\n     \u002F\u002F Don't swallow - log for debugging\n   }\n   ```\n\n---\n\n## Section E: Langfuse Service Outage\n\n### Symptoms\n- status.langfuse.com shows issues\n- All API calls failing\n- Multiple users affected\n\n### Immediate Actions\n\n1. **Check status page**: https:\u002F\u002Fstatus.langfuse.com\n\n2. **Enable fallback mode**\n   ```typescript\n   \u002F\u002F Graceful degradation\n   const langfuse = new Langfuse({\n     enabled: false, \u002F\u002F Disable during outage\n   });\n   ```\n\n3. **Queue events locally**\n   ```typescript\n   \u002F\u002F Store events to file during outage\n   const pendingEvents: any[] = [];\n\n   function queueEvent(event: any) {\n     pendingEvents.push({\n       ...event,\n       timestamp: new Date().toISOString(),\n     });\n\n     if (pendingEvents.length > 1000) {\n       \u002F\u002F Write to file\n       fs.writeFileSync(\n         `langfuse-backup-${Date.now()}.json`,\n         JSON.stringify(pendingEvents)\n       );\n       pendingEvents.length = 0;\n     }\n   }\n   ```\n\n4. **Monitor for recovery**\n   ```bash\n   # Watch status\n   watch -n 30 'curl -s https:\u002F\u002Fstatus.langfuse.com\u002Fapi\u002Fv2\u002Fstatus.json | jq .status'\n   ```\n\n---\n\n## Post-Incident Checklist\n\n- [ ] Verify traces are appearing in dashboard\n- [ ] Check no data was lost during incident\n- [ ] Review error rates returning to normal\n- [ ] Update incident documentation\n- [ ] Schedule post-mortem if P1\u002FP2\n- [ ] Update runbook with learnings\n\n## Escalation Contacts\n\n| Level | Contact | When |\n|-------|---------|------|\n| L1 | On-call engineer | All incidents |\n| L2 | Platform team lead | P1\u002FP2 unresolved 30min |\n| L3 | Langfuse support | Service-side issues |\n\n## Resources\n- [Langfuse Status](https:\u002F\u002Fstatus.langfuse.com)\n- [Langfuse Discord](https:\u002F\u002Flangfuse.com\u002Fdiscord)\n- [Langfuse GitHub Issues](https:\u002F\u002Fgithub.com\u002Flangfuse\u002Flangfuse\u002Fissues)\n\n## Next Steps\nFor data export and retention, see `langfuse-data-handling`.\n","# Langfuse Incident Runbook\n\n## Overview\nStep-by-step procedures for responding to Langfuse-related incidents.\n\n## Prerequisites\n- Access to Langfuse dashboard\n- Application logs access\n- Metrics\u002Fmonitoring dashboards\n- Escalation contacts\n\n## Incident Severity Levels\n\n| Severity | Description | Response Time | Escalation |\n|----------|-------------|---------------|------------|\n| P1 | Complete outage, no traces | 15 min | Immediate |\n| P2 | Degraded, partial data loss | 1 hour | 4 hours |\n| P3 | Slow\u002Fdelayed traces | 4 hours | Next business day |\n| P4 | Minor issues, workaround exists | 24 hours | Best effort |\n\n## Quick Diagnostics\n\n### Step 1: Initial Assessment (2 minutes)\n\n```bash\n#!\u002Fbin\u002Fbash\n# quick-diagnosis.sh\n\necho \"=== Langfuse Quick Diagnosis ===\"\necho \"Time: $(date)\"\necho \"\"\n\n# 1. Check Langfuse status\necho \"1. Langfuse Status:\"\ncurl -s https:\u002F\u002Fstatus.langfuse.com\u002Fapi\u002Fv2\u002Fstatus.json | jq '.status.description'\n\n# 2. Check API connectivity\necho \"\"\necho \"2. API Connectivity:\"\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP %{http_code} in %{time_total}s\\n\" \\\n  https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Fhealth\n\n# 3. Check authentication\necho \"\"\necho \"3. Auth Test:\"\nAUTH=$(echo -n \"$LANGFUSE_PUBLIC_KEY:$LANGFUSE_SECRET_KEY\" | base64)\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP %{http_code}\\n\" \\\n  -H \"Authorization: Basic $AUTH\" \\\n  \"https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Ftraces?limit=1\"\n\n# 4. Check application health\necho \"\"\necho \"4. Application Metrics:\"\ncurl -s http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fmetrics | grep langfuse | head -5\n```\n\n### Step 2: Determine Incident Type\n\n| Symptom | Likely Cause | Go To |\n|---------|--------------|-------|\n| No traces appearing | SDK not flushing | Section A |\n| 401\u002F403 errors | Authentication issue | Section B |\n| High latency | Network\u002Frate limits | Section C |\n| Missing data | Partial failures | Section D |\n| Complete outage | Langfuse service issue | Section E |\n\n---\n\n## Section A: Traces Not Appearing\n\n### Symptoms\n- Dashboard shows no new traces\n- No errors in application logs\n- Application functioning normally\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F 1. Verify SDK is enabled\nconsole.log(\"Langfuse enabled:\", process.env.LANGFUSE_ENABLED !== \"false\");\nconsole.log(\"Environment:\", process.env.NODE_ENV);\n\n\u002F\u002F 2. Check for pending events\n\u002F\u002F Add this to your code temporarily\nconst langfuse = getLangfuse();\nconsole.log(\"Pending events:\", langfuse.pendingItems?.length || \"unknown\");\n\n\u002F\u002F 3. Force flush and check for errors\ntry {\n  await langfuse.flushAsync();\n  console.log(\"Flush successful\");\n} catch (error) {\n  console.error(\"Flush failed:\", error);\n}\n```\n\n### Resolution Steps\n\n1. **Check shutdown handlers**\n   ```typescript\n   \u002F\u002F Ensure shutdown is registered\n   process.on(\"beforeExit\", async () => {\n     await langfuse.shutdownAsync();\n   });\n   ```\n\n2. **Reduce batch size temporarily**\n   ```typescript\n   const langfuse = new Langfuse({\n     flushAt: 1,        \u002F\u002F Immediate flush\n     flushInterval: 1000,\n   });\n   ```\n\n3. **Enable debug logging**\n   ```bash\n   DEBUG=langfuse* npm start\n   ```\n\n---\n\n## Section B: Authentication Errors\n\n### Symptoms\n- 401 Unauthorized errors\n- 403 Forbidden errors\n- \"Invalid API key\" messages\n\n### Diagnosis Steps\n\n```bash\n# 1. Verify environment variables\necho \"Public key starts with: ${LANGFUSE_PUBLIC_KEY:0:10}\"\necho \"Secret key is set: ${LANGFUSE_SECRET_KEY:+yes}\"\necho \"Host: ${LANGFUSE_HOST:-https:\u002F\u002Fcloud.langfuse.com}\"\n\n# 2. Test credentials directly\ncurl -v -X GET \\\n  -H \"Authorization: Basic $(echo -n \"$LANGFUSE_PUBLIC_KEY:$LANGFUSE_SECRET_KEY\" | base64)\" \\\n  \"${LANGFUSE_HOST:-https:\u002F\u002Fcloud.langfuse.com}\u002Fapi\u002Fpublic\u002Ftraces?limit=1\"\n```\n\n### Resolution Steps\n\n1. **Verify keys match project**\n   - Go to Langfuse Dashboard > Settings > API Keys\n   - Ensure keys are from the correct project\n   - Check keys haven't been revoked\n\n2. **Check for key rotation**\n   - If keys were recently rotated, update all environments\n   - Verify secret manager has latest values\n\n3. **Verify host URL**\n   - Cloud: `https:\u002F\u002Fcloud.langfuse.com`\n   - Self-hosted: Your instance URL (no trailing slash)\n\n---\n\n## Section C: High Latency \u002F Timeouts\n\n### Symptoms\n- Slow API responses\n- Request timeouts\n- 429 Rate limit errors\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F Check flush timing\nconst start = Date.now();\nawait langfuse.flushAsync();\nconsole.log(`Flush took ${Date.now() - start}ms`);\n\n\u002F\u002F Check batch sizes\nconsole.log(\"Current batch size:\", langfuse.pendingItems?.length);\n```\n\n```bash\n# Network latency test\ncurl -w \"DNS: %{time_namelookup}s\\nConnect: %{time_connect}s\\nTLS: %{time_appconnect}s\\nTotal: %{time_total}s\\n\" \\\n  -o \u002Fdev\u002Fnull -s https:\u002F\u002Fcloud.langfuse.com\u002Fapi\u002Fpublic\u002Fhealth\n```\n\n### Resolution Steps\n\n1. **For rate limits**\n   ```typescript\n   \u002F\u002F Increase batching\n   const langfuse = new Langfuse({\n     flushAt: 50,\n     flushInterval: 10000,\n   });\n   ```\n\n2. **For network issues**\n   - Check firewall rules allow outbound HTTPS\n   - Verify DNS resolution\n   - Consider using a closer region (self-hosted)\n\n3. **Implement circuit breaker**\n   ```typescript\n   class CircuitBreaker {\n     private failures = 0;\n     private lastFailure?: Date;\n     private readonly threshold = 5;\n     private readonly resetMs = 60000;\n\n     async execute\u003CT>(operation: () => Promise\u003CT>): Promise\u003CT | null> {\n       if (this.isOpen()) {\n         console.warn(\"Circuit breaker open, skipping Langfuse\");\n         return null;\n       }\n\n       try {\n         const result = await operation();\n         this.reset();\n         return result;\n       } catch (error) {\n         this.recordFailure();\n         throw error;\n       }\n     }\n\n     private isOpen(): boolean {\n       if (this.failures \u003C this.threshold) return false;\n       if (!this.lastFailure) return false;\n       return Date.now() - this.lastFailure.getTime() \u003C this.resetMs;\n     }\n\n     private recordFailure() {\n       this.failures++;\n       this.lastFailure = new Date();\n     }\n\n     private reset() {\n       this.failures = 0;\n       this.lastFailure = undefined;\n     }\n   }\n   ```\n\n---\n\n## Section D: Missing\u002FPartial Data\n\n### Symptoms\n- Some traces appear, others don't\n- Missing spans or generations\n- Incomplete trace data\n\n### Diagnosis Steps\n\n```typescript\n\u002F\u002F Check for errors in trace operations\nconst trace = langfuse.trace({ name: \"test\" });\nconsole.log(\"Trace ID:\", trace.id);\n\nconst span = trace.span({ name: \"test-span\" });\nconsole.log(\"Span ID:\", span.id);\n\n\u002F\u002F Verify end() is called\nspan.end({ output: { test: true } });\nconsole.log(\"Span ended\");\n\nawait langfuse.flushAsync();\nconsole.log(\"Flushed\");\n```\n\n### Resolution Steps\n\n1. **Ensure all spans are ended**\n   ```typescript\n   const span = trace.span({ name: \"operation\" });\n   try {\n     return await doWork();\n   } finally {\n     span.end(); \u002F\u002F Always end in finally\n   }\n   ```\n\n2. **Check for exceptions swallowing**\n   ```typescript\n   try {\n     await langfuse.flushAsync();\n   } catch (error) {\n     console.error(\"Langfuse flush error:\", error);\n     \u002F\u002F Don't swallow - log for debugging\n   }\n   ```\n\n---\n\n## Section E: Langfuse Service Outage\n\n### Symptoms\n- status.langfuse.com shows issues\n- All API calls failing\n- Multiple users affected\n\n### Immediate Actions\n\n1. **Check status page**: https:\u002F\u002Fstatus.langfuse.com\n\n2. **Enable fallback mode**\n   ```typescript\n   \u002F\u002F Graceful degradation\n   const langfuse = new Langfuse({\n     enabled: false, \u002F\u002F Disable during outage\n   });\n   ```\n\n3. **Queue events locally**\n   ```typescript\n   \u002F\u002F Store events to file during outage\n   const pendingEvents: any[] = [];\n\n   function queueEvent(event: any) {\n     pendingEvents.push({\n       ...event,\n       timestamp: new Date().toISOString(),\n     });\n\n     if (pendingEvents.length > 1000) {\n       \u002F\u002F Write to file\n       fs.writeFileSync(\n         `langfuse-backup-${Date.now()}.json`,\n         JSON.stringify(pendingEvents)\n       );\n       pendingEvents.length = 0;\n     }\n   }\n   ```\n\n4. **Monitor for recovery**\n   ```bash\n   # Watch status\n   watch -n 30 'curl -s https:\u002F\u002Fstatus.langfuse.com\u002Fapi\u002Fv2\u002Fstatus.json | jq .status'\n   ```\n\n---\n\n## Post-Incident Checklist\n\n- [ ] Verify traces are appearing in dashboard\n- [ ] Check no data was lost during incident\n- [ ] Review error rates returning to normal\n- [ ] Update incident documentation\n- [ ] Schedule post-mortem if P1\u002FP2\n- [ ] Update runbook with learnings\n\n## Escalation Contacts\n\n| Level | Contact | When |\n|-------|---------|------|\n| L1 | On-call engineer | All incidents |\n| L2 | Platform team lead | P1\u002FP2 unresolved 30min |\n| L3 | Langfuse support | Service-side issues |\n\n## Resources\n- [Langfuse Status](https:\u002F\u002Fstatus.langfuse.com)\n- [Langfuse Discord](https:\u002F\u002Flangfuse.com\u002Fdiscord)\n- [Langfuse GitHub Issues](https:\u002F\u002Fgithub.com\u002Flangfuse\u002Flangfuse\u002Fissues)\n\n## Next Steps\nFor data export and retention, see `langfuse-data-handling`.\n",{"name":5,"author":47,"license":15,"version":48,"description":49,"allowed-tools":50},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Troubleshoot and respond to Langfuse-related incidents and outages.\nUse when experiencing Langfuse outages, debugging production issues,\nor responding to LLM observability incidents.\nTrigger with phrases like \"langfuse incident\", \"langfuse outage\",\n\"langfuse down\", \"langfuse production issue\", \"langfuse troubleshoot\".\n","Read, Write, Edit, Bash(curl:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flangfuse-pack\u002Fskills\u002Flangfuse-incident-runbook",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill langfuse-incident-runbook",{"tool":66,"command":67},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill langfuse-incident-runbook",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill langfuse-incident-runbook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flangfuse-pack\u002Fskills\u002Flangfuse-incident-runbook\u002FSKILL.md",true,[],[75,108,143,165,191,218],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":88,"publishedAt":107},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[83],{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,27,105,106],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":118,"publishedAt":42},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[115],{"categoryNo":116,"categoryName":117,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000009","前端开发",[119,120,95,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,32,100,136,137,138,139,140,141,142],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":147,"sourceHtmlUrl":148,"categories":149,"keywords":154,"publishedAt":42},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[150,153],{"categoryNo":151,"categoryName":152,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":116,"categoryName":117,"taxonomyType":86,"taxonomyTypeDesc":87},[155,156,157,123,158,159,120,41,93,160,133,161,162,163,164,27,140],"testing","webapp testing","webapp","screenshots","playwright","browser","logs","applications","behavior","local",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":169,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":42},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[173,174,175,176,177,178,179,180,32,181,182,183,184,185,186,187,27,188,189,190,140,24],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":195,"sourceHtmlUrl":196,"categories":197,"keywords":201,"publishedAt":42},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[198],{"categoryNo":199,"categoryName":200,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000023","Skill与智能体开发",[202,203,204,205,206,207,208,209,210,211,212,213,214,215,27,140,216,24,217],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":222,"sourceHtmlUrl":223,"categories":224,"keywords":226,"publishedAt":42},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[225],{"categoryNo":199,"categoryName":200,"taxonomyType":86,"taxonomyTypeDesc":87},[220,227,228,229,230,231,232,160,233,234,32,235,236,237,238,140,239],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]