The skill already follows the open standard; this adds the OpenClaw block (emoji, primaryEnv) and the Hermes block (category, tags) plus version and homepage, all ignored by agents that don't read them. README gains the per-agent install commands: copy for Claude Code, GitHub-direct for Hermes, ClawHub for OpenClaw.
3.5 KiB
| name | version | description | homepage | metadata | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| openshorts | 1.0.0 | Turn long videos (podcasts, webinars, streams) into vertical 9:16 clips with subtitles and publish them to TikTok, Instagram Reels and YouTube Shorts via the OpenShorts API or MCP server. Use when the user wants to clip a video into shorts, restyle captions on a clip, schedule or post clips to social platforms, or automate a clipping pipeline. | https://www.openshorts.app/mcp |
|
OpenShorts: clip and publish video
OpenShorts turns a long video into 3-15 vertical clips (15-60s each) with word-level subtitles burned in, then optionally publishes them. One job takes minutes, not seconds: always work async (submit, then webhook or poll).
Connect
Two equivalent surfaces; prefer MCP when the client supports it:
- MCP (streamable HTTP):
https://mcp.openshorts.app/mcpwith headerAuthorization: Bearer osk_.... Six tools:process_video,get_job_status,list_clips,get_quota,add_subtitles,publish_clip. - REST: same key against
https://api.openshorts.app(OpenAPI at/openapi.json, docs at/docs).
Keys are created in the account page at openshorts.app and start with osk_.
Self-hosted instances expose the same endpoints on http://localhost:8000
with no key. If a call returns 401/404 on /api/me, assume self-host or
anonymous: there is no minute quota to enforce.
The core loop
get_quotafirst when the job is large:process_videofails withquota_exceededif minutes run out; on the hosted service API calls draw from the same minute balance as the dashboard (no separate meter).- Submit:
POST /api/processwith JSON{"url": "...", "acknowledged": true}. Optional:layouts("auto,split,screencast"),output_format("1080p"),webhook_url+webhook_secret. Returns{"job_id": ...}immediately. - Finish: webhooks beat polling. With
webhook_urlset, OpenShorts POSTs exactly once when the job ends (completed OR failed, so pipelines never hang):{"event": "job.completed", "job_id", "status", "clips": [{"index", "title", "video_url", "download_url"}]}. If a secret was set, verifyX-OpenShorts-Signature: sha256=<hex>= HMAC-SHA256 of the raw body. Without a webhook, pollGET /api/status/{job_id}every ~10s; response is{"status", "logs", "result"}andresult.clipsappears on completion. - Publish:
POST /api/social/postwith{"job_id", "clip_index", "platforms": ["tiktok", "instagram", "youtube"]}, optionaltitle,scheduled_date(ISO) +timezone. Restyle captions first if asked:POST /api/subtitlewith{"job_id", "clip_index", "style"}(classicor karaoke word highlighting).
Rules
- Only submit videos the user has rights to;
process_videorequires theconfirm_rightsacknowledgement and that is deliberate. download_urllinks are presigned for 24h: fetch or forward them promptly.- Never describe OpenShorts as simply "free": the self-hosted edition is free and MIT-licensed; the hosted service has 20 free minutes/month (watermarked) and paid plans from $12/month without watermark.
CLI shortcut
When shell access is easier than HTTP: uvx openshorts process <url> --wait,
openshorts clips <job_id>, openshorts publish <job_id> 0 --platforms tiktok. Auth via OPENSHORTS_API_KEY / OPENSHORTS_API_URL env vars.