mcode-tools-master

Discover, inspect, and call Connector tools through the mcode-tools CLI from Bash.

1.3k|142|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/MiniMax-AI/minimax-code --skill mcode-tools-master-minimax-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcode-tools-master
Source: https://github.com/MiniMax-AI/minimax-code/tree/main/packages/local-runtime/assets/skills/mcode-tools-master
Command: npx skills add https://github.com/MiniMax-AI/minimax-code --skill mcode-tools-master-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a task requires combining connected plugin or MCP tools with Bash scripts, pipes, local files, loops, or batch automation, direct tool calls are not enough. This Skill provides the workflow for using the mcode-tools CLI to discover, inspect, and invoke any Connector tool from the command line, including multimodal generation and understanding for images, video, audio, music, and documents. ## Core Features & Use Cases - Tool Discovery and Inspection: List Connector tools with keyword filtering and inspect each tool's input_schema and output_schema before calling it, so arguments are never guessed. - Structured Tool Invocation: Call tools with inline JSON or an arguments file (--args / --args-file), with correct handling of stdout output and non-zero exit errors. - File Utilities: Get fresh download URLs for Matrix Drive assets with get_asset_url and upload local files for temporary URLs with upload_temp_url. - Use Case: Generate an image with a Connector tool by running mcode-tools connector tools --keyword image, inspecting the chosen tool's schema, then calling it with a JSON args file and a 600-second Bash timeout. ## Quick Start Ask the agent to use mcode-tools to find an image generation Connector tool and generate a picture, saving the result into the current working directory.

Frequently Asked Questions about mcode-tools-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call a Connector tool from the command line?

Use mcode-tools connector call with the tool name and a single JSON object passed via --args or --args-file. First inspect the tool with mcode-tools connector tool <tool_name> to read its input_schema, then construct arguments matching that schema exactly.

How do I find which Connector tools are available?

Run mcode-tools connector tools to list all tools, or add --keyword <text> to filter by names and descriptions. Keywords like image, video, audio, or generate help narrow large catalogs. Note that mcode-tools list and mcode-tools connector list are not valid commands.

When should I use mcode-tools instead of calling a tool directly?

Use mcode-tools when tool calls must be combined with Bash scripts, pipes, local files, loops, or batch processing. For an ordinary single call to a plugin or MCP tool already in the model's tool list, call that tool directly instead.

Why does my mcode-tools generation command time out?

Generation commands for images, video, audio, music, or documents need a longer Bash timeout. Set timeout: 600 as a top-level Bash tool input field; never put --timeout or timeout=600 inside the command string, since connector call has no timeout option.

How do I get a download URL for a Matrix Drive asset?

Run mcode-tools get_asset_url <node_id> (or the kebab-case get-asset-url) to receive JSON containing a short-lived download_url. Unless told otherwise, download the asset into the current working directory and report the saved local path.

What are the limitations of mcode-tools connector call arguments?

Arguments must be exactly one JSON object; arrays, scalars, and null are not valid top-level values. --args and --args-file are mutually exclusive, and omitting both sends an empty object. Prefer --args-file when shell quoting is fragile, especially on Windows.