publish-moviepilot-plugin
What it does
It guides the AI through uploading one local MoviePilot plugin to a GitHub repository, previewing the changes first and keeping secrets out of the upload. It is for plugin developers who share their plugins.
When to use it
- ✓When you want to publish your MoviePilot plugin to a GitHub repository.
- ✓When you want to compare your local plugin with the version already on GitHub.
- ✓When you want to pull a plugin's latest files from GitHub back to your local source.
Skill link
https://github.com/jxxghp/MoviePilot/blob/v3/skills/publish-moviepilot-plugin/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please publish my MoviePilot plugin to GitHub, but show me the changes first.”
5 new skills a week. 1 minute to read.
How it works
The AI checks the plugin's metadata and folder layout, excludes sensitive files, previews the differences and writes to GitHub only after that preview.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Publish MoviePilot Plugin
Use this skill to publish and maintain a MoviePilot local plugin repository through GitHub while protecting local secrets and unrelated plugins.
Scope
- Publish one local plugin under
plugins.v3/<plugin_id_lower>/,plugins.v2/<plugin_id_lower>/orplugins/<plugin_id_lower>/to a GitHub repository. - Merge only that plugin's entry into
package.v3.json,package.v2.jsonorpackage.json. - Preview local/remote differences before writing.
- Pull remote plugin files back to the local plugin source.
- Create the target GitHub repository when the user explicitly chooses automatic creation; repositories are public by default unless the user asks for private.
- Reuse MoviePilot settings
GITHUB_TOKEN,REPO_GITHUB_TOKEN, andPLUGIN_LOCAL_REPO_PATHSwhen available.
Ground Truth
- Local plugin development rules:
skills/create-moviepilot-plugin/SKILL.md. - Local plugin source discovery:
app/adapters/external/market.py,PluginHelper.get_local_repo_paths(). - GitHub token settings:
app/runtime/config.py, especiallyGITHUB_TOKENandREPO_GITHUB_TOKEN. - Plugin package layouts:
- V3:
package.v3.jsonandplugins.v3/<plugin_id_lower>/ - V2:
package.v2.jsonandplugins.v2/<plugin_id_lower>/ - Legacy:
package.jsonandplugins/<plugin_id_lower>/
- V3:
Pre-Flight
- Identify the target plugin ID and local source repository.
- If the user gives a path, use it.
- Otherwise query
PLUGIN_LOCAL_REPO_PATHS; if exactly one configured repository contains the plugin, use it. - If several configured repositories contain the plugin, ask which one.
- Identify the GitHub repository as
owner/repo.- Use the user's explicit repository first.
- If omitted, infer only when the local source has an obvious Git remote.
- If neither is available, ask whether to use an existing repository or automatically create a new public repository.
- If the user chooses an existing repository, ask for
owner/repo. - If the user chooses automatic creation, ask for the target
owner/repoand state that the repository will be public by default. - Do not create a private repository unless the user explicitly asks for it.
- Select the package version layout.
- Prefer
v3when the plugin lives underplugins.v3/<plugin_id_lower>/or the repository shipspackage.v3.json(current MoviePilot V3 hosts). - Prefer
v2whenpackage.v2.jsonorplugins.v2/<plugin_id_lower>/exists. - Use legacy only when the local plugin is under
plugins/.
- Prefer
- Verify token availability.
- Prefer
REPO_GITHUB_TOKENfor the target repo when configured. - Fall back to
GITHUB_TOKEN. - If no token is configured, ask the user to configure one before pushing. Read-only preview may still run without a token for public repositories.
- Prefer
Script
Use scripts/publish_plugin.py for deterministic GitHub operations.
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py preview \
--repo owner/repo \
--plugin-id MyPlugin \
--local-repo /path/to/MoviePilot-Plugins \
--package-version v2
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py push \
--repo owner/repo \
--plugin-id MyPlugin \
--local-repo /path/to/MoviePilot-Plugins \
--package-version v2 \
--message "Publish MyPlugin v1.0.0"
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py pull \
--repo owner/repo \
--plugin-id MyPlugin \
--local-repo /path/to/MoviePilot-Plugins \
--package-version v2
# V3 插件仓库(package.v3.json + plugins.v3/)
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py push \
--repo owner/repo \
--plugin-id MyPlugin \
--local-repo /path/to/MoviePilot-Plugins \
--package-version v3 \
--message "Publish MyPlugin v1.0.0"
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py create-repo \
--repo owner/repo
Options:
--package-version v3|v2|legacy|auto: layout selector.autoresolves the layout from where the plugin directory actually lives (plugins.v3→plugins.v2→plugins), then falls back to the manifest files, so repositories that still keep both manifests stay correct. Passv3explicitly for current MoviePilot V3 plugin repositories.create-repo: create the target GitHub repository. Default visibility is public; use--privateonly when the user explicitly asked for private.preview: compare local filtere
FAQ
Are new GitHub repositories public?
The skill says repositories are public by default unless you ask for a private one.
Does it need my GitHub token in the chat?
No. It reuses the GitHub token already set in MoviePilot's settings.
Does it publish other plugins too?
No. It publishes only the plugin you name and merges only that plugin's metadata entry.
Details
Original description by the author
Use this skill when the user asks to publish, upload, sync, pull, push, diff, or maintain a MoviePilot local plugin in a GitHub repository. Covers using the configured MoviePilot GitHub token, PLUGIN_LOCAL_REPO_PATHS local plugin repositories, package.json/package.v2.json/package.v3.json metadata, plugins/plugins.v2/plugins.v3 layouts, safe file exclusion, diff preview before publishing, incremental GitHub Contents API updates, and syncing local plugin changes back from GitHub. Includes asking whether to use an existing repository or create a new public repository when no target repository is
repo: jxxghp/MoviePilot
Popularity
- GitHub stars
- 12k
- Ranking position
- #11489
- License
- GPL-3.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
anysearch
12kHelps your agent search the web in real time, query specialized sources such as finance or academic data and read full web pages.
browser-use
12kHelps your agent open web pages, read them, click buttons, fill in forms and take screenshots to check the results.
command-dispatch
12kHelps your agent find and run MoviePilot system or plugin commands from a request, after checking which commands exist.
create-moviepilot-plugin
12kHelps your agent create or fix a MoviePilot plugin, using the right file layout and setup for the MoviePilot version.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.