cli-anything-minimax
Command-line interface for MiniMax AI — chat (MiniMax-M3) and TTS (speech-2.8-hd) via the MiniMax API.
What this skill does
# cli-anything-minimax A CLI harness for **MiniMax AI** — providing chat completions and text-to-speech synthesis through the MiniMax API. ## Installation ```bash 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](https://platform.minimax.io) ## Usage ### Basic Commands ```bash # 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 | 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 ```bash export MINIMAX_API_KEY="your-api-key" # or cli-anything-minimax config set api_key "your-api-key" ``` ### Chat ```bash cli-anything-minimax chat --prompt "Explain quantum computing" cli-anything-minimax stream --prompt "Write a Python quicksort" ``` ### TTS ```bash 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. | | `MiniMax-M2.7-highspeed` | Same performance, faster and more agile | ## TTS Models | Model ID | Description | |----------|-------------| | `speech-2.8-hd` | High-definition TTS (default) | | `speech-2.8-turbo` | Fast 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 in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.