ai-transcript-analyzer
Analyze transcript files using OpenAI API (gpt-5-mini) to extract insights, summaries, key topics, quotes, and action items. This skill should be used when users have transcript files (from WhisperKit, YouTube, podcasts, meetings, etc.) and want AI-powered analysis, summaries, or custom insights extracted from the content. Supports both default comprehensive analysis and custom prompts for specific information extraction.
Best use case
ai-transcript-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze transcript files using OpenAI API (gpt-5-mini) to extract insights, summaries, key topics, quotes, and action items. This skill should be used when users have transcript files (from WhisperKit, YouTube, podcasts, meetings, etc.) and want AI-powered analysis, summaries, or custom insights extracted from the content. Supports both default comprehensive analysis and custom prompts for specific information extraction.
Teams using ai-transcript-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ai-transcript-analyzer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ai-transcript-analyzer Compares
| Feature / Agent | ai-transcript-analyzer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze transcript files using OpenAI API (gpt-5-mini) to extract insights, summaries, key topics, quotes, and action items. This skill should be used when users have transcript files (from WhisperKit, YouTube, podcasts, meetings, etc.) and want AI-powered analysis, summaries, or custom insights extracted from the content. Supports both default comprehensive analysis and custom prompts for specific information extraction.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# AI Transcript Analyzer ## Overview This skill provides AI-powered analysis of transcript files using OpenAI's gpt-5-mini model. Process transcripts from any source (WhisperKit, YouTube, meetings, podcasts, interviews) to extract comprehensive insights, summaries, key topics, notable quotes, and actionable recommendations. Supports custom prompts for targeted analysis. ## When to Use This Skill Activate this skill when users: - Have transcript files they want analyzed or summarized - Request insights from video/audio transcripts - Ask "what are the key points from this transcript?" - Want to extract specific information (e.g., "what skills were discussed?", "what are the action items?") - Need summaries of long-form content - Want to analyze meeting notes, interview transcripts, or podcast content ## Quick Start **Default comprehensive analysis:** ```bash python3 scripts/analyze_transcript.py path/to/transcript.md ``` **Custom analysis prompt:** ```bash python3 scripts/analyze_transcript.py path/to/transcript.md --prompt "List all technical tools and technologies mentioned" ``` ## Core Workflow ### 1. Receive Analysis Request When a user provides a transcript file for analysis: 1. Verify the transcript file exists and is readable 2. Determine if default analysis or custom prompt is needed 3. Confirm the output location if user wants specific placement 4. Execute the analysis script ### 2. Execute Analysis Use the bundled `scripts/analyze_transcript.py` script for all analysis tasks. **Default comprehensive analysis:** ```bash python3 scripts/analyze_transcript.py transcript.md ``` This provides: - Executive summary (2-3 paragraphs) - Key insights (5-7 bullet points) - Topics discussed (with summaries and key points) - Notable quotes (3-5 memorable quotes) - Action items (concrete next steps) - Additional notes (context and observations) **Custom prompt analysis:** ```bash python3 scripts/analyze_transcript.py transcript.md --prompt "Your custom question or analysis request" ``` Examples of custom prompts: - "List all the specific tools and products mentioned" - "What are the technical implementation details discussed?" - "Extract all statistics and data points mentioned" - "Summarize the main argument in 3 paragraphs" - "What questions were asked and how were they answered?" **Specify output location:** ```bash python3 scripts/analyze_transcript.py transcript.md --output path/to/analysis.md ``` **Print to stdout instead of saving:** ```bash python3 scripts/analyze_transcript.py transcript.md --print ``` **Use different OpenAI model:** ```bash python3 scripts/analyze_transcript.py transcript.md --model gpt-4o-mini ``` ### 3. Handle Output The script automatically: - Reads the transcript file - Sends to OpenAI API with appropriate prompt - Formats response as structured markdown - Saves to `transcript_name_analysis.md` or custom path - Displays token usage statistics - Returns formatted analysis with metadata header Output format: ```markdown # Transcript Analysis **Source Transcript:** path/to/transcript.md **Analysis Model:** gpt-5-mini **Tokens Used:** 33,763 --- [Analysis content here] ``` ## Configuration ### Environment Requirements **OPENAI_API_KEY** (required): - Must be set as environment variable - Script will error with helpful message if not found - Set with: `export OPENAI_API_KEY='your-key-here'` ### Model Selection Default model: `gpt-5-mini` (fast, cost-effective, good quality) Use `--model` flag to specify a different OpenAI model if needed. Note: gpt-5-mini does not support temperature parameter (uses default) ### Python Dependencies Required packages: ```bash pip install openai ``` The script uses the official OpenAI Python client. ## Common Usage Patterns ### Pattern 1: Quick Summary User request: "Give me a summary of this transcript" Execute: ```bash python3 scripts/analyze_transcript.py whisper-transcriptions/meeting.md ``` Explain to user: - Analysis saved to `whisper-transcriptions/meeting_analysis.md` - Includes executive summary, key insights, topics, quotes, and action items - Token usage displayed for cost tracking ### Pattern 2: Targeted Information Extraction User request: "What specific technologies were mentioned in the video?" Execute: ```bash python3 scripts/analyze_transcript.py transcript.md --prompt "List and describe each specific technology, tool, or product mentioned in this transcript. For each item include: 1) The name, 2) What it does, 3) How it was discussed, and 4) Any technical details mentioned." ``` This approach works for: - Extracting people/companies mentioned - Finding technical details - Listing recommendations - Identifying questions and answers - Pulling out data points and statistics ### Pattern 3: Custom Output Location User request: "Analyze this and save it in my Documents folder" Execute: ```bash python3 scripts/analyze_transcript.py transcript.md --output ~/Documents/analysis.md ``` ### Pattern 4: Multiple Analyses User has different questions about same transcript: Execute sequentially with different custom prompts: ```bash python3 scripts/analyze_transcript.py transcript.md --prompt "What are the main arguments?" --output analysis_arguments.md python3 scripts/analyze_transcript.py transcript.md --prompt "List all action items" --output analysis_actions.md python3 scripts/analyze_transcript.py transcript.md --prompt "Extract technical details" --output analysis_technical.md ``` ### Pattern 5: Integration with WhisperKit Transcription User workflow: "Transcribe this video and analyze it" Execute sequentially: ```bash # Step 1: Transcribe (using whisperkit-transcriber skill) python3 whisperkit-transcriber/scripts/transcribe.py "https://youtube.com/watch?v=..." # Step 2: Analyze the transcription python3 scripts/analyze_transcript.py whisper-transcriptions/watch.md ``` Result: User gets both transcript and AI analysis. ## Script Parameters ### Required Arguments - `transcript` - Path to transcript file to analyze ### Optional Arguments - `--output`, `-o` - Custom output file path (default: auto-generated from input filename) - `--model`, `-m` - OpenAI model to use (default: gpt-5-mini) - `--prompt` - Custom analysis prompt (overrides default comprehensive analysis) - `--print`, `-p` - Print to stdout instead of saving to file ### Examples ```bash # Minimal usage (default analysis) python3 scripts/analyze_transcript.py transcript.md # Custom prompt python3 scripts/analyze_transcript.py transcript.md --prompt "Summarize in 5 bullet points" # Different model (if needed) python3 scripts/analyze_transcript.py transcript.md --model other-model # Custom output location python3 scripts/analyze_transcript.py transcript.md --output ~/Documents/analysis.md # Print to screen python3 scripts/analyze_transcript.py transcript.md --print # Combine options python3 scripts/analyze_transcript.py transcript.md --prompt "List all people mentioned" --output people.md ``` ## Token Usage and Costs The script displays token usage after each analysis: ``` ✅ Analysis complete! Tokens used: 33,763 (prompt: 31,536, completion: 2,227) ``` This helps track API costs: - gpt-5-mini is cost-effective for most analyses - Long transcripts will use more prompt tokens - Custom prompts typically use similar tokens to default - gpt-5-mini provides excellent quality for most use cases ## Troubleshooting ### Missing API Key Error: `OPENAI_API_KEY environment variable not set` Solution: ```bash export OPENAI_API_KEY='sk-...' ``` Add to `~/.zshrc` or `~/.bashrc` for persistence. ### File Not Found Error: `File not found: path/to/transcript.md` Solution: - Verify file path is correct - Use absolute paths if relative paths fail - Check file permissions ### API Errors Error: `Error calling OpenAI API: ...` Common causes: - Invalid API key - Rate limiting (too many requests) - Network connectivity issues - Model not available - Invalid parameters (e.g., unsupported temperature value) Solution: - Verify API key is valid - Wait and retry if rate limited - Check internet connection - Use default model if custom model fails ### Large Transcripts For very large transcripts (>100k tokens): - Consider splitting into sections - Use more concise custom prompts - Be aware of context length limits - Monitor token usage and costs ## Best Practices 1. **Start with default analysis** - Provides comprehensive overview before diving into specifics 2. **Use custom prompts for targeted extraction** - More efficient than reading entire default analysis 3. **Combine with transcription skill** - Create end-to-end video → transcript → insights workflow 4. **Save analyses with descriptive names** - Use `--output` with clear filenames when doing multiple analyses 5. **Monitor token usage** - Track costs, especially for long transcripts or frequent use 6. **Iterate prompts** - Refine custom prompts if initial results don't match expectations 7. **Keep API key secure** - Never commit to git, use environment variables ## Integration Workflows ### Video Analysis Pipeline 1. User provides YouTube URL 2. Use whisperkit-transcriber to generate transcript 3. Use ai-transcript-analyzer for insights 4. Optionally run multiple custom prompts for specific extractions ### Meeting Notes Processing 1. User uploads meeting transcript 2. Run default analysis for overview 3. Extract action items with custom prompt 4. Identify decisions made with another custom prompt 5. Share formatted analyses with team ### Content Research 1. Collect transcripts from multiple sources 2. Run consistent custom prompt across all transcripts 3. Aggregate insights for research synthesis ## Resources ### scripts/ **analyze_transcript.py** - Main analysis script using OpenAI API: - Reads transcript files - Supports default comprehensive analysis - Supports custom prompts for targeted extraction - Uses gpt-5-mini by default (configurable) - Outputs structured markdown with metadata - Displays token usage statistics - Handles errors with helpful messages Execute this script directly to perform all transcript analysis tasks.
Related Skills
excel-field-analyzer
分析Excel/CSV字段结构,AI自动生成中英文映射,验证翻译质量,输出统计报告。用于电子表格分析、数据字典创建、字段映射场景。
bio-spatial-transcriptomics-spatial-domains
Identify spatial domains and tissue regions in spatial transcriptomics data using Squidpy and Scanpy. Cluster spots considering both expression and spatial context to define anatomical regions. Use when identifying tissue domains or spatial regions.
ab-testing-analyzer
全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。
whisper-transcription
Transcribe audio and video files to text using OpenAI Whisper. Use when: converting podcasts to blog posts; creating video subtitles; extracting quotes from interviews; repurposing video content to text; building searchable audio archives
video-analyzer
鏅鸿兘鍒嗘瀽 Bilibili/YouTube/鏈湴瑙嗛锛岀敓鎴愯浆鍐欍€佽瘎浼板拰鎬荤粨銆傛敮鎸佸叧閿抚鎴浘鑷姩宓屽叆銆?
edu-video-analyzer
Analyze educational YouTube channels for classroom adoption potential, curriculum alignment, and pedagogical effectiveness. Use when comparing educational video content (like MRU vs Crash Course), evaluating teaching methodologies, identifying content gaps for course design, or developing educational video strategy focused on student learning outcomes rather than monetization.
blog-voice-analyzer
Run the AI Voice Analyzer on blog content to detect AI-sounding patterns and get actionable rewrite suggestions. Use when reviewing or improving blog articles before publishing.
azure-ai-transcription-py
Azure AI Transcription SDK for Python. Use for real-time and batch speech-to-text transcription with timestamps and diarization.
ecommerce-competitor-analyzer
Multi-platform e-commerce competitor analysis skill that automatically scrapes product data from Amazon, Temu, Shopee and generates comprehensive analysis reports using AI. Use when you need to analyze competitor products, extract product insights, or batch analyze multiple product listings. Supports bulk processing with structured outputs including title, price, rating, reviews, and strategic analysis.
api-spec-analyzer
Analyzes API documentation from OpenAPI specs to provide TypeScript interfaces, request/response formats, and implementation guidance. Use when implementing API integrations, debugging API errors (400, 401, 404), replacing mock APIs, verifying data types, or when user mentions endpoints, API calls, or backend integration.
api-schema-analyzer
Analyze OpenAPI and Postman schemas for MCP tool generation. Use when analyzing API specifications, extracting endpoint information, generating tool signatures, or when user mentions OpenAPI, Swagger, API schema, endpoint analysis.
pr-test-analyzer
Use this agent when you need to review a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or updated to ensure tests adequately cover new functionality and edge cases. Examples:\n\n<example>\nContext: Daisy has just created a pull request with new functionality.\nuser: "I've created the PR. Can you check if the tests are thorough?"\nassistant: "I'll use the pr-test-analyzer agent to review the test coverage and identify any critical gaps."\n<commentary>\nSince Daisy is asking about test thoroughness in a PR, use the Task tool to launch the pr-test-analyzer agent.\n</commentary>\n</example>\n\n<example>\nContext: A pull request has been updated with new code changes.\nuser: "The PR is ready for review - I added the new validation logic we discussed"\nassistant: "Let me analyze the PR to ensure the tests adequately cover the new validation logic and edge cases."\n<commentary>\nThe PR has new functionality that needs test coverage analysis, so use the pr-test-analyzer agent.\n</commentary>\n</example>\n\n<example>\nContext: Reviewing PR feedback before marking as ready.\nuser: "Before I mark this PR as ready, can you double-check the test coverage?"\nassistant: "I'll use the pr-test-analyzer agent to thoroughly review the test coverage and identify any critical gaps before you mark it ready."\n<commentary>\nDaisy wants a final test coverage check before marking PR ready, use the pr-test-analyzer agent.\n</commentary>\n</example>