Publish Moviepilot Pluginのロゴ

Publish Moviepilot Plugin

コミュニティ人気
jxxghp
publish-moviepilot-plugin

MoviePilotのローカルプラグインをGitHubリポジトリで公開、アップロード、同期、取得、プッシュ、差分確認、または保守するようユーザーから依頼された場合に使います。設定済みのMoviePilot GitHubトークン、PLUGIN_LOCAL_REPO_PATHSのローカルプラグインリポジトリ、package.json/package.v2.jsonのメタデータ、plugins/plugins.v2の構成、安全なファイル除外、公開前の差分プレビュー、GitHub Contents APIによる差分更新、GitHubからローカルプラグインの変更を同期する方法を扱います。利用できる対象リポジトリがない場合は、既存のリポジトリを使うか、新しい公開リポジトリを作成するかを確認することも含みます。插件发布、插件维护、推送插件到 GitHub、从 GitHub 拉取插件、同步本地插件仓库、增量发布插件、插件仓库维护を含む中国語の依頼にも使います。

概要

公開者jxxghp
リポジトリMoviePilot
スキル名publish-moviepilot-plugin
スター
11.8K
フォーク
1.5K
同梱ファイル
1
ライセンスGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    jxxghpがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Publish Moviepilot Plugin」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jxxghp/MoviePilot/tree/v3/skills/publish-moviepilot-plugin
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jxxghp/MoviePilot.git /tmp/MoviePilot
mkdir -p .claude/skills
cp -r /tmp/MoviePilot/skills/publish-moviepilot-plugin .claude/skills/publish-moviepilot-plugin
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPublish Moviepilot Pluginを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPublish Moviepilot Pluginを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Publish Moviepilot Pluginは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.v2/<plugin_id_lower>/ or plugins/<plugin_id_lower>/ to a GitHub repository.
  • Merge only that plugin's entry into package.v2.json or package.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, and PLUGIN_LOCAL_REPO_PATHS when 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, especially GITHUB_TOKEN and REPO_GITHUB_TOKEN.
  • Plugin package layouts:
    • V2: package.v2.json and plugins.v2/<plugin_id_lower>/
    • Legacy: package.json and plugins/<plugin_id_lower>/

Pre-Flight

  1. 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.
  2. 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/repo and state that the repository will be public by default.
    • Do not create a private repository unless the user explicitly asks for it.
  3. Select the package version layout.
    • Prefer v2 when package.v2.json or plugins.v2/<plugin_id_lower>/ exists.
    • Use legacy only when the local plugin is under plugins/.
  4. Verify token availability.
    • Prefer REPO_GITHUB_TOKEN for 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.

Script

Use scripts/publish_plugin.py for deterministic GitHub operations.

bash
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

python skills/publish-moviepilot-plugin/scripts/publish_plugin.py create-repo \
  --repo owner/repo

Options:

  • create-repo: create the target GitHub repository. Default visibility is public; use --private only when the user explicitly asked for private.
  • preview: compare local filtered files with remote files and print JSON.
  • push: upload changed files and merge the plugin package entry.
  • pull: write remote plugin files and package entry into local source.
  • --create-repo-if-missing: on push, create the target public repository when GitHub reports that it does not exist.
  • --delete-remote: on push, delete remote plugin files that no longer exist locally after exclusions.
  • --force: on pull, allow overwriting local files that differ from remote.
  • --include PATTERN: add files otherwise excluded by default.
  • --exclude PATTERN: add an extra ignore pattern.
  • --dry-run: print planned changes without writing.
  • --proxy URL: use an explicit HTTP/HTTPS proxy for GitHub API requests.

Safety Rules

  • Always run preview before push unless the user explicitly asks for a direct push and already reviewed the diff.
  • When no repository is known, ask the user to choose: 使用已有 GitHub 仓库 or 自动创建 GitHub 仓库(默认 public).
  • Only run create-repo or push --create-repo-if-missing after the user has explicitly chosen automatic creation.
  • Never upload these files unless explicitly included: .env, .env.*, config/, data/, cache/, logs/, tmp/, __pycache__/, .pytest_cache/, .mypy_cache/, .ruff_cache/, .DS_Store, *.pyc, *.pyo, *.db, *.sqlite, *.sqlite3, *.log, *.bak, *.tmp, *.secret, *.key, *.pem, *.crt, *.p12, *.pfx, node_modules/.
  • For Vue federation plugins, publish built runtime assets under dist/assets/ when they are present; do not exclude them as generated files.
  • Do not overwrite or remove package entries for other plugins.
  • Do not log or print GitHub token values.
  • For push operations, report created, updated, deleted, skipped, and rejected files separately.
  • For pull operations, preserve local-only ignored files and refuse to overwrite differing local files unless --force is used.

Examples

User asks: 把本地 MyPlugin 发布到我的 GitHub 插件仓库

  1. Find MyPlugin under configured PLUGIN_LOCAL_REPO_PATHS.
  2. Ask whether to use an existing repository or create a new public repository if owner/repo cannot be inferred.
  3. Run preview and summarize the diff.
  4. Run push only after the user confirms or requested immediate publish.

User asks: 发布插件,没有 GitHub 仓库

  1. Ask for the target owner/repo and confirm automatic creation.
  2. Run create-repo or use push --create-repo-if-missing.
  3. Continue with preview and push after repository creation succeeds.

User asks: 同步 GitHub 上 MyPlugin 的最新代码到本地

  1. Run pull without --force.
  2. If local conflicts are reported, show the conflicting paths and ask whether to force overwrite or resolve manually.

Final Checklist

  • The plugin ID matches the package object key.
  • The package file and plugin directory layout match the selected version.
  • Sensitive and runtime-local files were rejected or skipped.
  • The preview was shown before push, unless explicitly bypassed.
  • The final response mentions whether local agent restart is needed only when this built-in skill itself changed.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Publish Moviepilot Plugin」では何ができますか?

MoviePilotのローカルプラグインをGitHubリポジトリで公開、アップロード、同期、取得、プッシュ、差分確認、または保守するようユーザーから依頼された場合に使います。設定済みのMoviePilot GitHubトークン、PLUGIN_LOCAL_REPO_PATHSのローカルプラグインリポジトリ、package.json/package.v2.jsonのメタデータ、plugins/plugins.v2の構成、安全なファイル除外、公開前の差分プレビュー、GitHub Contents APIによる差分更新、GitHubからローカルプラグインの変更を同期する方法を扱います。利用できる対象リポジトリがない場合は、既存のリポジトリを使うか、新しい公開リポジトリを作成するかを確認することも含みます。插件发布、插件维护、推送插件到 GitHub、从 GitHub 拉取插件、同步本地插件仓库、增量发布插件、插件仓库维护を含む中国語の依頼にも使います。

TypingMindでPublish Moviepilot Pluginを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Publish Moviepilot Pluginはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPublish Moviepilot Pluginをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jxxghp/MoviePilot/tree/v3/skills/publish-moviepilot-pluginを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Publish Moviepilot Pluginを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Publish Moviepilot Pluginで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPublish Moviepilot Pluginを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Publish Moviepilot Plugin」は無料ですか?

はい。jxxghpがGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇