Communitygithub.com

baronguyen001/ai-automation-skills

根据主题和创作者角色文件,生成短视频(TikTok/Reels/Shorts)或长视频脚本——包含钩子变体、节奏化正文、行动号召、B-roll提示、字幕叠加,以及[故事]/[数字]占位符,防止模型捏造个人事实。适用于撰写视频脚本、TikTok脚本、YouTube脚本或/shortform-script。

ai-automation-skills 是什么?

该技能专为需要生成短格式(如TikTok、Reels、Shorts)或长格式视频脚本的创作者设计,确保脚本风格与提供的角色文件(persona.md)一致,而非使用通用的网络语气。它能够生成多种钩子变体、节奏清晰的正文段落、可选的行动号召、B-roll提示、字幕叠加,以及用于未经验证事实的插槽(如[故事]、[数字]、[日期]、[名称]),从而避免模型虚构信息。此技能支持主流AI代理平台(如Claude Code、Cursor等),并通过加载用户角色文件或引导用户调整示例角色文件来个性化输出。用户可以通过“write a video script”、“tiktok script”、“youtube script”或“/shortform-script”命令触发,技能会基于钩子家族、格式(短/长)和变体数量生成完整脚本。其核心工作流程包括:加载角色文件、选择格式、生成钩子变体、编写与角色受众和语气匹配的节奏、使用事实插槽填充未提供信息,并最终输出脚本、行动号召、B-roll提示和字幕叠加。

兼容平台~Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/baronguyen001/ai-automation-skills/tree/HEAD/skills/shortform-script

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

短视频脚本

当创作者希望生成与提供的角色相匹配(而非通用网络语气)的短格式或长格式视频脚本时,请使用此技能。它会生成钩子变体、节奏化正文、行动号召选项、B-roll提示、字幕叠加,以及用于角色文件未证明的任何声明的事实插槽。

何时调用

  • 用户说:“写一个视频脚本”/“tiktok脚本”/“youtube脚本”/“/shortform-script”
  • 对话中包含代码或文件:persona.md、内容日历或创作者的语音笔记。

何时不调用

  • 用户想要博客文章、文章、电子邮件或落地页。
  • 用户想要带有测试和转化声明的付费广告文案。

具体示例

用户输入:

/shortform-script "别再过度设计你的第一个CLI" --format short --hook mistake --variants 3

输出:

## 钩子变体
1. 最大的CLI错误是在没人使用命令之前就添加配置。
2. 你的第一个CLI不需要插件系统。它只需要一个能正常工作的命令。
3. 如果你的设置指南比工具还长,就把功能列表砍掉一半。

## 脚本
钩子:你的第一个CLI不需要插件系统。它只需要一个能正常工作的命令。

节奏1:从用户操作开始。“我想检查一个文件夹并查看错误。”
节奏2:发布最小的命令:`tool check ./project`。
节奏3:只有在第二个真实用户提出要求后,再添加标志。
节奏4:为证据保留插槽:[数字:你在简化前后测量的设置时间]。

行动号召:在评论中回复“CLI”,获取我在添加新标志前使用的检查清单。

## B-roll提示
- 终端运行一个命令。
- 分屏:冗长的帮助文本与三个干净的选项对比。
- 光标删除一个过早创建的插件文件夹。

## 字幕叠加
- “先一个命令。”
- “标志稍后来。”
- “测量设置时间。”

要应用的模式

  1. 加载用户的角色文件,或者要求他们调整 prompts/persona.example.md。
  2. 选择短格式(30-60秒)或长格式(10-15分钟)。
  3. 根据请求的钩子家族生成钩子变体。
  4. 编写与角色受众、语气、措辞和行动号召库相匹配的节奏。
  5. 对于用户未提供的事实,使用 [故事:]、[数字:]、[日期:] 和 [名称:] 插槽。
  6. 返回脚本、行动号召、B-roll提示和字幕叠加。

参考:prompts/persona.example.md 和 examples/sample_output.md。

来源

从作者自动化项目的生产使用中提炼。v0.1.0。 另见:[[gemini-structured-output]]。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

baronguyen001/ai-automation-skills

Schedule any script to run on a recurring schedule on Windows (Task Scheduler) or Linux (cron) - register, list, and remove jobs from one command, with logging to a file and a guard against overlapping runs. Use for schedule a script, run nightly, set up a cron job, windows task scheduler, or run on a timer.

baronguyen001/ai-automation-skills

Turn a run's list of result dicts into a schema'd CSV and a Markdown table from one column spec - declare columns once, emit both, with stable ordering and safe escaping, stdlib only, no pandas. Use when the user asks to write results to CSV, export a report, make a markdown summary table, or save a run's output as a spreadsheet.

baronguyen001/ai-automation-skills

Strip HTML to clean plain text with the standard library only (no BeautifulSoup/lxml): drops script/style, turns block tags into line breaks, and collapses whitespace. Use when the user wants readable text from an HTML page/email, to clean scraped HTML before sending it to an LLM, or to build a text index from web content.

baronguyen001/ai-automation-skills

Persist records between scheduled runs as append-only JSON Lines (one object per line) with streaming reads and optional key-based dedup, stdlib only. Use when the user wants to log run results to JSONL, append events to a file, dedup records by id across runs, or keep a simple durable history without a database.

baronguyen001/ai-automation-skills

Extract text and simple table-like rows from a PDF for downstream AI without OCR binaries. Use when the user asks to read a PDF, turn a PDF into text, pull simple tables from statements/reports, or feed PDF content into an LLM pipeline.

baronguyen001/ai-automation-skills

Rotate a pool of HTTP/SOCKS proxies with round-robin selection, failure tracking, and a cooldown that benches dead proxies before retrying. BYO proxy list via env - none are shipped. Use for rotate proxies, spread requests across proxies, avoid IP bans, retry through a different proxy, or proxy health check.

baronguyen001/ai-automation-skills

Parse an RSS 2.0 or Atom feed into normalized item dicts (title, link, id, published, summary) with the standard library only - no feedparser. Use when the user asks to read an RSS/Atom feed, poll a blog/news feed, extract feed entries, or watch a site that publishes a feed.

baronguyen001/ai-automation-skills

Upload and download run artifacts from S3-compatible storage with BYO bucket and credentials from env. Use when the user asks to store scraper output, archive reports, publish artifacts to object storage, fetch a prior run file, or use MinIO/R2/Spaces/S3 without hardcoding credentials.

baronguyen001/ai-automation-skills

Give scheduled scripts memory between runs with one SQLite file - a seen-set for dedup, a key/value cursor to resume where you left off, and order-preserving new-item filtering. Use for dedup across runs, don't re-alert the same item, remember the last id, resume a scraper, or persist state between cron runs.

相关技能