pp-groq
БесплатноБез исполняемых скриптовНе проверенEvery Groq endpoint in your terminal, plus a local ledger that tracks token cost and rate-limit budget. Trigger phrases: `ask groq`, `run a groq chat`…
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
Groq Cloud — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the groq-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install groq --cli-only - Verify:
groq-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/ai/groq/cmd/groq-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
groq-pp-cli wraps the full GroqCloud API — chat, responses, audio, vision, embeddings, reranking, batches, files, and fine-tuning — into one agent-native CLI. Beyond the endpoints, it syncs a model catalog to SQLite, keeps a local completion ledger that tracks cost and usage, and turns Groq's x-ratelimit headers into a spend-and-budget view no other Groq tool offers.
When to Use This CLI
Reach for this CLI for terminal-first work against GroqCloud: one-off and scripted chat completions with usage stats, audio transcription/translation/synthesis pipelines, RAG embedding and reranking steps, batch job submission and diagnosis, and model evaluation across the catalog. Its local ledger and history make it the natural choice for agent harnesses that need cost and rate-limit visibility on every call.
Anti-triggers
Do not use this CLI for:
- Do not use this CLI to run a persistent interactive coding agent; use an IDE/agent tool instead.
- Do not use it for Groq console account management (billing, org settings, spend limits) — the REST API does not cover those.
- Do not use it as a generic OpenAI client for other providers; the base URL is fixed to api.groq.com.
- Do not use it for WebSocket/real-time inference surfaces that are not part of the REST API reference.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local ledger that compounds
rate-limits— See remaining per-model request/token budget from every API call, with reset windows.Reach for this before a bulk run or when a 429 interrupts a pipeline; it tells you the exact remaining budget and reset time instead of guessing.
groq-pp-cli rate-limits --model openai/gpt-oss-20b --jsoncosts— Aggregate token and dollar spend from your local completion history, grouped by model or day.Use this to answer 'how much did my eval runs cost this week' without exporting anything from the console.
groq-pp-cli costs --since 48h --group-by model --agent
Empirical model selection
compare— Run one prompt across several models and rank them by latency, tokens/sec, usage, and cost.Pick the right model for a task by measuring real speed and cost instead of reading spec sheets.
groq-pp-cli compare "Explain transformers in one line" --models openai/gpt-oss-20b,openai/gpt-oss-120b --agent
Batch workflow guardrails
batch validate— Validate every line of a .jsonl batch request file against the endpoint schema and estimate tokens/cost before uploading.Catch malformed batch lines and get a cost estimate before submitting a 100 MB file.
groq-pp-cli batch validate eval-batch.jsonl --jsonbatch diagnose— Tabulate a completed batch's per-line status codes and errors, highlighting retry-worthy failures.Know exactly which batch lines failed and why, in seconds, from the shell.
groq-pp-cli batch diagnose batch_abc123 --json
Paced bulk audio
audio batch— Transcribe, translate, or synthesize speech over many audio files with rate-limit-aware pacing and a results manifest.Run a whole folder of episodes without dying mid-batch on a rate limit or re-processing completed files.
groq-pp-cli audio batch episodes/ --action transcribe --pace --model whisper-large-v3
Command Reference
audio — Manage audio
groq-pp-cli audio speech— Generates audio from the input text.groq-pp-cli audio transcribe— Transcribes audio into the input language.groq-pp-cli audio translate— Translates audio into English.
batches — Manage batches
groq-pp-cli batches cancel— Cancels a batch.groq-pp-cli batches create— Creates and executes a batch from an uploaded file of requests.- `groq-pp-cli batches get
Установить pp-groq в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashВложенные файлы
FAQ
Что делает скилл pp-groq?
Every Groq endpoint in your terminal, plus a local ledger that tracks token cost and rate-limit budget. Trigger phrases: `ask groq`, `run a groq chat`, `transcribe this audio with groq`, `compare groq models`, `use groq cloud`, `groq batch`.
Как установить скилл pp-groq?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-groq запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic