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.
upload-element-previews - Skill - OpenSmartRoute
Skillv1.0.0
upload-element-previews
Upload a Remotion Element's preview assets to remotion.media and replace local preview URLs. Use when given an Element slug, or when exactly one Element's preview assets are present in the current…
Imported from remotion-dev/remotion (.agents/skills/upload-element-previews/SKILL.md). Install upstream with npx skills add remotion-dev/remotion --skill upload-element-previews. Copyright stays with the author.
Upload Element Previews
Identify the Element slug. Ask if it is ambiguous.
Choose the source:
Use render for fresh files in .element-previews.
Use submission for committed files in static/elements.
Upload the previews:
cd packages/docsbun run upload-element-preview \ --element=<category>/<slug> \ --source=<render|submission>
Each upload uses a new random URL postfix, including when the Element already has hosted previews. This keeps previews from concurrent branches independent.
Replace image, posterUrl, and videoUrl with the newly printed remotion.media URLs.
If using submission, delete the local review assets. If using render, leave .element-previews uncommitted.
Commit and push when the work belongs on a branch.
Installed into a catalogue, chosen by a router
Install upload-element-previews 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": "remotion-dev-remotion-upload-element-previews",
"kind": "skill",
"name": "upload-element-previews",
"description": "Upload a Remotion Element's preview assets to remotion.media and replace local preview URLs. Use when given an Element slug, or when exactly one Element's preview assets are present in the current worktree.",
"publisher": "remotion-dev",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Upload a Remotion Element's preview assets to remotion.media and replace local preview URLs. Use when given an Element slug, or when exactly one Element's preview assets are present in the current worktree."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/remotion-dev/remotion",
"path": ".agents/skills/upload-element-previews/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/remotion-dev/remotion/blob/HEAD/.agents/skills/upload-element-previews/SKILL.md",
"key": "remotion-dev/remotion/.agents/skills/upload-element-previews/SKILL.md"
}
},
"instructions": "# Upload Element Previews\n\n1. Identify the Element slug. Ask if it is ambiguous.\n2. Choose the source:\n - Use `render` for fresh files in `.element-previews`.\n - Use `submission` for committed files in `static/elements`.\n3. Upload the previews:\n\n```bash\ncd packages/docs\nbun run upload-element-preview \\\n --element=<category>/<slug> \\\n --source=<render|submission>\n```\n\nEach upload uses a new random URL postfix, including when the Element already has hosted previews. This keeps previews from concurrent branches independent.\n\n4. Replace `image`, `posterUrl`, and `videoUrl` with the newly printed `remotion.media` URLs.\n5. If using `submission`, delete the local review assets. If using `render`, leave `.element-previews` uncommitted.\n6. Commit and push when the work belongs on a branch.",
"cost": {
"context_tokens": 199
}
}
Fetch it by URL: GET /api/v1/registry/remotion-dev-remotion-upload-element-previews/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.