Awesome-claude-skills-cn GroqCloud Automation
通过 Composio 上的 GroqCloud 高性能 API 自动化 AI 推理、聊天补全、音频翻译和 TTS 语音管理。
git clone https://github.com/Athe1st3154/awesome-claude-skills-cn
T=$(mktemp -d) && git clone --depth=1 https://github.com/Athe1st3154/awesome-claude-skills-cn "$T" && mkdir -p ~/.claude/skills && cp -r "$T/composio-skills/groqcloud-automation" ~/.claude/skills/athe1st3154-awesome-claude-skills-cn-groqcloud-automation && rm -rf "$T"
composio-skills/groqcloud-automation/SKILL.mdGroqCloud Automation
Automate AI inference workflows using GroqCloud's ultra-fast API -- chat completions, model discovery, audio translation, and TTS voice selection -- all orchestrated through the Composio MCP integration.
Toolkit docs: composio.dev/toolkits/groqcloud
设置
- Connect your GroqCloud account through the Composio MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- Once connected, all
tools become available for executionGROQCLOUD_*
Core Workflows
1. Discover Available Models
List all models available on GroqCloud to find valid model IDs before running inference.
Tool:
GROQCLOUD_LIST_MODELS
No parameters required -- returns all available models with metadata.
Use this as a prerequisite before any chat completion call to ensure you reference a valid, non-deprecated model ID.
2. Run Chat Completions
Generate AI responses for conversational prompts using a specified GroqCloud model.
Tool:
GROQCLOUD_GROQ_CREATE_CHAT_COMPLETION
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Model ID from |
| array | Yes | Ordered list of objects (, , ) |
| number | No | Sampling temperature 0-2 (default: 1) |
| integer | No | Max tokens to generate |
| number | No | Nucleus sampling 0-1 (default: 1) |
| string/array | No | Up to 4 stop sequences |
| boolean | No | Enable SSE streaming (default: false) |
3. Inspect Model Details
Retrieve detailed metadata for a specific model including context window and capabilities.
Tool:
GROQCLOUD_GROQ_RETRIEVE_MODEL
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Model identifier (e.g., ) |
4. Translate Audio to English
Translate non-English audio files into English text using Whisper models.
Tool:
GROQCLOUD_GROQ_CREATE_AUDIO_TRANSLATION
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Local path, HTTP(S) URL, or base64 data URL for audio |
| string | No | Model ID (default: ). Note: may not support translations |
| string | No | , , or (default: ) |
| number | No | Sampling temperature 0-1 (default: 0) |
5. List TTS Voices
Enumerate available text-to-speech voices for Groq PlayAI models to drive voice selection UX.
Tool:
GROQCLOUD_LIST_VOICES
Returns the set of supported TTS voices. Note: this is a static list maintained manually.
已知陷阱
| Pitfall | Details |
|---|---|
| Nested model list | response may be nested at -- do not assume a flat top-level array |
| Hard-coded model IDs break | Always fetch model IDs dynamically via ; hard-coded names can break when models are deprecated or renamed |
| Audio format validation | rejects invalid or unsupported audio formats silently -- validate inputs before calling |
| Model metadata drifts | Data from (context window, features) can change as models update -- do not treat it as static |
| TTS voice changes | Voice sets from may shrink or rename over time -- handle missing voices gracefully |
快速参考
| Tool Slug | Purpose |
|---|---|
| List all available models and metadata |
| Generate chat-based AI completions |
| Get detailed info for a specific model |
| Translate non-English audio to English text |
| Retrieve available TTS voices for PlayAI |
由 Composio 提供支持