script-writer by ailabs-393/ai-labs-claude-skills
npx skills add https://github.com/ailabs-393/ai-labs-claude-skills --skill script-writer此技能将 Claude 转变为专业的 YouTube 脚本撰写专家,它能理解您独特的风格,并生成完整、引人入胜的视频脚本,旨在优化观众留存率和参与度。
在需要处理 YouTube 脚本撰写任务时调用此技能:
python3 scripts/script_db.py is_initialized
如果返回 "false",则继续步骤 2。如果返回 "true",则继续步骤 3。
收集全面的脚本撰写偏好设置:
脚本类型(可多选):
语调:
目标受众:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
风格偏好:
视频时长偏好:
开头风格:
个性:
其他偏好:
保存偏好设置:
import sys
sys.path.append('[SKILL_DIR]/scripts')
from script_db import save_preferences
preferences = {
"script_types": ["educational", "listicle"],
"tone": "casual-friendly",
"target_audience": {
"age_range": "20s-30s",
"knowledge_level": "beginner-intermediate",
"interests": ["productivity", "technology"]
},
"style": {
"wording": "simple-direct",
"sentence_length": "short-punchy",
"use_questions": True,
"use_statistics": "moderate"
},
"video_length": "medium",
"hook_style": "question-problem",
"personality": "relatable-energetic",
"use_humor": True,
"storytelling_approach": "moderate",
"call_to_action_preference": "direct",
"channel_niche": "productivity tips"
}
save_preferences(preferences)
当用户请求脚本时,收集:
基本信息:
示例请求:
用户:"写一个关于'5 个改变我生活的生产力应用'的脚本"
收集:
- 视频时长:10 分钟(中等长度)
- 要涵盖的关键应用:5 个具体应用
- 角度:个人经验 + 实际好处
- 行动号召:在描述中链接到完整的应用列表
根据偏好设置和 references/script_formats.md,创建结构:
标准 YouTube 脚本结构:
[开头 - 0:00-0:10]
阻止用户划走的开场白
[引言 - 0:10-0:45]
- 快速问候
- 视频内容简介
- 观众应该观看的原因
- 他们将学到什么
- 个人可信度/背景
[主要内容 - 0:45-8:30]
第 1 部分:[要点 1]
- 要点介绍
- 解释
- 示例/故事
- 好处/应用
- 过渡
第 2 部分:[要点 2]
- 要点介绍
- 解释
- 示例/故事
- 好处/应用
- 过渡
[为每个要点继续]
[结论 - 8:30-9:30]
- 要点回顾
- 关键收获
- 最终想法
- 为行动号召做准备
[行动号召 - 9:30-10:00]
- 主要行动号召(订阅、点赞、评论)
- 次要行动号召(链接、下一个视频)
- 结束语
按照结构生成完整脚本,并遵循用户的风格偏好:
示例脚本输出:
===================================
YOUTUBE 脚本
===================================
标题:5 个改变我生活的生产力应用
时长:约 10 分钟(约 1,500 字)
风格:随意友好,教育性
===================================
[开头 - 0:00-0:10]
"我过去每天在无用任务上浪费 3 小时,直到我发现了这 5 个应用。
而且,我说的不是那些大家已经都知道的应用。"
[引言 - 0:10-0:45]
"大家好!如果你和我一样,下载过几十个生产力应用,
结果一周后就弃用了。但这 5 个?它们真的坚持下来了。事实上,
在过去的 6 个月里,它们每周为我节省了超过 15 个小时。
今天,我将分享我每天使用的确切应用,它们为什么有效,以及你
现在如何就能用起来。请坚持看到最后,因为第 5 个应用非常简单,
你会奇怪为什么自己还没开始用它。
让我们开始吧。"
[主要内容 - 0:45-8:30]
[第 1 部分:应用 #1 - 1:00-2:30]
"第一个应用是 Notion——但不是你想的那样。
我知道,我知道——每个人都在谈论 Notion。但问题是:大多数人
把它搞得太复杂了。我曾经花几个小时构建复杂的数据库,直到我
意识到我是在为'变得高效'这件事而变得高效,这根本...不高效。
[视觉提示:展示简单的 Notion 设置]
这是改变一切的关键:我现在只用 Notion 做三件事:
- 我的每日仪表板(显示任务、目标和笔记)
- 一个简单的内容日历
- 快速捕捉随机想法
就这样。没有复杂的数据库。没有精密的系统。就这三页,
突然间 Notion 变得真正有用,而不是另一个需要维护的项目。
关键是什么?从简单开始。你以后总可以增加复杂度,但先从一个
页面开始,然后逐步构建。
接下来是完全不同的东西..."
[第 2 部分:应用 #2 - 2:30-4:00]
"第二个应用是 Sunsama,这个应用是关于正确的时间块管理。
如果你曾经写过待办事项清单,然后只是...盯着它,不知道从何
下手而不知所措——Sunsama 解决了这个问题。它就像一个日历和
任务管理器生了个孩子。
[视觉提示:展示 Sunsama 界面]
每天早上,我在 Sunsama 上花 10 分钟规划我的一天。我把任务
拖到特定的时间段,它会显示我是否承诺过多。游戏规则改变者。
在使用 Sunsama 之前,我会有 20 个任务,但不知道如何安排时间。
现在?我能看到我今天只有时间完成 7 个任务,所以我相应地排定
优先级。老实说,它改变了我处理一整天的方式。
最棒的部分?在一天结束时,它会显示你实际完成了什么与计划
完成什么的对比。这个反馈循环让我在估计事情实际需要多长时间
方面变得好太多了。
友情提醒:这是一个付费应用。但对我来说,每月 20 美元在节省
的时间和减少的压力方面物超所值。"
[继续应用 3、4 和 5...]
[结论 - 8:30-9:30]
"好了,以上就是改变我生产力的 5 个应用:
1. 用于简单组织的 Notion
2. 用于时间块管理的 Sunsama
3. [应用 3] 用于 [好处]
4. [应用 4] 用于 [好处]
5. [应用 5] 用于 [好处]
最重要的是什么?不要试图一次实施所有 5 个。选一个,掌握它
一周,然后再添加另一个。这样它们才能真正坚持下来。
我使用这个确切设置已经 6 个月了,我真的无法想象回到我过去
混乱的系统。"
[行动号召 - 9:30-10:00]
"如果你觉得这有帮助,请猛击那个订阅按钮,因为我每周二都会
发布一个新的生产力视频。
另外,我在下面的描述中提供了所有 5 个应用的完整分解,包括
链接、价格和我的确切设置——去拿吧,免费的。
在评论中告诉我你打算先尝试哪个应用,如果你有任何我应该知道
的生产力应用,也请告诉我。
感谢观看,我们下个视频见!"
===================================
[脚本结束]
字数:约 1,500 字
预计时长:10 分钟
目标受众:20-30 岁的生产力爱好者
语调:随意、友好、平易近人
关键开头:个人转变、实用技巧、简单实施
制作说明:
- 需要所有 5 个应用使用时的 B-roll 镜头
- 展示简单与复杂的 Notion 设置对比
- 包含每日规划流程的延时摄影
- 结束画面:订阅按钮 + 下一个视频建议
===================================
展示脚本后:
提供调整选项:
保存最终版本:
from script_db import add_script
script = {
"title": "5 Productivity Apps That Changed My Life",
"type": "listicle-educational",
"tone": "casual-friendly",
"word_count": 1500,
"duration_minutes": 10,
"content": "[full script text]",
"notes": "Strong personal angle, relatable examples"
}
add_script(script)
[开头] 问题陈述 + 解决方案的承诺
[引言] 个人背景 + 你将学到什么 + 为什么重要
[第 1 部分] 概念解释
- 它是什么
- 为什么重要
- 常见错误
[第 2 部分] 逐步过程
- 带视觉效果的步骤 1
- 带示例的步骤 2
- 带提示的步骤 3
[第 3 部分] 常见陷阱
- 要避免什么
- 故障排除
[结论] 回顾 + 关键收获 + 后续步骤
[行动号召] 订阅 + 资源 + 评论提示
[开头] 数字悬念 + 意想不到的角度
[引言] 背景 + 为什么这个列表重要
[第 5 项] (用倒计时制造悬念)
- 它是什么
- 为什么有效
- 如何使用
[第 4 项] 重复结构
[第 3 项] 重复结构
[第 2 项] 重复结构
[第 1 项] (最重要/最令人惊讶)
- 额外强调
- 最佳好处
[结论] 回顾数字 + 最终收获
[行动号召] 强烈指示 + 资源提及
[开头] 引人入胜的故事开场
[引言] 设置故事背景
[第 1 部分] 问题/冲突
- 制造紧张感
- 展示利害关系
- 使其具有相关性
[第 2 部分] 旅程
- 面临的挑战
- 尝试和失败
- 学习时刻
[第 3 部分] 解决方案
- 如何解决
- 转变
[结论] 学到的教训 + 观众如何应用
[行动号召] 邀请分享类似故事 + 订阅
"大家好!所以,有趣的故事——我上周把这个完全搞砸了。
就像,尴尬得不行。但这是我学到的..."
"在今天的视频中,我们将探讨驱动成功实施的三个核心原则。
基于 5 年的数据和研究..."
"好吧,这太疯狂了!我刚刚发现了一些会让你大吃一惊的东西。
准备好了吗?因为一旦你看到这个..."
"让我们一步一步来分解。别担心,如果一开始看起来很复杂——
到这个视频结束时,你就会完全明白了。首先..."
用户:"给我写一个关于被动收入想法的脚本"
Claude:[检查偏好设置 - 发现随意友好语调,中等长度,问题式开头]
完美!根据你的风格,我将写一个 10 分钟的脚本,采用你随意、
平易近人的语调。几个快速问题:
1. 我应该涵盖多少个被动收入想法?(对于 10 分钟的视频,3-5 个效果很好)
2. 有什么特定的角度吗?(适合初学者,高收益,低启动成本?)
3. 个人经验还是基于研究的方法?
用户:"5 个想法,适合初学者,混合个人经验和研究"
Claude:[生成完整脚本]
这是你关于"5 个适合初学者的被动收入想法"的完整脚本:
[完整的格式化脚本,包含开头、引言、5 个想法(附带个人故事和数据)、
结论和行动号召——全部采用用户随意友好的风格]
该脚本共 1,450 字(约 10 分钟),包含:
✓ 关于财务自由的问题式开头
✓ 引言中关于你第一次被动收入的个人故事
✓ 每个想法包括:它是什么,启动成本,时间投入,真实例子
✓ 你的经验和统计数据的混合
✓ 过渡中的自然幽默
✓ 关于免费被动收入指南的直接行动号召
需要我调整什么吗?我可以让它更个人化,添加更多数据,或者
改变能量水平。
数据存储:
~/.claude/script_writer.jsonCLI 命令:
python3 scripts/script_db.py is_initialized
python3 scripts/script_db.py get_preferences
python3 scripts/script_db.py get_scripts
python3 scripts/script_db.py stats
字数指南:
用于偏好设置、脚本和模板的数据库管理。
全面指南,涵盖:
每周安装次数
207
代码仓库
GitHub 星标数
322
首次出现
2026年1月23日
安全审计
安装于
opencode188
gemini-cli176
codex174
cursor163
github-copilot160
kimi-cli150
This skill transforms Claude into a professional YouTube scriptwriter that understands your unique style and generates complete, engaging video scripts optimized for viewer retention and engagement.
Invoke this skill for YouTube scriptwriting tasks:
python3 scripts/script_db.py is_initialized
If "false", proceed to Step 2. If "true", proceed to Step 3.
Collect comprehensive scriptwriting preferences:
Script Types (can select multiple):
Tone:
Target Audience:
Style Preferences:
Video Length Preference:
Hook Style:
Personality:
Additional Preferences:
Saving Preferences:
import sys
sys.path.append('[SKILL_DIR]/scripts')
from script_db import save_preferences
preferences = {
"script_types": ["educational", "listicle"],
"tone": "casual-friendly",
"target_audience": {
"age_range": "20s-30s",
"knowledge_level": "beginner-intermediate",
"interests": ["productivity", "technology"]
},
"style": {
"wording": "simple-direct",
"sentence_length": "short-punchy",
"use_questions": True,
"use_statistics": "moderate"
},
"video_length": "medium",
"hook_style": "question-problem",
"personality": "relatable-energetic",
"use_humor": True,
"storytelling_approach": "moderate",
"call_to_action_preference": "direct",
"channel_niche": "productivity tips"
}
save_preferences(preferences)
When user requests a script, gather:
Essential Information:
Example Request:
User: "Write a script about '5 Productivity Apps That Changed My Life'"
Gather:
- Video length: 10 minutes (medium form)
- Key apps to cover: 5 specific apps
- Angle: Personal experience + practical benefits
- CTA: Link to full app list in description
Based on preferences and references/script_formats.md, create structure:
Standard YouTube Script Structure:
[HOOK - 0:00-0:10]
Opening line that stops the scroll
[INTRO - 0:10-0:45]
- Quick greeting
- What video is about
- Why viewer should watch
- What they'll learn
- Personal credibility/context
[MAIN CONTENT - 0:45-8:30]
Section 1: [Point 1]
- Introduction to point
- Explanation
- Example/Story
- Benefit/Application
- Transition
Section 2: [Point 2]
- Introduction to point
- Explanation
- Example/Story
- Benefit/Application
- Transition
[Continue for each main point]
[CONCLUSION - 8:30-9:30]
- Recap of main points
- Key takeaway
- Final thought
- Setup for CTA
[CALL TO ACTION - 9:30-10:00]
- Primary CTA (subscribe, like, comment)
- Secondary CTA (links, next video)
- Sign-off
Generate full script following structure with user's style preferences:
Example Script Output:
===================================
YOUTUBE SCRIPT
===================================
Title: 5 Productivity Apps That Changed My Life
Duration: ~10 minutes (~1,500 words)
Style: Casual-Friendly, Educational
===================================
[HOOK - 0:00-0:10]
"I used to waste 3 hours every day on useless tasks until I found these 5 apps.
And no, I'm not talking about the ones everyone already knows about."
[INTRO - 0:10-0:45]
"Hey everyone! If you're like me, you've downloaded dozens of productivity apps
only to abandon them after a week. But these 5? They've actually stuck. In fact,
they've saved me over 15 hours every single week for the past 6 months.
Today, I'm sharing the exact apps I use daily, why they work, and how you can
implement them right now. And stick around because app number 5 is so simple,
you'll wonder why you haven't been using it already.
Let's dive in."
[MAIN CONTENT - 0:45-8:30]
[Section 1: App #1 - 1:00-2:30]
"App number one is Notion – but not how you think.
I know, I know – everyone talks about Notion. But here's the thing: most people
overcomplicate it. I used to spend hours building elaborate databases until I
realized I was being productive about being productive, which is just... not
productive.
[Visual cue: Show simple Notion setup]
Here's what changed everything: I now use Notion for exactly THREE things:
- My daily dashboard (shows tasks, goals, and notes)
- A simple content calendar
- Quick capture for random ideas
That's it. No complex databases. No elaborate systems. Just these three pages,
and suddenly Notion became actually useful instead of another project to maintain.
The key? Start simple. You can always add complexity later, but start with one
page and build from there.
Moving on to something completely different..."
[Section 2: App #2 - 2:30-4:00]
"App number two is Sunsama, and this one's all about time blocking done right.
If you've ever written a to-do list and then just... stared at it, paralyzed
about where to start – Sunsama solves that. It's like a calendar and task
manager had a baby.
[Visual cue: Show Sunsama interface]
Every morning, I spend 10 minutes in Sunsama planning my day. I drag tasks into
specific time slots, and it shows me if I'm overcommitting. Game changer.
Before Sunsama, I'd have 20 tasks and no idea how to fit them in. Now? I can see
I only have time for 7 tasks today, so I prioritize accordingly. It's honestly
changed how I approach my entire day.
The best part? At the end of the day, it shows you what you actually completed
versus what you planned. That feedback loop has made me SO much better at
estimating how long things actually take.
Fair warning: it's a paid app. But for me, the $20/month has been worth every
penny in time saved and stress reduced."
[Continue for Apps 3, 4, and 5...]
[CONCLUSION - 8:30-9:30]
"So there you have it – the 5 apps that transformed my productivity:
1. Notion for simple organization
2. Sunsama for time blocking
3. [App 3] for [benefit]
4. [App 4] for [benefit]
5. [App 5] for [benefit]
The most important thing? Don't try to implement all 5 at once. Pick ONE, master
it for a week, then add another. That's how these actually stick.
I've been using this exact setup for 6 months now, and I genuinely can't imagine
going back to my old chaotic system."
[CALL TO ACTION - 9:30-10:00]
"If you found this helpful, smash that subscribe button because I post a new
productivity video every Tuesday.
Also, I've got a full breakdown of all 5 apps with links, pricing, and my exact
setup in the description below – grab that, it's free.
Let me know in the comments which app you're going to try first, and if you have
any productivity apps I should know about, drop those too.
Thanks for watching, and I'll see you in the next one!"
===================================
[END OF SCRIPT]
Word Count: ~1,500 words
Estimated Duration: 10 minutes
Target Audience: 20s-30s productivity enthusiasts
Tone: Casual, friendly, relatable
Key Hooks: Personal transformation, practical tips, simple implementation
Production Notes:
- Need B-roll of all 5 apps in use
- Show simple vs complex Notion setups
- Include time-lapse of daily planning routine
- End screen: Subscribe button + Next video suggestion
===================================
After presenting script:
Offer Adjustments:
Save Final Version:
from script_db import add_script
script = {
"title": "5 Productivity Apps That Changed My Life",
"type": "listicle-educational",
"tone": "casual-friendly",
"word_count": 1500,
"duration_minutes": 10,
"content": "[full script text]",
"notes": "Strong personal angle, relatable examples"
}
add_script(script)
[HOOK] Problem statement + Promise of solution
[INTRO] Personal context + What you'll learn + Why it matters
[SECTION 1] Concept explanation
- What it is
- Why it matters
- Common mistakes
[SECTION 2] Step-by-step process
- Step 1 with visuals
- Step 2 with examples
- Step 3 with tips
[SECTION 3] Common pitfalls
- What to avoid
- Troubleshooting
[CONCLUSION] Recap + Key takeaway + Next steps
[CTA] Subscribe + Resources + Comment prompt
[HOOK] Number tease + Unexpected angle
[INTRO] Context + Why this list matters
[ITEM 5] (Build suspense with countdown)
- What it is
- Why it works
- How to use it
[ITEM 4] Repeat structure
[ITEM 3] Repeat structure
[ITEM 2] Repeat structure
[ITEM 1] (Most important/surprising)
- Extra emphasis
- Best benefit
[CONCLUSION] Recap numbers + Ultimate takeaway
[CTA] Strong directive + Resource mention
[HOOK] Compelling story opening
[INTRO] Setup the story context
[SECTION 1] The problem/conflict
- Build tension
- Show stakes
- Make it relatable
[SECTION 2] The journey
- Challenges faced
- Attempts and failures
- Learning moments
[SECTION 3] The resolution
- How it worked out
- The transformation
[CONCLUSION] Lesson learned + How viewers can apply
[CTA] Invite similar stories + Subscribe
"Hey everyone! So, funny story – I completely messed this up last week.
Like, embarrassingly bad. But here's what I learned..."
"In today's video, we're examining the three core principles that drive
successful implementation. Based on 5 years of data and research..."
"Okay, THIS is insane! I just discovered something that's going to blow
your mind. Are you ready? Because once you see this..."
"Let's break this down step by step. Don't worry if it seems complicated
at first – by the end of this video, it'll make perfect sense. First..."
User: "Write me a script about passive income ideas"
Claude: [Checks preferences - finds casual-friendly tone, medium length, question hooks]
Perfect! Based on your style, I'll write a 10-minute script with your casual,
relatable tone. A few quick questions:
1. How many passive income ideas should I cover? (3-5 works well for 10 minutes)
2. Any specific angle? (beginner-friendly, high-earning, low startup cost?)
3. Personal experience or research-based approach?
User: "5 ideas, beginner-friendly, mix of both personal experience and research"
Claude: [Generates complete script]
Here's your complete script for "5 Passive Income Ideas for Beginners":
[Full formatted script with hook, intro, 5 ideas with personal stories and data,
conclusion, and CTA – all in user's casual-friendly style]
The script is 1,450 words (~10 minutes) with:
✓ Question-based hook about financial freedom
✓ Personal story in intro about your first passive income
✓ Each idea includes: what it is, startup cost, time investment, real example
✓ Mix of your experience and statistics
✓ Natural humor in transitions
✓ Direct CTA about free passive income guide
Want me to adjust anything? I can make it more personal, add more data, or
change the energy level.
Data Storage:
~/.claude/script_writer.jsonCLI Commands:
python3 scripts/script_db.py is_initialized
python3 scripts/script_db.py get_preferences
python3 scripts/script_db.py get_scripts
python3 scripts/script_db.py stats
Word Count Guidelines:
Database management for preferences, scripts, and templates.
Comprehensive guide covering:
Weekly Installs
207
Repository
GitHub Stars
322
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode188
gemini-cli176
codex174
cursor163
github-copilot160
kimi-cli150
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
56,200 周安装
阿里云通义翻译AnyTrans API管理技能 - 快速调用SDK与OpenAPI Explorer指南
264 周安装
Lark Drive API 使用指南:飞书云文档、Wiki、表格 Token 处理与文件管理
15,400 周安装
LarkSuite Whiteboard CLI 工具:自动化生成专业图表与画板,支持DSL和Mermaid
15,500 周安装
UI/UX原型提示词生成器 - 为AI和开发者创建结构化设计规范
264 周安装
SEO优化器 | 关键词研究、页面优化、技术审计、排名跟踪一站式解决方案
264 周安装
AudioCraft音频生成教程:使用Meta MusicGen和AudioGen实现文本到音乐/音效
264 周安装