minimax-coding-plan

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MiniMax Skill

MiniMax Skill

MiniMax Coding Plan MCP provides two specialized tools: web_search and understand_image, to help developers quickly retrieve information and understand image content during coding.
MiniMax Coding Plan MCP 提供两款专用工具:web_searchunderstand_image,帮助开发者在编码过程中快速检索信息并理解图像内容。

Environment Variables

环境变量

Required:
Optional:
  • MINIMAX_API_HOST
    : API host URL, defaults to
    https://api.minimaxi.com
  • MINIMAX_MCP_BASE_PATH
    : Local output directory path
  • MINIMAX_API_RESOURCE_MODE
    : Resource mode (
    url
    or
    local
    ), defaults to
    url
必填项:
可选项:
  • MINIMAX_API_HOST
    : API主机地址,默认值为
    https://api.minimaxi.com
  • MINIMAX_MCP_BASE_PATH
    : 本地输出目录路径
  • MINIMAX_API_RESOURCE_MODE
    : 资源模式(
    url
    local
    ),默认值为
    url

Available Tools

可用工具

web_search

web_search

Performs web search based on a query and returns search results with related suggestions.
Args:
  • query
    (str, required): Search query. Use 3-5 keywords for best results. For time-sensitive topics, include the current date (e.g.,
    latest iPhone 2025
    ).
Returns: JSON object containing search results:
json
{
    "organic": [
        {
            "title": "Search result title",
            "link": "Result URL",
            "snippet": "Brief description or excerpt",
            "date": "Result date"
        }
    ],
    "related_searches": [{"query": "Related search suggestion"}],
    "base_resp": {"status_code": status_code, "status_msg": "Status message"}
}
Search Strategy:
  • If no useful results are returned, try rephrasing your query with different keywords.
根据查询语句执行网页搜索,并返回包含相关建议的搜索结果。
参数:
  • query
    (字符串,必填):搜索查询语句。建议使用3-5个关键词以获得最佳结果。对于时效性话题,请包含当前日期(例如:
    latest iPhone 2025
    )。
返回结果: 包含搜索结果的JSON对象:
json
{
    "organic": [
        {
            "title": "Search result title",
            "link": "Result URL",
            "snippet": "Brief description or excerpt",
            "date": "Result date"
        }
    ],
    "related_searches": [{"query": "Related search suggestion"}],
    "base_resp": {"status_code": status_code, "status_msg": "Status message"}
}
搜索策略:
  • 如果未返回有用结果,请尝试使用不同关键词改写查询语句。

understand_image

understand_image

Analyzes and interprets image content from local files or URLs based on instructions.
Args:
  • prompt
    (str, required): A text prompt describing what to analyze or extract from the image.
  • image_source
    (str, required): Image source URL or file path.
    • URL:
      https://example.com/image.jpg
    • Relative path:
      images/photo.png
    • Absolute path:
      /Users/username/Documents/image.jpg
    • Note: If the file path starts with
      @
      , remove the
      @
      prefix.
Supported formats: JPEG, PNG, WebP (max 20MB)
Returns: Text description of the image analysis result.
根据指令分析并解读本地文件或URL中的图像内容。
参数:
  • prompt
    (字符串,必填):描述需从图像中分析或提取内容的文本指令。
  • image_source
    (字符串,必填):图像源URL或文件路径。
    • URL:
      https://example.com/image.jpg
    • 相对路径:
      images/photo.png
    • 绝对路径:
      /Users/username/Documents/image.jpg
    • 注意: 如果文件路径以
      @
      开头,请移除
      @
      前缀。
支持的格式: JPEG、PNG、WebP(最大20MB)
返回结果: 图像分析结果的文本描述。

Usage

使用方法

Execute Tools

执行工具

bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json <tool_name> '<arguments_json>'
bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json <tool_name> '<arguments_json>'

Examples

示例

Web Search:
bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json web_search '{"query": "latest react features 2025"}'
Image Understanding:
bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json understand_image '{"prompt": "Describe this image", "image_source": "https://example.com/image.jpg"}'
网页搜索:
bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json web_search '{"query": "latest react features 2025"}'
图像理解:
bash
$SKILL_DIR/scripts/exec-with-env.sh $SKILL_DIR/mcp-config.json understand_image '{"prompt": "Describe this image", "image_source": "https://example.com/image.jpg"}'

Execution Strategy

执行策略

Important: Execute directly, don't ask beforehand
When using this skill, execute commands directly without asking users to confirm environment variables are set.
  • Environment variable status is determined at execution time
  • If execution fails, the error message will clearly indicate missing configuration
  • Only then inform the user what needs to be configured
  • Follow "fail fast" principle to avoid unnecessary interactions
Don't do this:
  • "Please confirm you have set the MINIMAX_API_KEY environment variable"
  • "Before executing, please ensure you have configured..."
Do this:
  • Execute the command directly
  • If it fails, inform the user based on the error message
重要:直接执行,无需提前询问
使用本技能时,请直接执行命令,无需询问用户是否已设置环境变量。
  • 环境变量状态将在执行时确定
  • 如果执行失败,错误信息会明确指出缺失的配置
  • 此时再告知用户需要配置的内容
  • 遵循“快速失败”原则,避免不必要的交互
请勿执行以下操作:
  • "请确认您已设置MINIMAX_API_KEY环境变量"
  • "执行前,请确保您已配置..."
正确做法:
  • 直接执行命令
  • 如果失败,根据错误信息告知用户

Use Cases

使用场景

  • Need to search for real-time or external information → Use web_search
  • Need to analyze, describe, or extract information from an image → Use understand_image
  • User provides an image that needs understanding → Use understand_image
  • 需要搜索实时或外部信息 → 使用web_search
  • 需要分析、描述或从图像中提取信息 → 使用understand_image
  • 用户提供了需要解读的图像 → 使用understand_image

Error Handling

错误处理

If execution returns an error:
  • Check the tool name is correct
  • Verify required arguments are provided (marked with
    *
    in signatures above)
  • Ensure
    MINIMAX_API_KEY
    environment variable is set
  • Check the MCP server is accessible

This skill was auto-generated from an MCP server configuration. Generator: mcp-to-skill
如果执行返回错误:
  • 检查工具名称是否正确
  • 验证是否提供了必填参数(上述签名中标记为
    *
    的参数)
  • 确保已设置
    MINIMAX_API_KEY
    环境变量
  • 检查MCP服务器是否可访问

本技能由MCP服务器配置自动生成。 生成工具: mcp-to-skill