agents/gong-product-intelligence/SKILL.md
Analyzes Gong sales call transcripts from a product team perspective. Extracts what customers love, what they dislike, missing features they request, objection categories, sentiment, and conversion blockers. Use when the user wants to analyze sales calls, understand product feedback, identify feature gaps, or generate a product intelligence report from call data.
npx skillsauth add lightricks/ltx-analytics-agents gong-product-intelligenceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyzes LTX sales call transcripts to extract structured product insights for the product team. Fetches data directly from BigQuery — no CSV required.
Use this skill when the user says:
When triggered, always ask these questions first before running anything:
1. Which product? (studio / api / scaler)
2. What time period? (e.g. "last 3 months", "since Oct 2025", "all time")
3. Which calls to include?
- non-converted (default) — companies that never became pilots or paying customers
- converted — companies that DID become pilots or paying/enterprise customers
- both — all calls regardless of conversion outcome
4. Is there a specific topic or question you want to focus on? (optional)
e.g. "storyboard adoption", "pricing objections", "why enterprise deals don't close"
Press Enter / say "no" to skip — Claude will do a full broad analysis.
Then translate the answers into the correct CLI command and run it.
python3 agents/gong-product-intelligence/scripts/analyze_calls.py \
--product studio \
--date-from 2025-10-01 \
--output "/Users/yfainberg/my-project/gong calls analyze/output" \
--focus "storyboard adoption and feedback"
python3 agents/gong-product-intelligence/scripts/analyze_calls.py \
--product api \
--date-from 2020-01-01 \
--conversion-status converted \
--output "/Users/yfainberg/my-project/gong calls analyze/output"
python3 agents/gong-product-intelligence/scripts/analyze_calls.py \
--product studio \
--date-from 2024-09-01 \
--conversion-status both \
--output "/Users/yfainberg/my-project/gong calls analyze/output"
| Flag | Description |
|------|-------------|
| --product studio\|api\|scaler | Product to analyze — fetches from BigQuery |
| --date-from YYYY-MM-DD | Earliest call date to include (default: 2025-01-01) |
| --output /path/ | Output directory (default: configured inside script) |
| --limit N | Analyze only N calls (for quick tests) |
| --fresh | Ignore cached results and reprocess all |
| --report-only | Regenerate HTML from existing analysis_results.json without any API calls |
| --backfill-clusters | Add cluster fields to pre-v2 results using keyword matching, then regenerate report |
| --validate N | Generate side-by-side HTML report for N random calls for manual accuracy review |
| --qa | After report generation, enter interactive Q&A mode |
| --conversion-status non-converted\|converted\|both | Which calls to include (default: non-converted) |
| --focus "topic" | Optional focus area — Claude pays extra attention to this topic in every call |
After the report is generated, --qa drops into an interactive loop:
Q&A Mode (type 'done' or press Ctrl-C to finish)
Your question: What are the top 3 reasons enterprise deals don't close?
→ Asking Claude...
Answer: Based on the data, the top enterprise conversion blockers are:
1. Price/ROI uncertainty (17 mentions) — prospects want clearer cost justification
2. Missing Adobe/NLE integration (12 mentions) — teams can't adopt without workflow continuity
3. Credit system confusion (9 mentions) — hourly billing model feels unpredictable
Each answer is:
qa.json in the output directoryThe report can be shared with the team and will include all Q&A pairs.
| Section | What it shows | |---------|---------------| | AI Executive Summary | Headline + key findings + product priorities + sales recs | | Sentiment | Categorical distribution: positive / neutral / negative call counts | | Industry filter | Click any industry pill to filter all charts | | Monthly trend | Stacked bar chart showing sentiment over time | | Objections | Donut chart: product / price / competitor / timing / process | | Product Strengths | Clustered bar chart — click any bar to drill into examples | | Product Weaknesses | Clustered bar chart — click to drill | | Feature Requests | Clustered bar chart — click to drill | | Discovery Gaps | Features customers asked for that already exist (education opportunity) | | Competitors | Full horizontal bar chart of all normalized competitors | | Feature Sentiment | Per-feature sentiment split table | | Voice of Customer | 9 notable verbatim quotes | | Q&A | Questions asked and Claude's answers (if Q&A mode was used) |
ANALYSIS_SYSTEM_PROMPT (product knowledge + optional focus injected) + ANALYSIS_USER_PROMPT (call context + transcript). Returns structured JSON per call including reasoning and cluster assignments.normalize_competitor()), clusters strengths/weaknesses/feature requests by the Claude-assigned cluster names, counts categorical sentimentsummary.json)aggregated.json, answers saved to qa.json and re-injected into the reportThe intelligence comes from steps 2, 4, and 6 (LLM). Steps 1, 3, 5 are deterministic Python.
| File | Description |
|------|-------------|
| analysis_results.json | Per-call structured JSON (one entry per call) |
| aggregated.json | Aggregated counts, clustered data, normalized competitors |
| summary.json | AI executive summary (cached) |
| qa.json | Q&A pairs (if Q&A mode was used) |
| product_intelligence_report.html | The visual HTML report |
The script is resumable — it skips already-processed calls based on company+date key, saving every 10 calls.
For product descriptions see
shared/product-context.md. The table below covers SQL-specific logic only.
| Product | SQL logic |
|---------|-----------|
| studio | Studio leads, no enterprise orgs, pilot filter per --conversion-status |
| api | API-only leads, call title contains "api" or "ltx-2", stage filter per --conversion-status |
| scaler | Scaler-only leads, call title contains "scaler" or "brands", stage filter per --conversion-status |
Use this when you update clustering constants, HTML layout, or competitor normalization:
python3 agents/gong-product-intelligence/scripts/analyze_calls.py \
--output "/path/to/output/" \
--report-only
Add --qa to also enter Q&A mode after regeneration.
The agent uses shared/product-features.md as its source of truth (injected into every call analysis):
Update shared/product-features.md when new features ship. It's shared across all agents.
The script contains predefined cluster name lists injected into both the analysis prompt AND the Python aggregator:
STRENGTH_CLUSTER_NAMES — 14 topic bucketsWEAKNESS_CLUSTER_NAMES — 15 topic bucketsFEATURE_REQUEST_CLUSTER_NAMES — 14 topic bucketsCOMPETITOR_MAP — maps raw competitor strings to canonical namesTo improve clustering accuracy without re-running the LLM analysis:
analyze_calls.py--backfill-clusters to re-apply keyword matching to old results--report-only to instantly regenerate the reportqa.json and always included in the report on regeneration.development
Adds the analyst layer (segmentation framing, filter/KPI surfacing, LTX-specific definitions, contextual follow-ups) on top of any Data MasterMind data interaction for LTX stakeholders (PMs, marketers, design, leadership). Wraps `get-data` / `validate-data` / `understand-data` / `visualize-data` — dialing intensity from a full guided session (for "look into X", "investigate Y", "do an analysis of …") down to a compressed wrap (for "what's MRR?", "is this number right?"). Output mode (chat-only or HTML artifact) is chosen up front for session-style asks. Always asks about Enterprise / paid non-Enterprise / Free segmentation and Studio-feature tier-gating when relevant. Do NOT use only when the user explicitly opts out ("just give me the number, no extras") or for templated feature dashboards (that's the Hex-based `dashboard-builder`).
testing
Generate LTX Studio sales opportunities report and credit limit alerts. Covers pipeline by rep/product (yesterday + QTD), new PELs/PQLs, future meetings, and enterprise orgs at 80%+ token usage. Use when: sales standup, pipeline review, account health check, or when asked for 'sales numbers' or 'credit alerts'.
data-ai
Generate LTX Studio product daily report with revenue, usage by segment (Enterprise, Pilot, Paying Non-Enterprise, Free), and DoD/DOW-avg comparisons. Use when: daily product standup, executive reporting, or when asked for 'yesterday's product numbers'.
data-ai
Generate LTX Studio marketing & sales daily report with lead gen, spend, PELs/PQLs, sales metrics, and top org usage vs 7-day averages. Use when: daily marketing standup, GTM review, or when asked for 'marketing numbers' or 'lead performance'.