clipwright/skills/openshorts/README.md
pedro-bento fbabb4ec5d refactor: self-hosted fork — Postiz publishing, drop AI Shorts/UGC/agent/autopilot/MCP, fix Studio image API, remove upload cap
- Replace Upload-Post with a self-hosted Postiz client (postiz.py) and /api/postiz/* endpoints
- Remove AI Shorts, UGC gallery, AI Agent tab, Autopilot, MCP/agent layer, and their UIs
- Fix YouTube Studio thumbnail generation (google-genai >=2 Interactions API) and blocking download
- Make the video upload size cap configurable/unlimited (MAX_FILE_SIZE_MB, default 0)
- Update SEO/marketing/docs to the single-product self-hosted reality; lint+build green
2026-10-04 16:30:44 +01:00

42 lines
1.6 KiB
Markdown

# OpenShorts as an Agent Skill
`SKILL.md` plus `reference.md` are an
[Agent Skill](https://github.com/agentskills/agentskills): an open standard
adopted by 26+ agent products, so this one folder installs in Claude Code,
OpenClaw, Hermes, Codex, Gemini CLI, Cursor and VS Code without changes.
It teaches an agent to turn a long video into vertical 9:16 clips through the
OpenShorts API: which options actually produce good clips, which responses look
like errors but are not, and when to stop and ask the user.
## Setup
Run OpenShorts yourself with Docker and point the agent at the instance
(`OPENSHORTS_API_URL`, default `http://localhost:8000`). No API key is required
on a self-hosted instance, but you do need a Google Gemini key in the server's
environment for the AI stages. The skill calls the REST API documented in
`reference.md`; publishing goes through your self-hosted
[Postiz](https://postiz.pbento.pt/) instance.
## Install
**Claude Code.** Copy the folder into `~/.claude/skills/` for every project, or
a project's `.claude/skills/` for one:
```bash
cp -r skills/openshorts ~/.claude/skills/
```
**OpenClaw.** Copy it into your OpenClaw `skills/` directory, or install from
git with `openclaw add <owner>/<repo>`.
**Hermes.** Skills live in `~/.hermes/skills/`; installing from the marketplace
runs a security scan first.
**Anything else.** Drop the folder wherever that agent reads skills from.
## Related
- `examples/n8n/` has the same pipeline as importable n8n workflows, watched
channel in and scheduled clips out through Postiz.
- The generated API docs are served at `/docs` (OpenAPI) on any instance.