Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/retellai-policy-guardrails/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill retellai-policy-guardrails. Copyright stays with the author (MIT).
Retell AI Policy Guardrails
Overview
Implementation patterns for Retell AI policy guardrails — voice agent and telephony platform.
Prerequisites
Completed retellai-install-auth setup
Instructions
Step 1: SDK Pattern
import Retell from 'retell-sdk';const retell = new Retell({ apiKey: process.env.RETELL_API_KEY! });const agents = await retell.agent.list();console.log(`Agents: ${agents.length}`);
Output
Retell AI integration for policy guardrails
Error Handling
Error
Cause
Solution
401 Unauthorized
Invalid API key
Check RETELL_API_KEY
429 Rate Limited
Too many requests
Implement backoff
400 Bad Request
Invalid parameters
Check API documentation
Examples
Restrict a booking agent to an approved action boundary
Give an appointment agent only the lookup and create-booking tools needed for
its flow, with explicit argument validation and a human handoff for refunds,
medical questions, or account changes. Test synthetic prompts that attempt
each forbidden action and verify that the agent refuses or transfers rather
than improvising. Version the policy with the agent and review deviations from
the guardrail before widening any permission.
Install retellai-policy-guardrails and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "jeremylongshore-tons-of-skills-marketplace-retellai-poli-0ef3f1",
"kind": "skill",
"name": "retellai-policy-guardrails",
"description": "Retell AI policy guardrails — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like \"retell policy guardrails\", \"retellai-policy-guardrails\", \"voice agent\".",
"publisher": "jeremylongshore",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"travel"
],
"tags": [
"skill-md",
"saas",
"retellai",
"voice",
"telephony",
"ai-agents",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Retell AI policy guardrails — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like \"retell policy guardrails\", \"retellai-policy-guardrails\", \"voice agent\"."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
"path": "skills/.curated/retellai-policy-guardrails/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/retellai-policy-guardrails/SKILL.md",
"key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/retellai-policy-guardrails/SKILL.md"
},
"compatibility": "Designed for Claude Code",
"allowed_tools": [
"Read,",
"Write,",
"Edit,",
"Bash(npm:*),",
"Bash(curl:*),",
"Grep"
],
"license": "MIT"
},
"instructions": "# Retell AI Policy Guardrails\n\n## Overview\n\nImplementation patterns for Retell AI policy guardrails — voice agent and telephony platform.\n\n## Prerequisites\n\n- Completed `retellai-install-auth` setup\n\n## Instructions\n\n### Step 1: SDK Pattern\n\n```typescript\nimport Retell from 'retell-sdk';\nconst retell = new Retell({ apiKey: process.env.RETELL_API_KEY! });\n\nconst agents = await retell.agent.list();\nconsole.log(`Agents: ${agents.length}`);\n```\n\n## Output\n\n- Retell AI integration for policy guardrails\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| 401 Unauthorized | Invalid API key | Check RETELL_API_KEY |\n| 429 Rate Limited | Too many requests | Implement backoff |\n| 400 Bad Request | Invalid parameters | Check API documentation |\n\n## Examples\n\n### Restrict a booking agent to an approved action boundary\n\nGive an appointment agent only the lookup and create-booking tools needed for\nits flow, with explicit argument validation and a human handoff for refunds,\nmedical questions, or account changes. Test synthetic prompts that attempt\neach forbidden action and verify that the agent refuses or transfers rather\nthan improvising. Version the policy with the agent and review deviations from\nthe guardrail before widening any permission.\n\n## Resources\n\n- [Retell AI Documentation](https://docs.retellai.com)\n- [retell-sdk npm](https://www.npmjs.com/package/retell-sdk)\n\n## Next Steps\n\nSee related Retell AI skills for more workflows.",
"cost": {
"context_tokens": 368
}
}
Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-retellai-poli-0ef3f1/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.