Agent skill · software engineering · jeremylongshore

groq-install-auth

Install and configure Groq SDK authentication for TypeScript or Python.

Why this skill is useful

Adds specific commands for installing and configuring the Groq SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires node, python installed locally. Requires groq account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Groq Install & Auth Overview Install the official Groq SDK and configure API key authentication. Groq provides ultra-fast LLM inference on custom LPU hardware through an OpenAI-compatible REST API at api.groq.com/openai/v1/. The workflow is four steps: install the SDK, mint an API key, export it as an environment variable, and verify the connection by listing models. Each step is summarized below; deep detail lives in references/. Prerequisites Node.js 18+ or Python 3.8+ Package manager (npm, pnpm, or pip) Groq account at console.groq.com API key from GroqCloud console (Settings > API Keys) Instructions Step 1: Install the SDK Step 2: Get Your API Key 1. Go to console.groq.com/keys 2. Click "Create API Key" 3. Copy the key (starts with gsk) 4. Store it securely -- you cannot view it again Step 3: Configure Environment Add the .gitignore template before writing any .env file so a key can never be committed: Step 4: Verify the Connection Run a short script that lists the models your key can access — a successful list proves authentication end-to-end. The essential TypeScript skeleton: Full runnable TypeScript and Python verification scripts, with expected output: verification walkthrough. Output A successful setup produces: groq-sdk (Node) or groq (Python) installed in the project. GROQAPIKEY available in the environment (or .env, with .env gitignored). A verification run that prints the accessible models, for example: If the verification run prints a 401 instead of a model list, authentication failed — see Error Handling. SDK Defaults & Key Formats The SDK auto-reads GROQAPIKEY from the environment when no apiKey is passed. Groq uses a single gsk key type with full API access (no read/write scopes). Constructor options (baseURL, maxRetries, timeout), the OpenAI-SDK compatibility path, and the key-format table are in the configuration reference. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/groq-install-auth

View the source on GitHub

Browse the @skills marketplace