Using machine learning to identify the content of e-cigarette videos, featured e-cigarette products, video uploaders, and marketing and sales of e-cigarette products.
git clone https://github.com/sschott20/youtube-vape-classification.gitThis skill uses supervised machine learning to automatically analyze e-cigarette videos on YouTube, classifying video themes (product reviews, instructions, vape tricks), featured products, channel types (enthusiasts, retailers, brands), and sales strategies including discounts and external purchase links. The system was trained on 3,830 English-language videos and achieves up to 0.87 F1 score accuracy. It processes video metadata to predict four distinct models, enabling researchers and regulators to understand how e-cigarette products are promoted to youth audiences on social media. This tool supports public health research by quantifying marketing tactics, engagement metrics, and product promotion patterns across YouTube's vaping content.
[{"step":"Gather YouTube video URLs for analysis. Use tools like YouTube Data API, browser extensions (e.g., Video DownloadHelper), or manually copy URLs from search results or channels.","tip":"Focus on videos with high engagement (views, likes) or from channels with known vape-related content to maximize relevance."},{"step":"Paste the video URL into the prompt template and execute the classification. For batch processing, use a tool like Google Apps Script or Python with the YouTube API to automate URL collection and AI analysis.","tip":"For large datasets, pre-filter videos using keywords like 'vape', 'e-cig', 'cloud chasing', or 'e-liquid' to reduce irrelevant content."},{"step":"Review the structured report for key insights: product mentions, marketing tactics, and compliance risks. Use the confidence scores to prioritize follow-up actions.","tip":"Cross-reference product names with databases like the FDA's [e-cigarette product list](https://www.fda.gov/tobacco-products/products-ingredients-components/ecigarettes-list-products-ingredients-components) to verify legitimacy."},{"step":"Take action based on findings. For marketers, use insights to identify competitors, influencers, or gaps in vape product promotion. For regulators, flag non-compliant content for review.","tip":"Combine this skill with sentiment analysis tools (e.g., MonkeyLearn) to assess viewer reactions to vape-related content."},{"step":"Store results in a database or spreadsheet for trend analysis. Track recurring products, uploaders, or marketing strategies over time to identify patterns.","tip":"Use tools like Airtable or Google Sheets with AI integrations (e.g., Zapier + AI) to automate data storage and visualization."}]
Analyze e-cigarette marketing strategies and sales tactics on YouTube
Identify which video themes drive highest engagement in vaping content
Classify channel types uploading e-cigarette content (enthusiasts vs. retailers)
Detect discount and sales promotion patterns in vape product videos
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/sschott20/youtube-vape-classificationCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Analyze the following YouTube video [VIDEO_URL] to classify its content based on e-cigarette-related themes. Specifically, identify: (1) whether the video promotes or discusses vaping, (2) the featured e-cigarette products (brands, models, flavors), (3) the uploader's intent (educational, promotional, review, etc.), and (4) any marketing or sales tactics used. Provide a confidence score for each classification. Format the output as a structured report with clear headings.
### YouTube Video Classification Report: 'Vape Tricks for Beginners - Easy Clouds!'
**Video URL:** https://www.youtube.com/watch?v=fictional123
**Upload Date:** 2023-10-15
**Uploader:** @CloudChaserVapes (verified channel, 120K subscribers)
#### 1. Content Classification
- **Primary Theme:** Vaping Promotion (95% confidence)
- Video focuses on vape tricks, cloud production, and beginner tutorials.
- No explicit health warnings or educational disclaimers.
- **Secondary Theme:** Product Review (85% confidence)
- Features multiple e-cigarette devices (e.g., GeekVape Aegis Legend 2, Smok RPM 80 Pro).
- Displays e-liquid flavors (e.g., "Blueberry Ice", "Mango Tango").
#### 2. Featured Products
| **Brand** | **Model** | **Type** | **Flavor (if applicable)** |
|-----------------|-------------------------|----------------|----------------------------|
| GeekVape | Aegis Legend 2 | Mod | N/A |
| Smok | RPM 80 Pro | Pod System | N/A |
| Lost Mary | BM600 | Disposable | "Blue Razz" |
| Elf Bar | 600 | Disposable | "Mango Ice" |
#### 3. Uploader Intent
- **Primary Intent:** Entertainment/Promotion (90% confidence)
- Channel monetized via affiliate links (e.g., "Use code CLOUD10 for 10% off").
- No age verification or COPPA compliance visible in video.
- **Secondary Intent:** Community Building (75% confidence)
- Encourages viewer engagement ("Comment your best trick below!").
#### 4. Marketing/Sales Tactics
- **Affiliate Marketing:** Links to vape shops in video description.
- **Discount Codes:** "CLOUD10" for 10% off purchases.
- **Social Proof:** Uploader displays large cloud production to showcase device performance.
- **Trend Participation:** Uses hashtags like #VapeTok, #CloudChasing.
#### 5. Compliance Risks
- **Potential Issues:** No visible age gate or health disclaimer.
- **Regulatory Concerns:** Promotion of nicotine products without FDA/regional compliance statements.
**Recommendation:** Flag for potential policy violation due to lack of age restrictions and health warnings.Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan