[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H8R0QX3CPR5R6E669N512F":3,"skill-same:01M6H8R0QX3CPR5R6E669N512F":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},"01M6H8R0QX3CPR5R6E669N512F","retellai-policy-guardrails",null,"Implement Retell AI lint rules, policy enforcement, and automated guardrails.\nUse when setting up code quality rules for Retell AI integrations, implementing\npre-commit hooks, or configuring CI policy checks for Retell AI best practices.\nTrigger with phrases like \"retellai policy\", \"retellai lint\",\n\"retellai guardrails\", \"retellai best practices check\", \"retellai eslint\".","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-policy-guardrails\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"policy","retellai policy guardrails","Guardrails","lint rules","openclaw","for","implementing","io","enforcement","hooks","up","edit","write","read","integrations","Bash","ci","code","code quality","commit","2026-11-10 10:12:30",false,"---\nname: retellai-policy-guardrails\ndescription: |\n  Implement Retell AI lint rules, policy enforcement, and automated guardrails.\n  Use when setting up code quality rules for Retell AI integrations, implementing\n  pre-commit hooks, or configuring CI policy checks for Retell AI best practices.\n  Trigger with phrases like \"retellai policy\", \"retellai lint\",\n  \"retellai guardrails\", \"retellai best practices check\", \"retellai eslint\".\nallowed-tools: Read, Write, Edit, Bash(npx:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\n---\n# Retell AI Policy Guardrails\n\n## Overview\nPolicy enforcement for Retell AI voice agent deployments. Voice AI agents interact with real people over phone calls, requiring strict controls around conversation content, call recording consent, data handling, and cost management.\n\n## Prerequisites\n- Retell AI agent configured\n- Understanding of telephony compliance (TCPA, GDPR)\n- Call recording consent requirements for your jurisdiction\n\n## Instructions\n\n### Step 1: Conversation Content Boundaries\n\nDefine what the agent can and cannot discuss to prevent liability.\n\n```typescript\nconst CONVERSATION_POLICY = {\n  blockedTopics: [\n    'medical advice', 'legal advice', 'financial advice',\n    'political opinions', 'competitor pricing'\n  ],\n  requiredDisclosures: [\n    'This is an AI assistant',\n    'This call may be recorded'\n  ],\n  maxCallDuration: 600,  \u002F\u002F 10 minutes  # 600: timeout: 10 minutes\n  escalationTriggers: ['speak to a human', 'talk to manager', 'real person']\n};\n\nfunction enforceContentPolicy(agentResponse: string): string {\n  for (const topic of CONVERSATION_POLICY.blockedTopics) {\n    if (agentResponse.toLowerCase().includes(topic)) {\n      return \"I'm not able to advise on that topic. Let me connect you with a specialist.\";\n    }\n  }\n  return agentResponse;\n}\n```\n\n### Step 2: Call Recording Consent\n\nMany jurisdictions require two-party consent for recording. Enforce upfront disclosure.\n\n```typescript\nconst CONSENT_SCRIPT = {\n  opening: \"Hi, this is an AI assistant calling from [Company]. This call may be recorded for quality purposes. Is that okay?\",\n  noConsent: \"I understand. I'll continue without recording. How can I help you today?\",\n  consentReceived: true\n};\n\napp.post('\u002Fretell-webhook', async (req, res) => {\n  const { call_id, turn_number, transcript } = req.body;\n\n  \u002F\u002F First turn: always deliver consent disclosure\n  if (turn_number === 0) {\n    return res.json({ response: CONSENT_SCRIPT.opening });\n  }\n\n  \u002F\u002F Second turn: check for consent\n  if (turn_number === 1) {\n    const consented = \u002Fyes|okay|sure|that's fine\u002Fi.test(transcript);\n    if (!consented) {\n      await retell.call.update(call_id, { recording_enabled: false });\n      return res.json({ response: CONSENT_SCRIPT.noConsent });\n    }\n  }\n\n  \u002F\u002F Normal processing\n  const response = await generateResponse(req.body);\n  return res.json({ response: enforceContentPolicy(response) });\n});\n```\n\n### Step 3: Cost Controls\n\nVoice calls cost per minute. Cap concurrent calls and duration.\n\n```typescript\nclass CallCostPolicy {\n  private activeCalls = new Map\u003Cstring, number>();\n  private maxConcurrent = 10;\n  private maxDurationSec = 600;  # 600: timeout: 10 minutes\n  private dailyBudget = 100;  \u002F\u002F dollars\n  private costPerMinute = 0.10;\n\n  canInitiateCall(): boolean {\n    if (this.activeCalls.size >= this.maxConcurrent) return false;\n    if (this.getDailySpend() >= this.dailyBudget) return false;\n    return true;\n  }\n\n  monitorDuration(callId: string) {\n    const started = this.activeCalls.get(callId);\n    if (started && (Date.now() - started) \u002F 1000 > this.maxDurationSec) {  # 1000: 1 second in ms\n      return { action: 'end', reason: 'Maximum call duration exceeded' };\n    }\n    return { action: 'continue' };\n  }\n\n  getDailySpend(): number {\n    let totalMinutes = 0;\n    for (const started of this.activeCalls.values()) {\n      totalMinutes += (Date.now() - started) \u002F 60000;  # 60000: 1 minute in ms\n    }\n    return totalMinutes * this.costPerMinute;\n  }\n}\n```\n\n### Step 4: Human Escalation Triggers\n\nDetect when callers want a human and transfer gracefully.\n\n```typescript\nfunction checkEscalation(transcript: string): boolean {\n  const triggers = ['speak to a human', 'real person', 'talk to someone', 'supervisor', 'manager'];\n  return triggers.some(t => transcript.toLowerCase().includes(t));\n}\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Compliance violation | Agent gives restricted advice | Content filtering on responses |\n| Recording without consent | Missing disclosure | Enforce consent script on first turn |\n| Runaway call costs | No duration\u002Fbudget limits | Implement cost controls |\n| Frustrated caller | No human escalation | Detect escalation triggers, transfer |\n\n## Examples\n\n### Policy Dashboard\n```typescript\nconst dashboard = {\n  activeCalls: costPolicy.activeCalls.size,\n  dailySpend: costPolicy.getDailySpend().toFixed(2),\n  escalationRate: metrics.rate('escalations'),\n  avgCallDuration: metrics.avg('call_duration_sec')\n};\n```\n\n## Resources\n- [Retell AI Docs](https:\u002F\u002Fdocs.retellai.com)\n- [TCPA Compliance](https:\u002F\u002Fwww.fcc.gov\u002Fgeneral\u002Ftelemarketing-and-robocalls)\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 Policy Guardrails\n\n## Overview\nPolicy enforcement for Retell AI voice agent deployments. Voice AI agents interact with real people over phone calls, requiring strict controls around conversation content, call recording consent, data handling, and cost management.\n\n## Prerequisites\n- Retell AI agent configured\n- Understanding of telephony compliance (TCPA, GDPR)\n- Call recording consent requirements for your jurisdiction\n\n## Instructions\n\n### Step 1: Conversation Content Boundaries\n\nDefine what the agent can and cannot discuss to prevent liability.\n\n```typescript\nconst CONVERSATION_POLICY = {\n  blockedTopics: [\n    'medical advice', 'legal advice', 'financial advice',\n    'political opinions', 'competitor pricing'\n  ],\n  requiredDisclosures: [\n    'This is an AI assistant',\n    'This call may be recorded'\n  ],\n  maxCallDuration: 600,  \u002F\u002F 10 minutes  # 600: timeout: 10 minutes\n  escalationTriggers: ['speak to a human', 'talk to manager', 'real person']\n};\n\nfunction enforceContentPolicy(agentResponse: string): string {\n  for (const topic of CONVERSATION_POLICY.blockedTopics) {\n    if (agentResponse.toLowerCase().includes(topic)) {\n      return \"I'm not able to advise on that topic. Let me connect you with a specialist.\";\n    }\n  }\n  return agentResponse;\n}\n```\n\n### Step 2: Call Recording Consent\n\nMany jurisdictions require two-party consent for recording. Enforce upfront disclosure.\n\n```typescript\nconst CONSENT_SCRIPT = {\n  opening: \"Hi, this is an AI assistant calling from [Company]. This call may be recorded for quality purposes. Is that okay?\",\n  noConsent: \"I understand. I'll continue without recording. How can I help you today?\",\n  consentReceived: true\n};\n\napp.post('\u002Fretell-webhook', async (req, res) => {\n  const { call_id, turn_number, transcript } = req.body;\n\n  \u002F\u002F First turn: always deliver consent disclosure\n  if (turn_number === 0) {\n    return res.json({ response: CONSENT_SCRIPT.opening });\n  }\n\n  \u002F\u002F Second turn: check for consent\n  if (turn_number === 1) {\n    const consented = \u002Fyes|okay|sure|that's fine\u002Fi.test(transcript);\n    if (!consented) {\n      await retell.call.update(call_id, { recording_enabled: false });\n      return res.json({ response: CONSENT_SCRIPT.noConsent });\n    }\n  }\n\n  \u002F\u002F Normal processing\n  const response = await generateResponse(req.body);\n  return res.json({ response: enforceContentPolicy(response) });\n});\n```\n\n### Step 3: Cost Controls\n\nVoice calls cost per minute. Cap concurrent calls and duration.\n\n```typescript\nclass CallCostPolicy {\n  private activeCalls = new Map\u003Cstring, number>();\n  private maxConcurrent = 10;\n  private maxDurationSec = 600;  # 600: timeout: 10 minutes\n  private dailyBudget = 100;  \u002F\u002F dollars\n  private costPerMinute = 0.10;\n\n  canInitiateCall(): boolean {\n    if (this.activeCalls.size >= this.maxConcurrent) return false;\n    if (this.getDailySpend() >= this.dailyBudget) return false;\n    return true;\n  }\n\n  monitorDuration(callId: string) {\n    const started = this.activeCalls.get(callId);\n    if (started && (Date.now() - started) \u002F 1000 > this.maxDurationSec) {  # 1000: 1 second in ms\n      return { action: 'end', reason: 'Maximum call duration exceeded' };\n    }\n    return { action: 'continue' };\n  }\n\n  getDailySpend(): number {\n    let totalMinutes = 0;\n    for (const started of this.activeCalls.values()) {\n      totalMinutes += (Date.now() - started) \u002F 60000;  # 60000: 1 minute in ms\n    }\n    return totalMinutes * this.costPerMinute;\n  }\n}\n```\n\n### Step 4: Human Escalation Triggers\n\nDetect when callers want a human and transfer gracefully.\n\n```typescript\nfunction checkEscalation(transcript: string): boolean {\n  const triggers = ['speak to a human', 'real person', 'talk to someone', 'supervisor', 'manager'];\n  return triggers.some(t => transcript.toLowerCase().includes(t));\n}\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Compliance violation | Agent gives restricted advice | Content filtering on responses |\n| Recording without consent | Missing disclosure | Enforce consent script on first turn |\n| Runaway call costs | No duration\u002Fbudget limits | Implement cost controls |\n| Frustrated caller | No human escalation | Detect escalation triggers, transfer |\n\n## Examples\n\n### Policy Dashboard\n```typescript\nconst dashboard = {\n  activeCalls: costPolicy.activeCalls.size,\n  dailySpend: costPolicy.getDailySpend().toFixed(2),\n  escalationRate: metrics.rate('escalations'),\n  avgCallDuration: metrics.avg('call_duration_sec')\n};\n```\n\n## Resources\n- [Retell AI Docs](https:\u002F\u002Fdocs.retellai.com)\n- [TCPA Compliance](https:\u002F\u002Fwww.fcc.gov\u002Fgeneral\u002Ftelemarketing-and-robocalls)\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 lint rules, policy enforcement, and automated guardrails.\nUse when setting up code quality rules for Retell AI integrations, implementing\npre-commit hooks, or configuring CI policy checks for Retell AI best practices.\nTrigger with phrases like \"retellai policy\", \"retellai lint\",\n\"retellai guardrails\", \"retellai best practices check\", \"retellai eslint\".\n","Read, Write, Edit, Bash(npx:*)","claude-code, codex, openclaw","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","claude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fretellai-pack\u002Fskills\u002Fretellai-policy-guardrails",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-policy-guardrails",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill retellai-policy-guardrails",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill retellai-policy-guardrails","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fretellai-pack\u002Fskills\u002Fretellai-policy-guardrails\u002FSKILL.md",true,[],[70,96,115,134,152,176],{"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,93,94,95,23],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode",{"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,34,110,111,86,87,93,112,113,94,114,24],"deployment","apiops deployment","workflows","azure devops","infrastructure","infrastructure as code","actions","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"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",[],[18,122,123,124,78,81,86,87,125,126,127,128,129,130,131,94,132,133,24,23],"authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"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",[],[141,124,142,86,128,143,78,103,144,145,146,147,87,148,94,149,150,151,95,23],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"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",[],[159,160,161,105,162,163,164,165,86,166,167,168,29,169,170,171,172,173,174,175],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","list","view","project","project work","token","line","sprints",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"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",[],[178,183,184,185,186,187,188,126,189,190],"npm","js","calculate","node","math","user","compute","errors"]