cli-anything-minimax
できること
このスキルは、AIサービスのMiniMaxを使って、エージェントが質問に答えたり、テキストから音声を作ったりできるようにします。2つ目のAIプロバイダーを使いたい人や、ナレーションが必要な人向けです。
使う場面
- ✓MiniMaxのチャットモデルに、コマンドラインから質問や文章作成を依頼したいとき。
- ✓書かれた台本から音声ファイルを作りたいとき。
- ✓保存する前に、声の速度、ピッチ、音声形式を調整したいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/minimax/agent-harness/cli_anything/minimax/skills/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この段落を、親しみやすいナレーション付きのMP3ファイルにしてください。聞けるようにしたいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたのAPIキーを使ってテキストやプロンプトをMiniMaxに送信し、返答または生成された音声ファイルを保存します。設定で声と音質を調整します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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:
- Python 3.10+
- MiniMax API key from platform.minimax.io
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
| Command | Description |
|---|---|
chat |
Chat with MiniMax LLM |
stream |
Stream chat completion |
TTS
| Command | Description |
|---|---|
tts |
Synthesize text to speech (hex-decoded MP3 via SSE) |
voices |
List available voice IDs |
Session
| Command | Description |
|---|---|
session status |
Show session status |
session clear |
Clear session history |
session history |
Show command history |
Config
| Command | Description |
|---|---|
config set |
Set a configuration value |
config get |
Get a configuration value (or show all) |
config delete |
Delete a configuration value |
config path |
Show the config file path |
Utility
| Command | Description |
|---|---|
test |
Test API connectivity |
models |
List chat models |
models --tts |
List 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 ID | Description |
|---|---|
MiniMax-M3 |
Next-generation flagship model (default) |
MiniMax-M2.7 |
Peak Performance. Ultimate Value. |
TTS Models
| Model ID | Description |
|---|---|
speech-2.8-hd |
High-definition TTS (default) |
speech-2.8-turbo |
Fast TTS |
speech-2.6-hd |
High-definition TTS |
speech-2.6-turbo |
Fast TTS |
speech-02-hd |
High-definition TTS |
speech-02-turbo |
Fast TTS |
speech-01-hd |
High-definition TTS |
speech-01-turbo |
Fast TTS |
For AI Agents
- Always use
--jsonflag for parseable output - Check return codes — 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Use absolute paths for TTS output files
Version
1.0.0
よくある質問
MiniMaxのアカウントが必要ですか?
はい。接続する前に、MiniMaxのプラットフォームで取得したご自身のAPIキーが必要です。
どの音声形式を作れますか?
MP3、PCM、FLACに対応しています。サンプルレート、ビットレート、モノラルかステレオかも選べます。
チャットの返答を書きながら表示できますか?
はい。ストリーミングのコマンドで、生成されながら返答を表示できます。
詳細
作者による元の説明
Command-line interface for MiniMax AI — chat (MiniMax-M3, MiniMax-M2.7) and speech-2.x TTS via the MiniMax API.
repo: HKUDS/CLI-Anything
人気
- GitHubのスター
- 58k
- ランキング
- #3224
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。