Communitygithub.com

cli-anything-minimax

>-

cli-anything-minimax 是什么?

cli-anything-minimax is a Claude Code agent skill that >-.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-minimax

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

cli-anything-minimax 是做什么的?

A CLI harness for MiniMax AI — providing chat completions and text-to-speech synthesis through the MiniMax API.

Installation

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=minimax/agent-harness

Prerequisites:

Usage

Basic Commands

# Show help
cli-anything-minimax --help

# Start interactive REPL
cli-anything-minimax

# Chat with MiniMax-M3
cli-anything-minimax chat --prompt "What is AI?"

# Alternate chat model
cli-anything-minimax chat --prompt "Quick answer" --model MiniMax-M2.7

# Stream chat response
cli-anything-minimax stream --prompt "Write a poem about code"

# Synthesize speech
cli-anything-minimax tts --text "Hello world" --output hello.mp3

# JSON output for agents
cli-anything-minimax --json chat --prompt "Hello"

TTS options

--text (required) / --model / --voice / --output plus voice and audio controls: --speed (0.5..2.0), --vol (0..10), --pitch (-12..12), --sample-rate (8k/16k/22.05k/24k/32k/44.1k), --bitrate (32k/64k/128k/256k), --format (mp3/pcm/flac), --channel (1/2). See tts --help for defaults.

Command Groups

Chat

CommandDescription
chatChat with MiniMax LLM
streamStream chat completion

TTS

CommandDescription
ttsSynthesize text to speech (hex-decoded MP3 via SSE)
voicesList available voice IDs

Session

CommandDescription
session statusShow session status
session clearClear session history
session historyShow command history

Config

CommandDescription
config setSet a configuration value
config getGet a configuration value (or show all)
config deleteDelete a configuration value
config pathShow the config file path

Utility

CommandDescription
testTest API connectivity
modelsList chat models
models --ttsList TTS models

Examples

Configure API Key

export MINIMAX_API_KEY="your-api-key"
# or
cli-anything-minimax config set api_key "your-api-key"

Chat

cli-anything-minimax chat --prompt "Explain quantum computing"
cli-anything-minimax stream --prompt "Write a Python quicksort"

TTS

cli-anything-minimax tts --text "Hello!" --output hello.mp3
cli-anything-minimax tts --text "Fast" --model speech-2.8-turbo --voice English_Insightful_Speaker --output fast.mp3

Chat Models

Model IDDescription
MiniMax-M3Next-generation flagship model (default)
MiniMax-M2.7Peak Performance. Ultimate Value.

TTS Models

Model IDDescription
speech-2.8-hdHigh-definition TTS (default)
speech-2.8-turboFast TTS
speech-2.6-hdHigh-definition TTS
speech-2.6-turboFast TTS
speech-02-hdHigh-definition TTS
speech-02-turboFast TTS
speech-01-hdHigh-definition TTS
speech-01-turboFast TTS

For AI Agents

  1. Always use --json flag for parseable output
  2. Check return codes — 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Use absolute paths for TTS output files

Version

1.0.0

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相关技能