
youtube-script-master
Unified YouTube script creation for cardiology channels in Hinglish. Uses the COMPLETE research-engine pipeline (channel scraping, comment analysis, narrative monitoring, gap finding, view prediction) combined with RAG + PubMed for evidence. Data-driven topic selection, 15-30 min educational videos with 6-point voice check.
- Installs
- 52
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/drshailesh88/integrated_content_os --skill youtube-script-master- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads youtube-script-master automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
YouTube Script Master
Unified skill for creating data-driven, evidence-based cardiology YouTube scripts in Hinglish.
This skill CONSUMES data from the research-engine Python pipeline. It does NOT replace that pipeline with manual web searches.
CRITICAL: Run Research Pipeline First
Before writing ANY script, the research-engine should have been run to generate:
- Content calendar with prioritized topics
- Demand analysis (what people want)
- Gap analysis (where opportunities are)
- Narrative analysis (what misinformation to address)
cd "/Users/shaileshsingh/cowriting system/research-engine"
python run_pipeline.py --quick # Quick mode (~10 min)
python run_pipeline.py # Full mode (~30 min)
Complete Architecture
┌─────────────────────────────────────────────────────────────────┐
│ PHASE 1: DATA COLLECTION (Weekly - Python Pipeline) │
├─────────────────────────────────────────────────────────────────┤
│ │
│ channel_scraper.py ──► Scrapes 35+ channels (no API needed) │
│ Competition, inspiration, belief-seeders│
│ │
│ comment_scraper.py ──► Downloads comments from top videos │
│ Extracts questions and pain points │
│ │
│ OUTPUT: /data/scraped/latest_scrape.json │
│ /data/scraped/latest_comments.json │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ PHASE 2: ANALYSIS (Python Pipeline) │
├─────────────────────────────────────────────────────────────────┤
│ │
│ demand_signals.py ──► What topics get views/engagement │
│ Question themes, demand scoring │
│ │
│ narrative_monitor.py ──► Tracks 8 dangerous narratives: │
│ 1. LDL skepticism │
│ 2. Statin fear │
│ 3. Insulin primacy │
│ 4. Fasting absolutism │
│ 5. Supplement superiority │
│ 6. Seed oil villain │
│ 7. Exercise compensation │
│ 8. Fear mongering │
│ │
│ gap_finder.py ──► Content opportunities │
│ CORRECTION_OPPORTUNITY (misinformation) │
│ LANGUAGE_GAP (English→Hindi needed) │
│ DEMAND_GAP (questions but no videos) │
│ PROVEN_TOPIC (high views in English) │
│ │
│ view_predictor.py ──► ML prediction of video performance │
│ Ridge regression + TF-IDF on title │
│ │
│ OUTPUT: /output/demand_analysis_*.json │
│ /output/narrative_analysis_*.json │
│ /output/content_gaps_*.json │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ PHASE 3: PLANNING (Python Pipeline) │
├─────────────────────────────────────────────────────────────────┤
│ │
│ idea_combinator.py ──► Seed ideas (300+) × Modifiers (215+) │
│ Filters by pillar, archetype, compat │
│ Prioritizes by demand + gap scores │
│ │
│ calendar_generator.py ──► 100-day content calendar │
│ Mon/Wed/Fri schedule │
│ Balanced by pillar and audience │
│ │
│ OUTPUT: /output/calendar.json │
│ /output/100-day-calendar.md (Obsidian-ready) │
│ /output/idea-briefs/*.md (per-video briefs) │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ PHASE 4: KNOWLEDGE BUILDING (Per Video) │
├─────────────────────────────────────────────────────────────────┤
│ │
│ knowledge_pipeline.py ──► RAG + PubMed in parallel │
│ ├─► RAG: Your textbooks/guidelines (AstraDB) │
│ └─► PubMed: Latest research (NCBI API) │
│ │
│ OUTPUT: Knowledge brief with citations │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ PHASE 5: SCRIPT WRITING (This Skill - Opus) │
├─────────────────────────────────────────────────────────────────┤
│ │
│ INPUTS: │
│ - calendar.json (which topic, why now) │
│ - content_gaps.json (opportunity type) │
│ - narrative_analysis.json (if debunk: which narrative) │
│ - knowledge_brief (evidence for claims) │
│ │
│ APPLY: │
│ - Hinglish rules (70% Hindi / 30% English) │
│ - Script structure (hook → body → CTA) │
│ - Debunk protocol (if correction opportunity) │
│ - 6-point voice check │
│ │
│ OUTPUT: Complete 15-30 min script in Hinglish │
└─────────────────────────────────────────────────────────────────┘
Using Research Engine Outputs
Step 1: Check the Content Calendar
# See next 5 topics to create
python calendar_generator.py --show-next 5
# Or read directly
cat /output/calendar.json | head -100
Each calendar entry includes:
seed_idea- The topicmodifier- The anglegap_score- Why this is an opportunityrecommended_date- When to publish
Step 2: Check If Debunk Needed
# Get threat ranking of narratives
python analyzer/narrative_monitor.py --threats
# Generate debunk ideas
python analyzer/narrative_monitor.py --debunk
# Get response video ideas for high-reach misinformation
python analyzer/narrative_monitor.py --response
Output includes:
- Which channels are promoting which narratives
- View counts of misinformation videos
- Pre-generated Hinglish hooks for debunk content
- Matched seed ideas for counter-content
Step 3: Check Correction Opportunities
python analyzer/gap_finder.py --corrections
Returns high-reach misinformation videos with:
- Video title and views
- Narratives detected
- Suggested correction format (direct_response, evidence_synthesis, gentle_correction, indian_context)
Step 4: Build Knowledge for Selected Topic
from rag_pipeline.src.knowledge_pipeline import KnowledgePipeline
pipeline = KnowledgePipeline(verbose=True)
brief = pipeline.synthesize_knowledge("Your selected topic")
Step 5: Write Script Using This Skill
With all data ready, apply the rules below.
35+ Tracked Channels (Data Source)
The research-engine tracks these channels in target_channels.json:
Competition (Hindi) - Differentiate/Monitor
- Dr Navin Agrawal CARDIO CARE (300K+)
- Cardiac Second Opinion (100K+)
- SAAOL Heart Center (3.4M) - ANTI-PATTERN
Indian Mega Channels - Monitor/Differentiate
- Fit Tuber (7M+)
- Dr Vikas Bangar (1M+)
- Satvic Movement (1M+)
- Dr Biswaroop Roy Chowdhury (4M+) - CRITICAL ANTI-PATTERN
Inspiration (English) - Absorb Techniques
- Peter Attia MD (1.5M+) - PRIMARY MODEL
- York Cardiology (1M+)
- Nutrition Made Simple (1.2M+)
- The Proof with Simon Hill (1M+)
- Dr Ford Brewer (700K+)
- Medlife Crisis (1.5M+)
Belief Seeders - HIGH DEBUNK PRIORITY
- Dr Eric Berg (11M+) - Keto, insulin primacy, statin fear
- Dr Sten Ekberg (3.5M+) - Insulin, fasting
- Dr Ken Berry (2.5M+) - Carnivore, LDL skepticism
- Dr Mark Hyman (3M+) - Functional medicine
- Dr Jason Fung (1M+) - Fasting
- Dr Pradip Jamnadas (1M+) - Popular in Indian diaspora
8 Tracked Narratives (For Debunk Content)
The narrative_monitor.py tracks these dangerous beliefs:
| Narrative | What They Claim | Key Channels |
|---|---|---|
| ldl_skepticism | "LDL doesn't cause heart disease" | Berg, Ekberg, Berry, Low Carb Down Under |
| statin_fear | "Statins are dangerous/unnecessary" | Berg, Berry, SAAOL, Satvic |
| insulin_primacy | "Only insulin matters, not LDL" | Ekberg, Fung, Jamnadas, Hyman |
| fasting_absolutism | "Fasting cures/reverses everything" | Fung, Jamnadas, DeLauer |
| supplement_superiority | "Supplements > medications" | Berg, Hyman, Huberman |
| seed_oil_villain | "Seed oils cause heart disease" | Berry, Saladino |
| exercise_compensation | "Exercise reverses plaque" | Various |
| fear_mongering | "Doctors/pharma hide cures" | Dr Biswaroop, SAAOL |
When writing debunk content, use the Steelman-Then-Correct Protocol below.
Hinglish Language Rules
Word Choice Matrix
| Context | Use Hindi | Use English |
|---|---|---|
| Emotions | Dil, zindagi, takleef | - |
| Medical terms | - | Cholesterol, BP, diabetes, LDL, HDL |
| Actions | Samjhiye, dekhiye, sochiye | - |
| Data | - | 80%, studies show, evidence |
| Body parts | - | Heart, arteries, blood |
| Severity | Khatarnak, serious | Critical, emergency |
Ratio: 70% Hindi / 30% English (technical terms only)
Sentence Patterns
Explanation:
"Cholesterol do type ka hota hai - LDL jo 'bad cholesterol' hai, aur HDL jo 'good cholesterol' hai. LDL zyada ho toh arteries mein jam jaata hai..."
Evidence citation:
"2023 ki ek study, jisme 50,000 Indians the, usme paya gaya ki..."
Practical advice:
"Toh aap kya karein? Simple hai - daily 30 minute walk, dinner 8 baje se pehle, aur sodium kam..."
Transitions (Hindi)
- Point to point: "Ab doosri baat...", "Teen number...", "Sabse zaroori baat..."
- Contrast: "Lekin...", "Haan, magar...", "Yahan twist hai..."
- Emphasis: "Dhyan se suniye...", "Yeh important hai...", "Yeh mat bhooliye..."
- Story: "Ek patient ka case batata hoon...", "Mere saath kya hua..."
Script Structure (15-30 min videos)
HOOK (0:00 - 0:30)
Stop the scroll, create curiosity gap.
Patterns:
- Surprising statistic: "80% Indians jo yeh karte hain, unhe heart disease ka risk double hai..."
- Myth challenge: "Aapne suna hoga ki [belief]. Yeh galat hai. Main batata hoon kyun..."
- Story open: "Ek patient aaye mere paas, 42 saal ke. Unka case aapki aankhen khol dega..."
- Direct question: "Kya aap [common thing] karte ho? Yeh aapke dil ke liye kya kar raha hai?"
Rules:
- NO "Namaste dosto" (boring, skippable)
- First 5 seconds = most critical
- Create information gap that MUST be filled
For Debunk Videos, narrative_monitor.py generates Hinglish hooks like:
- "YouTube pe dekha ki LDL kharab nahi hai? Ek cardiologist ki sachai suniye..."
- "Statin se darr lagta hai? Main aapka darr samajhta hoon. Ab evidence dekhte hain..."
INTRO + CREDIBILITY (0:30 - 2:00)
Establish authority, set expectations.
"Main Dr. Shailesh, interventional cardiologist. Pichhle 15 saalon mein hazaaron patients dekhe hain. Aaj main aapko woh bataunga jo main apne patients ko clinic mein batata hoon..."
BODY - Main Content (2:00 - 25:00)
Structure Options:
A. Listicle (3-5 points)
Point 1: [Setup → Evidence → Practical takeaway]
Transition: "Ab doosri baat..."
Point 2: [Setup → Evidence → Practical takeaway]
...
B. Story-driven
Patient case introduction
What happened (tension)
Medical explanation (education)
Resolution
Lessons learned
C. Myth-busting (Debunk Format)
State the myth clearly
Steelman: Why people believe it (from narrative_monitor data)
Evidence: What studies actually show (from knowledge_brief)
Nuance: The complete picture
What to do instead
Engagement Beats (every 3-4 minutes):
- Question to viewer: "Aapko kya lagta hai?"
- Surprising reveal: "Lekin yahan twist hai..."
- Relatable moment: "Aap bhi soch rahe honge..."
- Pattern interrupt: Change pace, tone, or visual cue
SUMMARY + CTA (25:00 - 30:00)
Summary:
- Recap 3 key points (brief)
- One sentence takeaway
- "Agar sirf ek cheez yaad rakhni ho..."
CTA (choose one primary):
- Subscribe: "Is channel pe aisi videos regularly aati hain..."
- Comment: "Apna sawaal neeche likhiye, main jawab dunga..."
- Share: "Kisi apne ko bhejiye jinke kaam aa sake..."
Steelman-Then-Correct Protocol (For Debunk Content)
Step 1: Find the Kernel of Truth
Every popular health belief contains something true. Find it.
| Belief | Kernel of Truth |
|---|---|
| "LDL doesn't matter" | LDL alone isn't full picture; particle count, inflammation matter |
| "Statins are poison" | Statins do have side effects; not everyone needs them |
| "Fasting cures everything" | Fasting has metabolic benefits; caloric restriction helps |
| "Insulin is the real problem" | Insulin resistance IS important; metabolic health matters |
Step 2: Acknowledge Explicitly
Wrong:
"Yeh log galat hain. LDL clearly causes heart disease."
Right:
"Yeh belief kahan se aayi? Actually, ek valid point hai. LDL alone se poori picture nahi milti. ApoB, particle count, inflammation - sab matter karta hai. Lekin iska matlab yeh nahi ki LDL matter hi nahi karta..."
Step 3: Show the Logical Error
- Oversimplification: "It's not that simple..."
- Cherry-picking studies: "Jab hum ALL studies dekhte hain..."
- Anecdote vs evidence: "Kuch logon ka experience aisa hai, but population level pe..."
Tone: Never Say / Instead Say
| Never Say | Instead Say |
|---|---|
| "Yeh log galat hain" | "Is approach mein ek problem hai" |
| "Bakwaas" | "Story itni simple nahi hai" |
| "Aap fool ban rahe ho" | "Partial truth hai, but..." |
| "Dangerous misinformation" | "Evidence kuch aur kehti hai" |
6-Point Voice Check
Before delivering ANY script, verify all 6:
| # | Check | Question |
|---|---|---|
| 1 | Authority | Would Topol/Attia/Huberman say this in Hinglish? |
| 2 | Domain Expert | Sounds like cardiologist, NOT wellness guru? |
| 3 | Rigor | Would pass as journal review (in English)? |
| 4 | Accessibility | 7th grader in Delhi can follow? |
| 5 | Non-Preachy | Explaining, NOT sermonizing? |
| 6 | Non-Judgmental | Evidence, NOT lifestyle shaming? |
See voice-check.md for detailed criteria.
Evidence Citation Protocol
For Studies
"2023 mein European Heart Journal mein ek meta-analysis aayi - 200 studies, 20 lakh logon pe. Finding? [specific finding]..."
For Guidelines
"ESC guidelines - Europe ke top cardiologists - recommend karte hain ki [specific recommendation]. Kyun? Because evidence shows..."
For Clinical Experience
"Mere practice mein pichhle 15 saal mein, maine [X] cases dekhe hain jahan [observation]..."
Quick Reference: Data Files
| File | Location | Contains |
|---|---|---|
| Content calendar | /output/calendar.json | What to create and when |
| Demand analysis | /output/demand_analysis_*.json | What audience wants |
| Gap analysis | /output/content_gaps_*.json | Where opportunities are |
| Narrative threats | /output/narrative_analysis_*.json | What to debunk |
| Seed ideas | /data/seed-ideas.json | 300+ topic seeds |
| Modifiers | /data/modifiers.json | 215+ content angles |
| Target channels | /data/target_channels.json | 35+ tracked channels |
Slash Commands
| Command | Purpose |
|---|---|
/research-and-script [topic] | Full workflow: data → knowledge → script |
/show-calendar | View content calendar |
/debunk-script [narrative] | Write correction video |
/idea-details [idea-id] | Full research on specific idea |
Deprecated Skills
This skill supersedes:
/.claude/skills/youtube-script-hinglish/skill.md- DEPRECATED/.claude/skills/debunk-script-writer/skill.md- DEPRECATED/.claude/skills/cardiology-youtube-scriptwriter/SKILL.md- DEPRECATED
Use this unified skill instead.
This skill ensures every YouTube script is DATA-DRIVEN (from research-engine) + EVIDENCE-BASED (from RAG+PubMed) + AUTHENTIC (Hinglish voice with 6-point check).
FAQ
What does the youtube-script-master skill do?
Unified YouTube script creation for cardiology channels in Hinglish. Uses the COMPLETE research-engine pipeline (channel scraping, comment analysis, narrative monitoring, gap finding, view prediction) combined with RAG + PubMed for evidence. Data-driven topic selection, 15-30 min educational videos with 6-point voice check.
How do I install youtube-script-master?
Run npx skills add https://github.com/drshailesh88/integrated_content_os --skill youtube-script-master in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/youtube-script-master/ (personal) or .claude/skills/youtube-script-master/ (project).
Which AI agents can use youtube-script-master?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is youtube-script-master safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains youtube-script-master?
It is published by drshailesh88 in drshailesh88/integrated_content_os. It has 52 recorded installs.
More from drshailesh88/integrated_content_os
social-media-trends-research
drshailesh88/integrated_content_os
Programmatic social media and marketing research using free tools: pytrends (Google Trends), yars (Reddit without API keys), and Perplexity MCP (Twitter/TikTok/Web). Use when finding trending topics in a niche, tracking keyword velocity and volume, monitoring Reddit discussions, discovering what's going viral, or researching content opportunities before writing. Zero-cost research stack with built-in rate limiting. Complements content-marketing-social-listening skill with executable code.
medical-newsletter-writer
drshailesh88/integrated_content_os
Open the skill to read its SKILL.md instructions.
deep-researcher
drshailesh88/integrated_content_os
Open the skill to read its SKILL.md instructions.
academic-chapter-writer
drshailesh88/integrated_content_os
Open the skill to read its SKILL.md instructions.
viral-content-predictor
drshailesh88/integrated_content_os
Open the skill to read its SKILL.md instructions.
influencer-analyzer
drshailesh88/integrated_content_os
Open the skill to read its SKILL.md instructions.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。