jeremylongshore/claude-code-plugins-plus-skills
deepgram-pack
plugins/saas-packs/deepgram-pack/skills/deepgram-debug-bundle/SKILL.md
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/saas-packs/deepgram-pack/skills/deepgram-debug-bundle/SKILL.md -a claude-code --skill deepgram-debug-bundleInstallation paths:
.claude/skills/deepgram-debug-bundle/# Deepgram Debug Bundle
## Overview
Collect comprehensive debug information for Deepgram support tickets and troubleshooting.
## Prerequisites
- Deepgram API key configured
- Access to application logs
- Sample audio file that reproduces issue
## Instructions
### Step 1: Collect Environment Info
Gather system and SDK version information.
### Step 2: Capture Request/Response
Log full API request and response details.
### Step 3: Test with Minimal Example
Create a standalone reproduction script.
### Step 4: Package Debug Bundle
Compile all information for support.
## Debug Bundle Contents
### 1. Environment Information
```bash
#!/bin/bash
# debug-env.sh
echo "=== Environment Info ===" > debug-bundle.txt
echo "Date: $(date -u +%Y-%m-%dT%H:%M:%SZ)" >> debug-bundle.txt
echo "OS: $(uname -a)" >> debug-bundle.txt
echo "Node: $(node --version 2>/dev/null || echo 'N/A')" >> debug-bundle.txt
echo "Python: $(python3 --version 2>/dev/null || echo 'N/A')" >> debug-bundle.txt
echo "" >> debug-bundle.txt
echo "=== SDK Versions ===" >> debug-bundle.txt
npm list @deepgram/sdk 2>/dev/null >> debug-bundle.txt
pip show deepgram-sdk 2>/dev/null >> debug-bundle.txt
```
### 2. API Connectivity Test
```bash
#!/bin/bash
# debug-connectivity.sh
echo "=== API Connectivity ===" >> debug-bundle.txt
# Test REST API
echo "REST API:" >> debug-bundle.txt
curl -s -o /dev/null -w "%{http_code}" \
-X GET 'https://api.deepgram.com/v1/projects' \
-H "Authorization: Token $DEEPGRAM_API_KEY" >> debug-bundle.txt
echo "" >> debug-bundle.txt
# Test WebSocket
echo "WebSocket endpoint reachable:" >> debug-bundle.txt
curl -s -o /dev/null -w "%{http_code}" \
-X GET 'https://api.deepgram.com/v1/listen' \
-H "Authorization: Token $DEEPGRAM_API_KEY" >> debug-bundle.txt
```
### 3. Request Logger
```typescript
// debug-logger.ts
import { createClient } from '@deepgram/sdk';
import { writeFileSync, appendFileSync } from 'fs';
interface DebugLog {
timestamp: string;
requestId?: string;
op