Ai Script Generation logo

Ai Script Generation

Community
FeiFei-AIDev
ai-script-generation

当用户需要创作小红书/抖音/视频号的短视频脚本时使用。生成30-40秒的AI教程短视频脚本,基于用户提供的主题(和可选的参考素材),结合爆款框架库和热点话题,一次性输出5个不同角度的脚本方案(干货效率型、痛点共鸣型、悬念反转型、对比冲击型、热点借势型)。适用场景:用户请求生成脚本、创作视频内容、需要多角度脚本方案、或想要小红书风格的短视频脚本 (project)

Overview

PublisherFeiFei-AIDev
Repositoryai-script-generation-skill
Skill nameai-script-generation
Stars
56
Forks
10
Bundled files
7
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by FeiFei-AIDev on GitHub. Read the source before you install it.

Installation

Install the Ai Script Generation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/FeiFei-AIDev/ai-script-generation-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FeiFei-AIDev/ai-script-generation-skill.git \
  .claude/skills/ai-script-generation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ai Script Generation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ai Script Generation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ai Script Generation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AI-script-generation

基于用户提供的参考素材和创作主题,结合框架库和热点话题,生成多角度、可直接拍摄的30-40秒短视频脚本。精通短视频内容结构、心理钩子设计,以及小红书平台的流量密码。

背景信息

  • 账号定位:AI教程、AI提效技巧
  • 目标受众:职场人士、各领域AI入门学习者
  • 视频时长:30-40秒(1分钟以内)
  • 内容调性:以干货专业风为主,同时探索其他风格(轻松吐槽、故事共情、悬念反转等)

Instructions

Step 1: 获取用户提供的参考素材和主题

首先,明确创作主题:

  • 如用户未明确提供主题,主动询问:"请告诉我你想创作的视频主题是什么?"
  • 提取用户想要创作的视频主题和核心内容

其次,询问是否有参考素材:

  • 如用户未主动提供参考素材,询问:"你有想参考的脚本或案例吗?如果有的话可以分享给我,我会分析其结构和亮点"
  • 从用户对话中提取以下信息:
    • 参考素材:用户提供的参考脚本、案例或示例(如有)
    • 特殊要求:用户指定的角度、风格或重点(如有)

如果用户提供了参考素材,分析以下要素:

  • 框架结构(开头钩子→痛点/价值→核心内容→收尾引导)
  • 心理触发点与心理学原理(好奇心缺口、损失厌恶、社会认同等)
  • 有效原因分析
  • 可复用的表达方式和句式

如果用户没有参考素材,直接进入下一步

Step 2: 匹配框架库

从框架库 .codex/skills/AI-script-generation/references/framework.md 中筛选适合本次创作的框架,考虑:

  • 与参考素材结构的契合度
  • 与创作主题和受众痛点的匹配度
  • 30-40秒时长的适配性

Step 3: 结合热点话题

从热点库 .codex/skills/AI-script-generation/references/hot.md 中提取近期热点话题,分析:

  • 哪些热点与创作主题可以结合
  • 热点的时效性和话题热度
  • 潜在的切入角度

Step 4: 生成5个多角度脚本

基于用户提供的主题和参考素材,生成5个不同角度的视频脚本,要求:

角度分配建议

  1. 干货效率型:直接输出实用技巧,节奏快、信息密度高
  2. 痛点共鸣型:从职场痛点切入,引发"说的就是我"的共鸣
  3. 悬念反转型:开头抛出反常识观点或悬念,结尾反转
  4. 对比冲击型:用before/after或新手vs高手的对比制造冲击
  5. 热点借势型:紧跟当前热点,自然植入AI技巧

每个脚本必须包含

【脚本标题】 吸引点击的标题(带数字/疑问/痛点关键词)

【核心卖点】 一句话说明这个脚本的核心价值

【使用框架】 标注采用了哪个框架结构

【结合热点】 标注结合了哪个热点(如有)

【心理钩子】 使用了哪些心理触发点

【完整脚本】 [开头钩子 3-5秒] 具体台词...

[痛点/价值 5-8秒] 具体台词...

[核心内容 15-25秒] 具体台词(分点呈现)...

[收尾引导 3-5秒] 具体台词...

【画面建议】 简要说明每段配合什么画面/素材

【预估时长】 精确到秒

【难度评估】 制作难度(低/中/高)+ 所需准备

Constraints

  1. 每个脚本总时长严格控制在30-45秒口播时长
  2. 语言风格:口语化、接地气,避免书面语和专业术语堆砌
  3. 开头5秒内必须有明确钩子,阻止划走
  4. 每个脚本的核心干货点不超过3个(信息过载会流失观众)
  5. 结尾必须有互动引导(点赞/收藏/评论/关注)
  6. 避免敏感词和违规内容

Output format

📊 分析摘要

维度提取内容
创作主题用户提供的主题
参考素材用户提供的参考内容(如有)
核心框架列出采用的框架
可用热点列出结合的热点(如有)
关键心理触发点列出主要使用的心理学原理

🎬 脚本1:[标题]

(按上述结构输出)

🎬 脚本2:[标题]

...

🎬 脚本3:[标题]

...

🎬 脚本4:[标题]

...

🎬 脚本5:[标题]

...

💡 创作建议

  • 推荐优先拍摄哪个脚本及原因
  • 素材准备清单
  • 可复用的万能句式

工作流程

  1. 确认创作主题:如用户未明确提供主题,主动询问"请告诉我你想创作的视频主题是什么?"
  2. 询问参考素材:如用户未主动提供参考素材,询问"你有想参考的脚本或案例吗?如果有的话可以分享给我,我会分析其结构和亮点"
  3. 分析参考素材:如用户提供了参考脚本或案例,分析其结构、心理触发点和有效原因
  4. 加载参考资源:读取框架库 framework.md 和热点库 hot.md,必要时参考 styles.md 和 triggers.md
  5. 生成脚本:基于主题和参考素材(如有),生成5个不同角度的视频脚本
  6. 输出结果:按输出格式组织,包含分析摘要、5个脚本和创作建议
  7. 保存脚本:将生成的脚本保存为Markdown文件
    • 如用户未指定保存位置,询问用户希望保存在哪里
    • 建议保存路径:skill 包外的工作目录(如 drafts/ 或用户指定的目录)
    • 文件命名格式:YYYYMMDD_脚本_主题.md(例如:20260120_脚本_Claude写代码.md)

Examples

示例1:用户提供主题"如何用Claude写代码",未提供参考素材

  • 基于主题,从5个角度生成脚本
  • 结合AI教程的常见框架结构
  • 应用心理触发点设计钩子

示例2:用户提供参考脚本和主题"AI提效技巧"

  • 分析参考脚本的结构和有效原因
  • 基于参考脚本的框架,结合新主题生成5个变体脚本
  • 保留参考脚本中的有效心理触发点

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ai Script Generation AI skill do?

当用户需要创作小红书/抖音/视频号的短视频脚本时使用。生成30-40秒的AI教程短视频脚本,基于用户提供的主题(和可选的参考素材),结合爆款框架库和热点话题,一次性输出5个不同角度的脚本方案(干货效率型、痛点共鸣型、悬念反转型、对比冲击型、热点借势型)。适用场景:用户请求生成脚本、创作视频内容、需要多角度脚本方案、或想要小红书风格的短视频脚本 (project)

Why use Ai Script Generation on TypingMind?

Because you install it once and use it with any model. Ai Script Generation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ai Script Generation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FeiFei-AIDev/ai-script-generation-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ai Script Generation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ai Script Generation?

As many as you like. As long as a model supports skills, you can use Ai Script Generation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ai Script Generation AI skill free?

It is published on GitHub by FeiFei-AIDev. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇