mcpField
V
vision-analysis

vision-analysis

github.com/minimax-aiクリエイティブ・メディア13.7k2.7k 回インストール28 週間前に更新
リポジトリ

vision-analysis について

vision-analysis は、MiniMax の画像理解ツールで画像を分析するスキルです。画像説明、OCR、UI レビュー、グラフデータ抽出、物体検出に対応し、必要な MiniMax MCP の設定も案内します。

主な機能

  1. 015 種類の画像分析モード
  2. 02スクリーンショットや文書からの文字抽出
  3. 03UI モックアップの評価と改善案
  4. 04グラフのデータと傾向の抽出
  5. 05環境に応じた MCP 設定案内

活用シーン

  1. 01画像の内容と構図の説明
  2. 02スクリーンショットや文書の文字起こし
  3. 03UI モックアップの操作性確認
  4. 04グラフのデータと傾向の要約

MCP 対応

画像分析には MiniMax MCP の `MiniMax_understand_image` ツールを使用します。MiniMax MCP の設定と有効な Token Plan API キーが必要です。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/minimax-ai/skills --skill vision-analysis

インストール後、Claude Code で/vision-analysisを入力して読み込まれたか確認します。

詳細

ビジョン分析

MiniMax Token Plan で利用できる MiniMax の MiniMax_understand_image MCP ツールを使用して、画像を分析します。

前提条件

  • 有効な MINIMAX_API_KEY を含む MiniMax Token Plan のサブスクリプション
  • MiniMax MCP が設定済み(MiniMax_understand_image ツールを利用可能)
MCP ツールが設定されていない場合

ステップ 1: エージェントは次のページからセットアップ手順を取得します。 https://platform.minimaxi.com/docs/token-plan/mcp-guide

ステップ 2: ユーザーの環境(OpenCode、Cursor、Claude Code など)を検出し、必要なコマンドを正確に出力します。一般的な例:

OpenCode — ~/.config/opencode/opencode.json または package.json に追加します。

{
  "mcp": {
    "MiniMax": {
      "type": "local",
      "command": ["uvx", "minimax-coding-plan-mcp", "-y"],
      "environment": {
        "MINIMAX_API_KEY": "YOUR_TOKEN_PLAN_KEY",
        "MINIMAX_API_HOST": "https://api.minimaxi.com"
      },
      "enabled": true
    }
  }
}

Claude Code:

claude mcp add -s user MiniMax --env MINIMAX_API_KEY=your-key --env MINIMAX_API_HOST=https://api.minimaxi.com -- uvx minimax-coding-plan-mcp -y

Cursor — MCP の設定に追加します。

{
  "mcpServers": {
    "MiniMax": {
      "command": "uvx",
      "args": ["minimax-coding-plan-mcp"],
      "env": {
        "MINIMAX_API_KEY": "your-key",
        "MINIMAX_API_HOST": "https://api.minimaxi.com"
      }
    }
  }
}

ステップ 3: 設定後、アプリを再起動して /mcp で確認するようユーザーに伝えます。

重要: ユーザーが MiniMax Token Plan を契約していない場合、understand_image ツールにはサブスクリプションが必要であり、無料または他のプランの API キーでは使用できないことを伝えてください。

分析モード

モード使用する場面プロンプトの方針
describe画像の一般的な理解詳細な説明を求めます
ocrスクリーンショットやドキュメントからのテキスト抽出すべてのテキストをそのまま抽出するよう求めます
ui-reviewUI モックアップ、ワイヤーフレーム、デザインファイル改善案を含むデザインレビューを求めます
chart-dataチャート、グラフ、データの視覚化データポイントと傾向の抽出を求めます
object-detect物体、人、アクティビティの特定すべての要素を列挙し、位置を示すよう求めます

ワークフロー

ステップ 1:画像を自動検出する

メッセージに次の拡張子を持つ画像ファイルのパスまたは URL が含まれていると、スキルが自動的に起動します。 .jpg、.jpeg、.png、.gif、.webp、.bmp、.svg

メッセージから画像のパスを抽出します。

ステップ 2:分析モードを選択し、MCP ツールを呼び出す

モードに応じたプロンプトを指定して、MiniMax_understand_image ツールを使用します。

describe:

Provide a detailed description of this image. Include: main subject, setting/background,
colors/style, any text visible, notable objects, and overall composition.

ocr:

Extract all text visible in this image verbatim. Preserve structure and formatting
(headers, lists, columns). If no text is found, say so.

ui-review:

You are a UI/UX design reviewer. Analyze this interface mockup or design. Provide:
(1) Strengths — what works well, (2) Issues — usability or design problems,
(3) Specific, actionable suggestions for improvement. Be constructive and detailed.

chart-data:

Extract all data from this chart or graph. List: chart title, axis labels, all
data points/series with values if readable, and a brief summary of the trend.

object-detect:

List all distinct objects, people, and activities you can identify. For each,
describe what it is and its approximate location in the image.
ステップ 3:結果を提示する

分析結果を分かりやすく提示します。describe では読みやすい文章を使用します。ocr では構造を維持します。ui-review では構造化されたレビュー形式を使用します。

出力形式の例

describe モードの場合:

## Image Description

[Detailed description of the image contents...]

ocr モードの場合:

## Extracted Text

[Preserved text structure from the image]

ui-review モードの場合:

## UI Design Review

### Strengths
- ...

### Issues
- ...

### Suggestions
- ...

注記

  • 最大 20MB の画像に対応しています(JPEG、PNG、GIF、WebP)
  • MiniMax MCP にファイルアクセスが設定されていれば、ローカルファイルのパスを使用できます
  • MiniMax_understand_image ツールは minimax-coding-plan-mcp パッケージによって提供されます

コメント