Communitygithub.com

cli-anything-minimax

MiniMax AI 用CLIハーネス。チャット補完とテキスト読み上げ合成をMiniMax APIを通じて提供します。

cli-anything-minimax とは?

このスキルは、CLI-Anything フレームワーク上で動作するコマンドラインハーネスで、MiniMax AI のチャットモデル(MiniMax-M3 や MiniMax-M2.7)とテキスト読み上げ(TTS)モデルに簡単にアクセスできるようにします。開発者は、チャット、ストリーミング応答、音声合成を、`--json` フラグを使った機械可読な出力を含むシンプルなCLIコマンドで実行できます。Python 3.10+ と MiniMax API キーのみが必要で、プラットフォームに依存せず、AIエージェントや自動化スクリプトに最適です。また、セッション管理、設定(APIキーの保存など)もサポートし、TTSでは声の速さ、音量、ピッチ、サンプルレートなどの詳細な制御が可能です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-minimax

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

cli-anything-minimax は何をしますか?

MiniMax AI 用CLIハーネス — MiniMax APIを通じてチャット補完とテキスト読み上げ合成を提供します。

インストール

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

前提条件:

使い方

基本コマンド

# ヘルプを表示
cli-anything-minimax --help

# 対話型REPLを起動
cli-anything-minimax

# MiniMax-M3とチャット
cli-anything-minimax chat --prompt "AIとは何ですか?"

# 別のチャットモデルを使用
cli-anything-minimax chat --prompt "簡潔な答え" --model MiniMax-M2.7

# チャット応答をストリーム
cli-anything-minimax stream --prompt "コードについての詩を書いて"

# 音声を合成
cli-anything-minimax tts --text "こんにちは世界" --output hello.mp3

# エージェント用にJSON出力
cli-anything-minimax --json chat --prompt "こんにちは"

TTSオプション

--text (必須) / --model / --voice / --output に加えて、声と音声の制御: --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)。デフォルト値については tts --help を参照。

コマンドグループ

チャット

コマンド説明
chatMiniMax LLMとチャット
streamチャット補完をストリーム

TTS

コマンド説明
ttsテキストを音声に合成(SSE経由の16進デコードMP3)
voices利用可能な音声IDを一覧表示

セッション

コマンド説明
session statusセッション状態を表示
session clearセッション履歴をクリア
session historyコマンド履歴を表示

設定

コマンド説明
config set設定値を設定
config get設定値を取得(またはすべて表示)
config delete設定値を削除
config path設定ファイルのパスを表示

ユーティリティ

コマンド説明
testAPI接続をテスト
modelsチャットモデルを一覧表示
models --ttsTTSモデルを一覧表示

使用例

APIキーの設定

export MINIMAX_API_KEY="your-api-key"
# または
cli-anything-minimax config set api_key "your-api-key"

チャット

cli-anything-minimax chat --prompt "量子コンピューティングについて説明してください"
cli-anything-minimax stream --prompt "Pythonのクイックソートを書いて"

TTS

cli-anything-minimax tts --text "こんにちは!" --output hello.mp3
cli-anything-minimax tts --text "速い" --model speech-2.8-turbo --voice English_Insightful_Speaker --output fast.mp3

チャットモデル

モデルID説明
MiniMax-M3次世代フラッグシップモデル(デフォルト)
MiniMax-M2.7最高のパフォーマンス。究極の価値。

TTSモデル

モデルID説明
speech-2.8-hd高精細TTS(デフォルト)
speech-2.8-turbo高速TTS
speech-2.6-hd高精細TTS
speech-2.6-turbo高速TTS
speech-02-hd高精細TTS
speech-02-turbo高速TTS
speech-01-hd高精細TTS
speech-01-turbo高速TTS

AIエージェント向け

  1. 解析可能な出力には必ず --json フラグを使用
  2. 戻りコードを確認 — 0は成功、0以外はエラー
  3. エラーメッセージは stderr を解析
  4. TTS出力ファイルには絶対パスを使用

バージョン

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

>-

関連スキル