agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/deepgram/SKILL.md

deepgram

Skill13 starsChanged 27 days agoMITView on GitHub

Verification Tier: code_example_tested | Last Verified: 2026-11-18 Official Docs: https://developers.deepgram.com/docs/getting-started-with-pre-recorded-audio

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Model & Features: Use model: "nova-3" with smart_format: true, diarize: true (speaker labels), punctuate: true, and keyterm boosting for …

    line 19
  2. Very specific:

    Check both error and result returned by SDK calls.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deepgram Speech-to-Text API Skill

Verification Tier: code_example_tested | Last Verified: 2026-11-18
Official Docs: https://developers.deepgram.com/docs/getting-started-with-pre-recorded-audio

Overview

Deepgram provides high-accuracy, low-latency Speech-to-Text (STT) using the nova-3 model family for both pre-recorded audio files/URLs and real-time bidirectional WebSocket streaming.

Installation

npm install @deepgram/sdk
pip install deepgram-sdk

Authentication

Send Authorization: Token <DEEPGRAM_API_KEY> (handled by createClient(process.env.DEEPGRAM_API_KEY)). For browser-direct live streaming, mint short-lived scoped tokens on your backend rather than exposing long-lived admin keys.

Core Concepts

  • Model & Features: Use model: "nova-3" with smart_format: true, diarize: true (speaker labels), punctuate: true, and keyterm boosting for domain vocabulary.
  • Live Streaming KeepAlive: Deepgram closes idle WebSocket connections after ~10 seconds of no audio bytes. Send { type: "KeepAlive" } frames every 5–8 seconds during silence and { type: "CloseStream" } when ending cleanly.
  • Callback Webhooks: For long audio files (>10 min), pass a callback URL to receive asynchronous completion instead of holding an HTTP connection open.

Error Handling & Rate Limits

  • Check both error and result returned by SDK calls.
  • Monitor concurrency limits (varies by plan, e.g., 100 concurrent REST / 50 concurrent WebSockets on Pay-As-You-Go) and handle HTTP 429 with exponential backoff.

Security Best Practices

  • Restrict API keys to least-privilege scopes (usage:write) and set TTLs on temporary frontend tokens.
  • Enable redact: ["pci", "pii"] when transcribing regulated financial or healthcare audio.

AI Pitfalls

  • Forgetting KeepAlive frames on paused microphone streams, triggering unexpected NET-0001 WebSocket disconnects.
  • Passing Authorization: Bearer instead of Authorization: Token when calling REST endpoints directly with fetch.
  • Specifying legacy nova-2 keyword parameters when migrating to nova-3 (keyterm).

Production Checklist

  • DEEPGRAM_API_KEY kept server-side or exchanged for short-lived scoped tokens
  • smart_format: true and explicit model: "nova-3" set
  • Live WebSockets implement KeepAlive timer and graceful CloseStream
  • Long recordings use asynchronous callback webhooks

References

Related skills

  • elevenlabs — works well with
  • openai-responses — works well with
  • twilio — integrates with

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.