Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Install and configure Deepgram SDK authentication. Use when setting up a new Deepgram integration, configuring API keys, or initializing Deepgram in your project. Trigger: "install deepgram", "setup deepgram", "deepgram auth", "configure deepgram API key", "deepgram credentials".
.claude/skills/jeremylongshore-deepgram-install-auth/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 49% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 52% | 0% |
!npm list @deepgram/sdk 2>/dev/null || echo '@deepgram/sdk not installed' !pip show deepgram-sdk 2>/dev/null | grep Version || echo 'deepgram-sdk (Python) not installed'
Install the Deepgram SDK and configure API key authentication. Deepgram provides speech-to-text (Nova-3, Nova-2), text-to-speech (Aura-2), and audio intelligence APIs. The JS SDK uses createClient() (v3/v4) or new DeepgramClient() (v5+).
Node.js (v3/v4 — current stable):
bashnpm install @deepgram/sdk # or pnpm add @deepgram/sdk
Python:
bashpip install deepgram-sdk
bash# Option A: Environment variable (recommended) export DEEPGRAM_API_KEY="your-api-key-here" # Option B: .env file (add .env to .gitignore) echo 'DEEPGRAM_API_KEY=your-api-key-here' >> .env
Never hardcode keys. Use dotenv for local dev, secret managers in production.
typescriptimport { createClient } from '@deepgram/sdk'; // Reads DEEPGRAM_API_KEY from env automatically const deepgram = createClient(process.env.DEEPGRAM_API_KEY!);
SDK v5+ uses a different constructor:
typescriptimport { DeepgramClient } from '@deepgram/sdk'; const deepgram = new DeepgramClient({ apiKey: process.env.DEEPGRAM_API_KEY });
pythonfrom deepgram import DeepgramClient, PrerecordedOptions, LiveOptions import os client = DeepgramClient(os.environ["DEEPGRAM_API_KEY"])
typescript// TypeScript — list projects to verify key is valid async function verify() { const deepgram = createClient(process.env.DEEPGRAM_API_KEY!); const { result, error } = await deepgram.manage.getProjects(); if (error) { console.error('Auth failed:', error.message); process.exit(1); } console.log(`Connected. Projects: ${result.projects.length}`); result.projects.forEach(p => console.log(` - ${p.name} (${p.project_id})`)); } verify();
python# Python — verify connection from deepgram import DeepgramClient import os client = DeepgramClient(os.environ["DEEPGRAM_API_KEY"]) response = client.manage.v("1").get_projects() print(f"Connected. Projects: {len(response.projects)}") for p in response.projects: print(f" - {p.name} ({p.project_id})")
typescript// Singleton client with custom options import { createClient, DeepgramClient } from '@deepgram/sdk'; let client: DeepgramClient | null = null; export function getDeepgramClient(): DeepgramClient { if (!client) { const apiKey = process.env.DEEPGRAM_API_KEY; if (!apiKey) throw new Error('DEEPGRAM_API_KEY is required'); client = createClient(apiKey); } return client; }
| Scope | Permission | Use Case | |-------|-----------|----------| | member | Full access | Development only | | listen | STT transcription | Production transcription services | | speak | TTS synthesis | Voice generation services | | manage | Project management | Admin tools | | usage | Usage data | Monitoring dashboards |
Create scoped keys in Console > Settings > API Keys > Create Key.
@deepgram/sdk (Node.js) or deepgram-sdk (Python).env| Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Invalid or expired API key | Regenerate key in Console > API Keys | | 403 Forbidden | Key lacks required scope | Create new key with correct scopes | | MODULE_NOT_FOUND | SDK not installed | Run npm install @deepgram/sdk | | ENOTFOUND api.deepgram.com | Network/DNS issue | Check internet, verify no proxy blocking | | TypeError: createClient is not a function | SDK v5 installed | Use new DeepgramClient() instead |
Proceed to deepgram-hello-world for your first transcription.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 14,518 | 10,872 | -25% | 1 | 1 | 0% | 2,767 | 3,373 | +22% | 0 | 0 | — |
case-02 | fail→fail | 17,607 | 12,838 | -27% | 1 | 1 | 0% | 3,399 | 3,709 | +9% | 0 | 0 | — |
case-03 | pass→pass | 17,897 | 14,448 | -19% | 1 | 1 | 0% | 3,277 | 4,227 | +29% | 0 | 0 | — |
case-04 | pass→pass | 10,169 | 9,009 | -11% | 1 | 1 | 0% | 1,965 | 3,197 | +63% | 0 | 0 | — |
case-05 | pass→pass | 14,510 | 12,831 | -12% | 1 | 1 | 0% | 2,594 | 3,852 | +48% | 0 | 0 | — |
case-06 | fail→pass | 10,780 | 5,959 | -45% | 1 | 1 | 0% | 1,875 | 2,461 | +31% | 0 | 0 | — |
case-07 | pass→pass | 11,307 | 8,113 | -28% | 1 | 1 | 0% | 1,974 | 2,704 | +37% | 0 | 0 | — |
case-08 | pass→pass | 2,435 | 2,018 | -17% | 1 | 1 | 0% | 417 | 1,654 | +297% | 0 | 0 | — |
case-09 | pass→pass | 5,111 | 2,496 | -51% | 1 | 1 | 0% | 884 | 1,709 | +93% | 0 | 0 | — |
case-10 | pass→pass | 12,123 | 5,292 | -56% | 1 | 1 | 0% | 2,114 | 2,287 | +8% | 0 | 0 | — |
case-11 | fail→pass | 9,099 | 6,713 | -26% | 1 | 1 | 0% | 1,628 | 2,431 | +49% | 0 | 0 | — |
case-12 | fail→pass | 10,388 | 5,847 | -44% | 1 | 1 | 0% | 1,656 | 2,179 | +32% | 0 | 0 | — |
case-13 | fail→pass | 7,182 | 2,218 | -69% | 1 | 1 | 0% | 1,082 | 1,642 | +52% | 0 | 0 | — |
case-14 | pass→pass | 10,884 | 6,629 | -39% | 1 | 1 | 0% | 1,714 | 2,635 | +54% | 0 | 0 | — |
case-15 | pass→pass | 14,246 | 13,734 | -4% | 1 | 1 | 0% | 2,482 | 3,765 | +52% | 0 | 0 | — |
case-16 | pass→pass | 9,044 | 8,572 | -5% | 1 | 1 | 0% | 1,590 | 2,938 | +85% | 0 | 0 | — |
case-17 | fail→pass | 6,479 | 6,283 | -3% | 1 | 1 | 0% | 1,131 | 2,423 | +114% | 0 | 0 | — |
case-18 | fail→fail | 5,516 | 4,641 | -16% | 1 | 1 | 0% | 1,020 | 2,107 | +107% | 0 | 0 | — |
case-19 | pass→pass | 6,227 | 1,333 | -79% | 1 | 1 | 0% | 1,066 | 1,496 | +40% | 0 | 0 | — |
case-20 | fail→pass | 4,209 | 3,625 | -14% | 1 | 1 | 0% | 621 | 1,876 | +202% | 0 | 0 | — |
case-21 | fail→pass | 15,271 | 8,665 | -43% | 1 | 1 | 0% | 1,822 | 1,743 | -4% | 0 | 0 | — |
case-22 | fail→pass | 23,643 | 3,376 | -86% | 1 | 1 | 0% | 1,154 | 1,745 | +51% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +41 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.