Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hkuds avatar

Cli Anything Minimax

  • 172 installs
  • 46.6k repo stars
  • Updated August 3, 2026
  • hkuds/cli-anything

Call MiniMax chat, embedding, and multimodal endpoints from shell scripts and agent toolchains when prototyping LLM features or routing inference outside default model providers.

About

cli-anything-minimax integrates the MiniMax LLM platform into the cli-anything framework, letting developers and coding agents invoke chat, embedding, and related APIs from the command line with shared configuration and structured outputs.

  • MiniMax API auth and model listing
  • Chat completion from terminal
  • Streaming and JSON response modes
  • Drop-in agent tool provider
  • Scriptable inference for CI demos

Cli Anything Minimax by the numbers

  • 172 all-time installs (skills.sh)
  • +12 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #3,105 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hkuds/cli-anything --skill cli-anything-minimax

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs172
repo stars46.6k
Last updatedAugust 3, 2026
Repositoryhkuds/cli-anything

What it does

Call MiniMax chat, embedding, and multimodal endpoints from shell scripts and agent toolchains when prototyping LLM features or routing inference outside default model providers.

Files

SKILL.mdMarkdownGitHub ↗

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?"

# High-speed model
cli-anything-minimax chat --prompt "Quick answer" --model MiniMax-M2.7-highspeed

# 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"

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.
MiniMax-M2.7-highspeedSame performance, faster and more agile

TTS Models

Model IDDescription
speech-2.8-hdHigh-definition TTS (default)
speech-2.8-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

Related skills

AI & Agent Buildingllmagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.