fiftyone-develop-plugin
FiftyOneの機能を拡張したい場合に、独自のプラグイン(オペレーターやパネル)を開発し、外部APIとの連携やインタラクティブな画面構築などを実現するSkill。
📜 元の英語説明(参考)
Develop custom FiftyOne plugins (operators and panels) from scratch. Use when user wants to create a new plugin, extend FiftyOne with custom operators, build interactive panels, or integrate external APIs into FiftyOne. Guides through requirements, design, coding, testing, and iteration.
🇯🇵 日本人クリエイター向け解説
FiftyOneの機能を拡張したい場合に、独自のプラグイン(オペレーターやパネル)を開発し、外部APIとの連携やインタラクティブな画面構築などを実現するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o fiftyone-develop-plugin.zip https://jpskill.com/download/17012.zip && unzip -o fiftyone-develop-plugin.zip && rm fiftyone-develop-plugin.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17012.zip -OutFile "$d\fiftyone-develop-plugin.zip"; Expand-Archive "$d\fiftyone-develop-plugin.zip" -DestinationPath $d -Force; ri "$d\fiftyone-develop-plugin.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
fiftyone-develop-plugin.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
fiftyone-develop-pluginフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
FiftyOne プラグインの開発
概要
要件収集、コード生成、ローカルテスト、反復的な改良といった、完全なライフサイクルサポートを備えたカスタム FiftyOne プラグインを作成します。
このスキルは、以下の場合に使用します。
- ユーザーが FiftyOne プラグインを作成/構築/開発するように依頼した場合
- ユーザーが FiftyOne App にカスタム機能を追加したい場合
- ユーザーが外部 API またはサービスを統合する必要がある場合
前提条件
- FiftyOne がインストールされていること (
pip install fiftyone) - Python 3.8 以降 (Python プラグインの場合)
- Node.js 16 以降 (JavaScript パネルのみ)
主要な指示
常に以下のルールに従ってください。
1. コーディングの前に理解する
明確にするための質問をしてください。プラグインが何をするべきかを決して推測しないでください。
2. 実装の前に計画する
ファイル構造と設計を提示してください。コードを生成する前に、ユーザーの承認を得てください。
3. 既存のプラグインからパターンを探す
list_plugins(enabled=True)
list_operators(builtin_only=False)
get_operator_schema(operator_uri="@voxel51/brain/compute_similarity")
4. 完了する前にローカルでテストする
プラグインをインストールし、FiftyOne App で動作することを確認してください。
5. フィードバックを繰り返す
プラグインが期待どおりに動作するまで改良してください。
ワークフロー
フェーズ 1: 要件
以下の質問をしてください。
- 「あなたのプラグインは何をすべきですか?」(一文で)
- 「Operator (アクション) または Panel (インタラクティブ UI) ですか?」
- 「ユーザーからの入力は何ですか?」
- 「出力/結果は何ですか?」
- 「必要な外部 API またはシークレットはありますか?」
- 「長いタスクのためのバックグラウンド実行は必要ですか?」
フェーズ 2: 設計
- 既存のプラグインから類似のパターンを探します
- 以下の内容を含む計画を作成します。
- プラグイン名 (
@org/plugin-name) - ファイル構造
- Operator/panel の仕様
- 入力/出力の定義
- プラグイン名 (
- コーディングの前にユーザーの承認を得てください
ファイル形式については、PLUGIN-STRUCTURE.md を参照してください。
フェーズ 3: コードの生成
以下のファイルを作成します。
| ファイル | 必須 | 目的 |
|---|---|---|
fiftyone.yml |
はい | プラグインマニフェスト |
__init__.py |
はい | Python の operator/panel |
requirements.txt |
依存関係がある場合 | Python の依存関係 |
package.json |
JS のみ | Node.js のメタデータ |
src/index.tsx |
JS のみ | React コンポーネント |
参考資料:
フェーズ 4: インストールとテスト
# プラグインディレクトリを見つける
python -c "import fiftyone as fo; print(fo.config.plugins_dir)"
# プラグインをコピーする
cp -r ./my-plugin ~/.fiftyone/plugins/
# 検出を確認する
python -c "import fiftyone as fo; print(fo.plugins.list_plugins())"
App でテストする:
launch_app(dataset_name="test-dataset")
# Cmd/Ctrl + ` を押して operator ブラウザを開く
# あなたの operator を検索する
フェーズ 5: 反復
- ユーザーからのフィードバックを得る
- 問題を修正する
- プラグインディレクトリに再度コピーする
- 必要に応じて App を再起動する
- 動作するまで繰り返す
クイックリファレンス
プラグインの種類
| 種類 | 言語 | ユースケース |
|---|---|---|
| Operator | Python | データ処理、計算 |
| Panel | Python | シンプルなインタラクティブ UI |
| Panel | JavaScript | リッチな React ベースの UI |
Operator の設定オプション
| オプション | 効果 |
|---|---|
dynamic=True |
変更時に入力を再計算する |
execute_as_generator=True |
進捗状況をストリーミングする |
allow_delegated_execution=True |
バックグラウンド実行 |
unlisted=True |
ブラウザから非表示にする |
入力タイプ
| タイプ | メソッド |
|---|---|
| テキスト | inputs.str() |
| 数値 | inputs.int() / inputs.float() |
| 真偽値 | inputs.bool() |
| ドロップダウン | inputs.enum() |
| ファイル | inputs.file() |
| View | inputs.view_target() |
最小限の例
fiftyone.yml:
name: "@myorg/hello-world"
type: plugin
operators:
- hello_world
init.py:
import fiftyone.operators as foo
import fiftyone.operators.types as types
class HelloWorld(foo.Operator):
@property
def config(self):
return foo.OperatorConfig(
name="hello_world",
label="Hello World"
)
def resolve_input(self, ctx):
inputs = types.Object()
inputs.str("message", label="Message", default="Hello!")
return types.Property(inputs)
def execute(self, ctx):
print(ctx.params["message"])
return {"status": "done"}
def register(p):
p.register(HelloWorld)
トラブルシューティング
プラグインが表示されない:
fiftyone.ymlがプラグインのルートに存在することを確認してください- 場所を確認してください:
~/.fiftyone/plugins/ - Python の構文エラーを確認してください
- FiftyOne App を再起動してください
Operator が見つからない:
fiftyone.ymlに operator がリストされていることを確認してくださいregister()関数を確認してくださいlist_operators()を実行してデバッグしてください
シークレットが利用できない:
fiftyone.ymlのsecrets:に追加してください- FiftyOne を起動する前に環境変数を設定してください
リソース
ライセンス
Copyright 2017-2025, Voxel51, Inc. Apache 2.0 License
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Develop FiftyOne Plugins
Overview
Create custom FiftyOne plugins with full lifecycle support: requirements gathering, code generation, local testing, and iterative refinement.
Use this skill when:
- User asks to create/build/develop a FiftyOne plugin
- User wants to add custom functionality to FiftyOne App
- User needs to integrate an external API or service
Prerequisites
- FiftyOne installed (
pip install fiftyone) - Python 3.8+ (for Python plugins)
- Node.js 16+ (only for JavaScript panels)
Key Directives
ALWAYS follow these rules:
1. Understand before coding
Ask clarifying questions. Never assume what the plugin should do.
2. Plan before implementing
Present file structure and design. Get user approval before generating code.
3. Search existing plugins for patterns
list_plugins(enabled=True)
list_operators(builtin_only=False)
get_operator_schema(operator_uri="@voxel51/brain/compute_similarity")
4. Test locally before done
Install plugin and verify it works in FiftyOne App.
5. Iterate on feedback
Refine until the plugin works as expected.
Workflow
Phase 1: Requirements
Ask these questions:
- "What should your plugin do?" (one sentence)
- "Operator (action) or Panel (interactive UI)?"
- "What inputs from the user?"
- "What outputs/results?"
- "External APIs or secrets needed?"
- "Background execution for long tasks?"
Phase 2: Design
- Search existing plugins for similar patterns
- Create plan with:
- Plugin name (
@org/plugin-name) - File structure
- Operator/panel specs
- Input/output definitions
- Plugin name (
- Get user approval before coding
See PLUGIN-STRUCTURE.md for file formats.
Phase 3: Generate Code
Create these files:
| File | Required | Purpose |
|---|---|---|
fiftyone.yml |
Yes | Plugin manifest |
__init__.py |
Yes | Python operators/panels |
requirements.txt |
If deps | Python dependencies |
package.json |
JS only | Node.js metadata |
src/index.tsx |
JS only | React components |
Reference docs:
Phase 4: Install & Test
# Find plugins directory
python -c "import fiftyone as fo; print(fo.config.plugins_dir)"
# Copy plugin
cp -r ./my-plugin ~/.fiftyone/plugins/
# Verify detection
python -c "import fiftyone as fo; print(fo.plugins.list_plugins())"
Test in App:
launch_app(dataset_name="test-dataset")
# Press Cmd/Ctrl + ` to open operator browser
# Search for your operator
Phase 5: Iterate
- Get user feedback
- Fix issues
- Re-copy to plugins directory
- Restart App if needed
- Repeat until working
Quick Reference
Plugin Types
| Type | Language | Use Case |
|---|---|---|
| Operator | Python | Data processing, computations |
| Panel | Python | Simple interactive UI |
| Panel | JavaScript | Rich React-based UI |
Operator Config Options
| Option | Effect |
|---|---|
dynamic=True |
Recalculate inputs on change |
execute_as_generator=True |
Stream progress |
allow_delegated_execution=True |
Background execution |
unlisted=True |
Hide from browser |
Input Types
| Type | Method |
|---|---|
| Text | inputs.str() |
| Number | inputs.int() / inputs.float() |
| Boolean | inputs.bool() |
| Dropdown | inputs.enum() |
| File | inputs.file() |
| View | inputs.view_target() |
Minimal Example
fiftyone.yml:
name: "@myorg/hello-world"
type: plugin
operators:
- hello_world
init.py:
import fiftyone.operators as foo
import fiftyone.operators.types as types
class HelloWorld(foo.Operator):
@property
def config(self):
return foo.OperatorConfig(
name="hello_world",
label="Hello World"
)
def resolve_input(self, ctx):
inputs = types.Object()
inputs.str("message", label="Message", default="Hello!")
return types.Property(inputs)
def execute(self, ctx):
print(ctx.params["message"])
return {"status": "done"}
def register(p):
p.register(HelloWorld)
Troubleshooting
Plugin not appearing:
- Check
fiftyone.ymlexists in plugin root - Verify location:
~/.fiftyone/plugins/ - Check for Python syntax errors
- Restart FiftyOne App
Operator not found:
- Verify operator listed in
fiftyone.yml - Check
register()function - Run
list_operators()to debug
Secrets not available:
- Add to
fiftyone.ymlundersecrets: - Set environment variables before starting FiftyOne
Resources
License
Copyright 2017-2025, Voxel51, Inc. Apache 2.0 License