deepgram-debug-bundle
Collect Deepgram debug evidence for support and troubleshooting. Use when preparing support tickets, investigating issues, or collecting diagnostic information for Deepgram problems. Trigger with phrases like "deepgram debug", "deepgram support", "collect deepgram logs", "deepgram diagnostic", "deepgram debug bundle".
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- deepgram-debug-bundle
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Collect Deepgram debug evidence for support and troubleshooting. Use when preparing support tickets, investigating issues, or collecting diagnostic information for Deepgram problems. Trigger with phrases like "deepgram debug", "deepgram support", "collect deepgram logs", "deepgram diagnostic", "deepgram debug bundle".
- allowed-tools
- Read, Grep, Bash(curl:*)
- compatible-with
- claude-code, codex, openclaw
02 资源文件 1
- 参考文档references/implementation.md6.5 KB
03 SKILL.md 正文
Deepgram Debug Bundle
Table of Contents
Overview
Collect comprehensive debug information for Deepgram support tickets and troubleshooting. Bundles environment info, API connectivity tests, request logs, audio analysis, and reproduction scripts into a single archive.
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 (Node.js, Python, OS, SDK versions).
Step 2: Test API Connectivity
Verify REST API and WebSocket endpoint reachability with curl against api.deepgram.com.
Step 3: Capture Request/Response
Use DeepgramDebugger class to log full request/response details with timing and error capture.
Step 4: Create Minimal Reproduction
Build a standalone script that reproduces the issue with the NASA podcast sample audio.
Step 5: Analyze Audio (if applicable)
Run ffprobe analysis on the audio file to verify format, encoding, and duration.
Step 6: Package Debug Bundle
Run collect-debug-bundle.sh to compile environment, connectivity, logs, and audio analysis into a .tar.gz archive.
Output
deepgram-debug-YYYYMMDD-HHMMSS.tar.gzcontaining:environment.txt- System and SDK versionsconnectivity.txt- API connectivity test resultsapp-logs.txt- Recent application logs (sanitized)audio-analysis.txt- Audio file details (if provided)README.txt- Bundle description and issue template
Error Handling
| Issue | Cause | Resolution |
|---|---|---|
| API connectivity fails | Invalid key or network | Verify DEEPGRAM_API_KEY and network access |
| Empty response | Silent or corrupt audio | Check audio format with ffprobe |
| SDK not found | Missing dependency | Run npm list @deepgram/sdk or pip show deepgram-sdk |
Examples
Support Ticket Template
Include: issue summary, environment details, request IDs, steps to reproduce, expected vs actual behavior, and attach the debug bundle archive.
Quick Connectivity Test
set -euo pipefail
curl -s -o /dev/null -w "%{http_code}" \
-X GET 'https://api.deepgram.com/v1/projects' \
-H "Authorization: Token $DEEPGRAM_API_KEY"
See detailed implementation for advanced patterns.
Resources
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.