← 返回 Skills 市场
matthew77

Minimax API

作者 Liang · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
237
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install minimax-api
功能描述
Provides image analysis and description from URLs or local files plus real-time web search using MiniMax's Token Plan API.
安全使用建议
Key points to consider before installing: - Credential declaration mismatch: The skill actually requires a MiniMax API key (scripts use --api-key and SKILL.md references MINIMAX_API_KEY), but the registry metadata lists no required env var/primary credential. Ask the publisher to fix metadata or code so it's clear how the agent supplies the key. Do not assume the platform will inject a secret unless the skill metadata declares it. - Usage mismatch: The SKILL.md examples show exporting MINIMAX_API_KEY and running the script without --api-key, but the Python scripts require --api-key. This will cause runtime errors or confusion when integrated; request a corrected SKILL.md or code that reads the env var when present. - Data exfiltration/privacy: For local files, the script reads the file and encodes it as a data URL (base64) and sends it to https://api.minimaxi.com. That is necessary for remote image analysis but is effectively uploading the entire file to a third party. Avoid providing sensitive images or grant the skill access only to non-sensitive paths. - Source provenance: The skill has unknown source/homepage. Prefer skills with a verifiable maintainer, repository, or homepage. Verify the domain api.minimaxi.com is legitimate for the service you expect. - Secret handling: Do not pass API keys on the command line if others can view shell history/process list; prefer secure secret storage offered by the platform (and confirm how the agent will supply the key). If you must export to a shell, be aware of shell history and ~/.bashrc persistence implications. - Operational fix suggestions: Require the publisher to (1) declare MINIMAX_API_KEY in registry metadata as a required/primary credential, (2) either accept the env var in the scripts (fallback from MINIMAX_API_KEY) or update SKILL.md to require passing --api-key, and (3) provide a verified homepage or source repository. Given these inconsistencies (missing declared credential and conflicting usage instructions) and the privacy implications of uploading local files, treat this skill cautiously until the publisher corrects metadata and usage guidance.
功能分析
Type: OpenClaw Skill Name: minimax-api Version: 1.0.3 The skill provides image analysis and web search capabilities via the MiniMax API. The script `scripts/minimax_image.py` allows the agent to read arbitrary local files and transmit their base64-encoded content to an external endpoint (api.minimaxi.com). While this behavior is documented for the purpose of analyzing local images, the lack of file-type validation or path restrictions poses a risk of data exfiltration if the agent is manipulated into reading sensitive system files (e.g., SSH keys or configuration files) instead of images.
能力评估
Purpose & Capability
The name/description match the included scripts: minimax_image.py implements VLM image calls and minimax_search.py implements search calls to https://api.minimaxi.com. No unrelated services, binaries, or credentials are requested by the capability itself.
Instruction Scope
SKILL.md instructs sending HTTP/HTTPS images or local files; the scripts indeed read local files and convert them to base64 for upload to the external API (this is expected for image analysis). However SKILL.md shows usage that omits the required CLI --api-key argument (it suggests exporting MINIMAX_API_KEY and running the script without --api-key), while the scripts' argparse require --api-key. This mismatch is an operational/instructional incoherence. Also note: local image files are read and their full contents are transmitted to the remote API (privacy/exfiltration risk inherent to the feature).
Install Mechanism
There is no install spec (instruction-only plus included scripts). No downloads or archive extraction are requested. The scripts are simple Python clients using urllib; network access to api.minimaxi.com is required, which is consistent with the stated functionality.
Credentials
Registry metadata lists no required environment variables or primary credential, but SKILL.md and both scripts clearly require a MiniMax API key (SKILL.md suggests MINIMAX_API_KEY; scripts require --api-key). This is an inconsistency: the skill should declare MINIMAX_API_KEY (or otherwise explain how the key is provided). Additionally, the skill will upload base64-encoded local files to a third-party endpoint, so the credential grants network access tied to potentially sensitive data — that should be explicitly declared and limited.
Persistence & Privilege
The skill does not request always:true and does not appear to modify other skills or system settings. It runs as invoked and performs network calls; normal autonomous invocation is allowed by platform defaults (no additional privilege observed).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install minimax-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /minimax-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Revert scripts to original; users follow SKILL.md setup instructions
v1.0.2
Restore original scripts; SKILL.md has setup instructions for users
v1.0.1
Use MINIMAX_API_KEY env var; add setup instructions to SKILL.md
v1.0.0
Initial publish
元数据
Slug minimax-api
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Minimax API 是什么?

Provides image analysis and description from URLs or local files plus real-time web search using MiniMax's Token Plan API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 237 次。

如何安装 Minimax API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install minimax-api」即可一键安装,无需额外配置。

Minimax API 是免费的吗?

是的,Minimax API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Minimax API 支持哪些平台?

Minimax API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Minimax API?

由 Liang(@matthew77)开发并维护,当前版本 v1.0.3。

💬 留言讨论