[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H8RF23W54PRXZKG2PJXTA5":3,"skill-same:01M6H8RF23W54PRXZKG2PJXTA5":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6H8RF23W54PRXZKG2PJXTA5","retellai-reliability-patterns",null,"Implement Retell AI reliability patterns including circuit breakers, idempotency, and graceful degradation.\nUse when building fault-tolerant Retell AI integrations, implementing retry strategies,\nor adding resilience to production Retell AI services.\nTrigger with phrases like \"retellai reliability\", \"retellai circuit breaker\",\n\"retellai idempotent\", \"retellai resilience\", \"retellai fallback\", \"retellai bulkhead\".","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fretellai-pack\u002Fskills\u002Fretellai-reliability-patterns\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"retellai reliability patterns","reliability","patterns","implementing","codex","retry","with","degradation","trigger","io","Circuit Breaker","strategies","use","write","read","integrations","services","code","resilience","implement","2026-11-10 10:12:30",false,"---\nname: retellai-reliability-patterns\ndescription: |\n  Implement Retell AI reliability patterns including circuit breakers, idempotency, and graceful degradation.\n  Use when building fault-tolerant Retell AI integrations, implementing retry strategies,\n  or adding resilience to production Retell AI services.\n  Trigger with phrases like \"retellai reliability\", \"retellai circuit breaker\",\n  \"retellai idempotent\", \"retellai resilience\", \"retellai fallback\", \"retellai bulkhead\".\nallowed-tools: Read, Write, Edit\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\n---\n# Retell AI Reliability Patterns\n\n## Overview\nProduction reliability patterns for Retell AI voice agent deployments. Voice calls are latency-critical -- any failure produces audible silence or call drops, making reliability patterns essential for production telephony.\n\n## Prerequisites\n- Retell AI configured with production agent\n- WebSocket infrastructure for real-time communication\n- Monitoring for sub-second latency requirements\n\n## Instructions\n\n### Step 1: WebSocket Connection Resilience\n\nRetell uses WebSockets for real-time voice. Connections can drop during calls.\n\n```typescript\nclass ResilientRetellConnection {\n  private ws: WebSocket | null = null;\n  private reconnectAttempts = 0;\n  private maxReconnects = 3;\n\n  async connect(callId: string) {\n    this.ws = new WebSocket(`wss:\u002F\u002Fapi.retellai.com\u002Fllm\u002F${callId}`);\n\n    this.ws.on('close', async (code) => {\n      if (code !== 1000 && this.reconnectAttempts \u003C this.maxReconnects) {  # 1000: 1 second in ms\n        this.reconnectAttempts++;\n        await new Promise(r => setTimeout(r, 500 * this.reconnectAttempts));  # HTTP 500 Internal Server Error\n        await this.connect(callId);\n      }\n    });\n\n    this.ws.on('error', (err) => {\n      console.error(`WebSocket error for call ${callId}:`, err.message);\n    });\n  }\n}\n```\n\n### Step 2: Response Latency Budget\n\nVoice agents must respond in under 1 second. Budget your webhook processing time.\n\n```typescript\nconst LATENCY_BUDGET_MS = 800;  \u002F\u002F leave 200ms for network  # 800 = configured value\n\napp.post('\u002Fretell-webhook', async (req, res) => {\n  const start = Date.now();\n\n  \u002F\u002F Fast path: check cache first\n  const cached = await redis.get(`response:${req.body.transcript_hash}`);\n  if (cached) {\n    return res.json(JSON.parse(cached));\n  }\n\n  \u002F\u002F Generate response with timeout\n  const response = await Promise.race([\n    generateResponse(req.body),\n    timeout(LATENCY_BUDGET_MS).then(() => getFallbackResponse(req.body))\n  ]);\n\n  const elapsed = Date.now() - start;\n  metrics.record('webhook_latency', elapsed);\n  if (elapsed > 500) metrics.record('slow_webhook', 1);  # HTTP 500 Internal Server Error\n\n  res.json(response);\n});\n```\n\n### Step 3: Call State Recovery\n\nIf your webhook server restarts mid-call, restore conversation context.\n\n```typescript\nclass CallStateManager {\n  private store: Redis;\n\n  async saveState(callId: string, state: any) {\n    await this.store.setex(\n      `call:${callId}`,\n      3600,  \u002F\u002F 1 hour TTL  # 3600: timeout: 1 hour\n      JSON.stringify(state)\n    );\n  }\n\n  async recoverState(callId: string): Promise\u003Cany | null> {\n    const raw = await this.store.get(`call:${callId}`);\n    return raw ? JSON.parse(raw) : null;\n  }\n\n  async endCall(callId: string) {\n    const state = await this.recoverState(callId);\n    if (state) {\n      await this.archiveCall(callId, state);\n      await this.store.del(`call:${callId}`);\n    }\n  }\n}\n```\n\n### Step 4: Concurrent Call Management\n\nTrack active calls and queue overflow when at capacity.\n\n```typescript\nclass CallCapacityManager {\n  private active = new Set\u003Cstring>();\n  private maxConcurrent: number;\n\n  constructor(maxConcurrent = 10) {\n    this.maxConcurrent = maxConcurrent;\n  }\n\n  canAcceptCall(): boolean {\n    return this.active.size \u003C this.maxConcurrent;\n  }\n\n  startCall(callId: string) { this.active.add(callId); }\n  endCall(callId: string) { this.active.delete(callId); }\n\n  getHealth() {\n    return {\n      active: this.active.size,\n      capacity: this.maxConcurrent,\n      utilization: this.active.size \u002F this.maxConcurrent\n    };\n  }\n}\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Audible silence | Webhook latency > 1s | Cache responses, use latency budget |\n| Call drops | WebSocket disconnect | Auto-reconnect with backoff |\n| Lost context mid-call | Server restart | Persist call state in Redis |\n| Calls rejected | Over concurrent limit | Track capacity, queue overflow |\n\n## Examples\n\n### Latency Dashboard\n```typescript\nconst dashboard = {\n  p50_latency: metrics.percentile('webhook_latency', 50),\n  p99_latency: metrics.percentile('webhook_latency', 99),\n  active_calls: capacity.active.size,\n  slow_webhooks_pct: metrics.rate('slow_webhook')\n};\n```\n\n## Resources\n- [Retell AI Docs](https:\u002F\u002Fdocs.retellai.com)\n- [Voice Agent Architecture](https:\u002F\u002Fdocs.retellai.com\u002Fguide\u002Farchitecture)\n\n## Output\n\n- Configuration files or code changes applied to the project\n- Validation report confirming correct implementation\n- Summary of changes made and their rationale","# Retell AI Reliability Patterns\n\n## Overview\nProduction reliability patterns for Retell AI voice agent deployments. Voice calls are latency-critical -- any failure produces audible silence or call drops, making reliability patterns essential for production telephony.\n\n## Prerequisites\n- Retell AI configured with production agent\n- WebSocket infrastructure for real-time communication\n- Monitoring for sub-second latency requirements\n\n## Instructions\n\n### Step 1: WebSocket Connection Resilience\n\nRetell uses WebSockets for real-time voice. Connections can drop during calls.\n\n```typescript\nclass ResilientRetellConnection {\n  private ws: WebSocket | null = null;\n  private reconnectAttempts = 0;\n  private maxReconnects = 3;\n\n  async connect(callId: string) {\n    this.ws = new WebSocket(`wss:\u002F\u002Fapi.retellai.com\u002Fllm\u002F${callId}`);\n\n    this.ws.on('close', async (code) => {\n      if (code !== 1000 && this.reconnectAttempts \u003C this.maxReconnects) {  # 1000: 1 second in ms\n        this.reconnectAttempts++;\n        await new Promise(r => setTimeout(r, 500 * this.reconnectAttempts));  # HTTP 500 Internal Server Error\n        await this.connect(callId);\n      }\n    });\n\n    this.ws.on('error', (err) => {\n      console.error(`WebSocket error for call ${callId}:`, err.message);\n    });\n  }\n}\n```\n\n### Step 2: Response Latency Budget\n\nVoice agents must respond in under 1 second. Budget your webhook processing time.\n\n```typescript\nconst LATENCY_BUDGET_MS = 800;  \u002F\u002F leave 200ms for network  # 800 = configured value\n\napp.post('\u002Fretell-webhook', async (req, res) => {\n  const start = Date.now();\n\n  \u002F\u002F Fast path: check cache first\n  const cached = await redis.get(`response:${req.body.transcript_hash}`);\n  if (cached) {\n    return res.json(JSON.parse(cached));\n  }\n\n  \u002F\u002F Generate response with timeout\n  const response = await Promise.race([\n    generateResponse(req.body),\n    timeout(LATENCY_BUDGET_MS).then(() => getFallbackResponse(req.body))\n  ]);\n\n  const elapsed = Date.now() - start;\n  metrics.record('webhook_latency', elapsed);\n  if (elapsed > 500) metrics.record('slow_webhook', 1);  # HTTP 500 Internal Server Error\n\n  res.json(response);\n});\n```\n\n### Step 3: Call State Recovery\n\nIf your webhook server restarts mid-call, restore conversation context.\n\n```typescript\nclass CallStateManager {\n  private store: Redis;\n\n  async saveState(callId: string, state: any) {\n    await this.store.setex(\n      `call:${callId}`,\n      3600,  \u002F\u002F 1 hour TTL  # 3600: timeout: 1 hour\n      JSON.stringify(state)\n    );\n  }\n\n  async recoverState(callId: string): Promise\u003Cany | null> {\n    const raw = await this.store.get(`call:${callId}`);\n    return raw ? JSON.parse(raw) : null;\n  }\n\n  async endCall(callId: string) {\n    const state = await this.recoverState(callId);\n    if (state) {\n      await this.archiveCall(callId, state);\n      await this.store.del(`call:${callId}`);\n    }\n  }\n}\n```\n\n### Step 4: Concurrent Call Management\n\nTrack active calls and queue overflow when at capacity.\n\n```typescript\nclass CallCapacityManager {\n  private active = new Set\u003Cstring>();\n  private maxConcurrent: number;\n\n  constructor(maxConcurrent = 10) {\n    this.maxConcurrent = maxConcurrent;\n  }\n\n  canAcceptCall(): boolean {\n    return this.active.size \u003C this.maxConcurrent;\n  }\n\n  startCall(callId: string) { this.active.add(callId); }\n  endCall(callId: string) { this.active.delete(callId); }\n\n  getHealth() {\n    return {\n      active: this.active.size,\n      capacity: this.maxConcurrent,\n      utilization: this.active.size \u002F this.maxConcurrent\n    };\n  }\n}\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Audible silence | Webhook latency > 1s | Cache responses, use latency budget |\n| Call drops | WebSocket disconnect | Auto-reconnect with backoff |\n| Lost context mid-call | Server restart | Persist call state in Redis |\n| Calls rejected | Over concurrent limit | Track capacity, queue overflow |\n\n## Examples\n\n### Latency Dashboard\n```typescript\nconst dashboard = {\n  p50_latency: metrics.percentile('webhook_latency', 50),\n  p99_latency: metrics.percentile('webhook_latency', 99),\n  active_calls: capacity.active.size,\n  slow_webhooks_pct: metrics.rate('slow_webhook')\n};\n```\n\n## Resources\n- [Retell AI Docs](https:\u002F\u002Fdocs.retellai.com)\n- [Voice Agent Architecture](https:\u002F\u002Fdocs.retellai.com\u002Fguide\u002Farchitecture)\n\n## Output\n\n- Configuration files or code changes applied to the project\n- Validation report confirming correct implementation\n- Summary of changes made and their rationale",{"name":5,"author":43,"license":14,"version":44,"description":45,"allowed-tools":46,"compatible-with":47},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Retell AI reliability patterns including circuit breakers, idempotency, and graceful degradation.\nUse when building fault-tolerant Retell AI integrations, implementing retry strategies,\nor adding resilience to production Retell AI services.\nTrigger with phrases like \"retellai reliability\", \"retellai circuit breaker\",\n\"retellai idempotent\", \"retellai resilience\", \"retellai fallback\", \"retellai bulkhead\".\n","Read, Write, Edit","claude-code, codex, openclaw","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","claude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fretellai-pack\u002Fskills\u002Fretellai-reliability-patterns",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill retellai-reliability-patterns",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill retellai-reliability-patterns",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill retellai-reliability-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fretellai-pack\u002Fskills\u002Fretellai-reliability-patterns\u002FSKILL.md",true,[],[70,96,116,135,153,178],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,29,93,94,95],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","azure api management","mode","for",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[103,104,105,106,78,107,35,108,109,110,111,112,86,87,29,113,114,93,115,21],"deployment","apiops deployment","workflows","azure devops","infrastructure","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[123,124,125,126,78,81,86,87,127,30,128,129,130,131,132,93,133,134,21,95],"policy","authoring","apim policy authoring","security","access","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[142,126,143,86,129,144,78,103,145,146,147,148,87,149,93,150,151,152,94,95],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[160,161,162,105,163,164,165,166,86,167,168,169,170,171,172,173,174,175,176,177],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[180,185,186,187,188,189,190,30,191,192],"npm","js","calculate","node","math","user","compute","errors"]