Agent skill · Audited from source
Deepgram Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Apply production-ready Deepgram SDK patterns for TypeScript and Python.
Cite
Cite this page
ModelsAtlas. “Deepgram Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/deepgram-sdk-patterns
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/deepgram-pack/skills/deepgram-sdk-patternsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Apply production-ready Deepgram SDK patterns for TypeScript and Python.
--- name: deepgram-sdk-patterns description: 'Apply production-ready Deepgram SDK patterns for TypeScript and Python. Use when implementing Deepgram integrations, refactoring SDK usage, or establishing team coding standards for Deepgram. Trigger: "deepgram SDK patterns", "deepgram best practices", "deepgram code patterns", "idiomatic deepgram", "deepgram typescript". ' allowed-tools: Read, Write, Edit version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - deepgram - python - typescript - patterns compatibility: Designed for Claude Code --- # Deepgram SDK Patterns ## Examples Wrap the SDK behind a client that receives a scoped secret reference, validates media metadata, applies timeout/retry limits, and emits only redacted request metrics. Unit-test the wrapper with a mocked response; use a development fixture for one integration test and verify that credentials, audio, and transcript content never enter logs. ## Overview Production patterns for `@deepgram/sdk` (TypeScript) and `deepgram-sdk` (Python). Covers singleton client, typed wrappers, text-to-speech with Aura, audio intelligence pipeline, error handling, and SDK v5 migration path. ## Prerequisites - `npm install @deepgram/sdk` or `pip install deepgram-sdk` - `DEEPGRAM_API_KEY` environment variable configured ## Instructions ### Step 1: Singleton Client (TypeScript) ```typescript import { createClient, DeepgramClient } from '@deepgram/sdk'; class DeepgramService { private static instance: DeepgramService; private client: DeepgramClient; private constructor() { const apiKey = process.env.DEEPGRAM_API_KEY; if (!apiKey) throw new Error('DEEPGRAM_API_KEY is required'); this.client = createClient(apiKey); } static getInstance(): DeepgramService { if (!this.instance) this.instance = new DeepgramService(); return this.instance; } getClient(): DeepgramClient { return this.client; } } export const deepgram = DeepgramService.getInstance().getClient(); ``` ### Step 2: Text-to-Speech with Aura ```typescript import { createClient } from '@deepgram/sdk'; import { writeFileSync } from 'fs'; const deepgram = createClient(process.env.DEEPGRAM_API_KEY!); async function textToSpeech(text: string, outputPath: string) { const response = await deepgram.speak.request( { text }, { model: 'aura-2-thalia-en', // Female English voice encoding: 'linear16', container: 'wav', sample_rate: 24000, } ); const stream = await response.getStream(); if (!stream) throw new Error('No audio stream returned'); // Collect stream into buffer const reader = stream.getReader(); const chunks: Uint8Array[] = []; while (true) { const { done, value } = await reader.read(); if (done) break; chunks.push(value); } const buffer = Buffer.concat(chunks); writeFileSync(outputPath, buffer); console.log(`Audio saved: ${outputPath} (${buffer.length} bytes)`); return buffer; } // Aura-2 voice options: // aura-2-thalia-en — Female, warm // aura-2-asteria-en — Female, default // aura-2-orion-en — Male, deep // aura-2-luna-en — Female, soft // aura-2-helios-en — Male, authoritative // aura-asteria-en — Aura v1 fallback ``` ### Step 3: Audio Intelligence Pipeline ```typescript async function analyzeConversation(audioUrl: string) { const { result, error } = await deepgram.listen.prerecorded.transcribeUrl( { url: audioUrl }, { model: 'nova-3', smart_format: true, diarize: true, utterances: true, // Audio Intelligence features summarize: 'v2', // Generates a short summary detect_topics: true, // Identifies key topics sentiment: true, // Per-segment sentiment analysis intents: true, // Identifies speaker intents } ); if (error) throw error; return { transcript: result.results.channels[0].alternatives[0].transcript, summary: result.results.summary?.short, topics: result.results.topics?.segments?.map((s: any) => ({ text: s.text, topics: s.topics.map((t: any) => t.topic), })), sentiments: result.results.sentiments?.segments?.map((s: any) => ({ text: s.text, sentiment: s.sentiment, confidence: s.sentiment_score, })), intents: result.results.intents?.segments?.map((s: any) => ({ text: s.text, intent: s.intents[0]?.intent, confidence: s.intents[0]?.confidence_score, })), }; } ``` ### Step 4: Python Production Patterns ```python from deepgram import DeepgramClient, PrerecordedOptions, LiveOptions, SpeakOptions import os class DeepgramService: _instance = None def __new__(cls): if cls._instance is None: cls._instance = super().__new__(cls) cls._instance.client = DeepgramClient(os.environ["DEEPGRAM_API_KEY"]) return cls._instance def transcribe_url(self, url: str, **kwargs): options = PrerecordedOptions( model=kwargs.get("model", "nova-3"), smart_format=True, diarize=kwargs.get("diarize", False), summarize=kwargs.get("summarize", False), ) source = {"url": url} return self.client.listen.rest.v("1").transcribe_url(source, options) def transcribe_file(self, path: str, **kwargs): with open(path, "rb") as f: source = {"buffer": f.read(), "mimetype": self._mimetype(path)} options = PrerecordedOptions( model=kwargs.get("model", "nova-3"), smart_format=True, diarize=kwargs.get("diarize", False), ) return self.client.listen.rest.v("1").transcribe_file(source, options) def text_to_speech(self, text: str, output_path: str): options = SpeakOptions(model="aura-2-thalia-en", encoding="linear16") response = self.client.speak.rest.v("1").save(output_path, {"text": text}, options) return respon
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/deepgram-sdk-patterns/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/deepgram-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/deepgram-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/deepgram-sdk-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Deepgram Sdk Patterns
What does the Deepgram Sdk Patterns skill do?
Is Deepgram Sdk Patterns safe to install?
What can Deepgram Sdk Patterns access on my machine?
Which assistants does Deepgram Sdk Patterns work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Deepgram Sdk Patterns skill do?
- Is Deepgram Sdk Patterns safe to install?
- What can Deepgram Sdk Patterns access on my machine?