コマンド概要
openclaw plugins コマンドは OpenClaw のプラグインエコシステムを管理するために使用します。プラグインによりAIアシスタントに新しいツール、スキル、統合機能を追加できます。
インストール済みプラグインの表示
openclaw plugins list
プラグインの検索
openclaw plugins search weather
プラグインのインストール
# 公式リポジトリからインストール
openclaw plugins install weather
# 特定バージョンをインストール
openclaw plugins install [email protected]
# GitHubからインストール
openclaw plugins install github:username/openclaw-plugin-name
# ローカルパスからインストール
openclaw plugins install /path/to/plugin
プラグインの設定
openclaw plugins configure weather
設定ファイルでの指定:
{
"plugins": {
"weather": {
"provider": "openweathermap",
"apiKey": "{{WEATHER_API_KEY}}",
"units": "metric",
"defaultCity": "東京"
}
}
}
プラグインの有効化/無効化
openclaw plugins enable weather
openclaw plugins disable weather
プラグインの更新
openclaw plugins update weather
openclaw plugins update --all
openclaw plugins outdated
カスタムプラグインの開発
プラグインのスキャフォールドを作成:
openclaw plugins create my-plugin
テスト:
openclaw plugins test /path/to/my-plugin
まとめ
OpenClaw のプラグインシステムはモジュラー設計により、AIアシスタントの機能を柔軟に拡張できます。コミュニティプラグインの利用でもカスタムプラグインの開発でも、簡単にAIに新しいスキルを追加できます。