Csg Mode4 Batch logo

Csg Mode4 Batch

Community
AveQY
csg-mode4-batch

批量生成多个独立漫画项目,自动抓取热点话题,循环创建项目骨架、生成脚本、验证。支持 batch_generate.py 驱动。

Overview

PublisherAveQY
Repositorycomic-script-generator
Skill namecsg-mode4-batch
Stars
20
Forks
1
Bundled files
Instructions only
LicenseMIT
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AveQY on GitHub. Read the source before you install it.

Installation

Install the Csg Mode4 Batch 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/AveQY/comic-script-generator/tree/main/skills/csg-mode4-batch
  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/AveQY/comic-script-generator.git /tmp/comic-script-generator
mkdir -p .claude/skills
cp -r /tmp/comic-script-generator/skills/csg-mode4-batch .claude/skills/csg-mode4-batch
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Csg Mode4 Batch 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 Csg Mode4 Batch 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 Csg Mode4 Batch 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.

模式四:批量生成(热点驱动)

触发条件:用户明确要求"批量生成"或指定了故事数量。

前置选择(只选一次):

  • 分镜密度模式:A / B / C(后续所有项目统一遵循)
  • 每集集数:默认 5 集
  • AI 绘图风格:可选
  • 自动模式:--auto 参数表示全自动,不加则每完成一个项目暂停等待用户确认

执行流程:

  1. 抓取热点(只执行一次)

    • 调用 fetch_baidu_hotspots() 获取百度热搜
    • 如果抓取失败,回退到 fallback_hot_topics() 用 LLM 生成候选话题
    • 过滤掉时政、灾难、暴力等不适合漫画的内容
  2. 循环生成(独立项目,不保留上下文)

    • 从候选话题中轮流选择(避免重复)
    • 每个项目: a. 调用 init_project.py 创建独立项目骨架和 style_guide.md b. 调用 LLM 生成大纲 + Page/Panel 格式的分集漫画脚本 c. 运行 update_project.py 自动更新项目文件 d. 运行 validate_episode.py + consistency_check.py 验证 e. 保存汇总结果,清空上下文,继续下一个
    • 脚本通过 batch_generate.py 驱动,不依赖 Hermes 会话记忆
  3. 输出汇总

    • 控制台输出每个项目的状态(✓ / ⚠ / ✗)
    • 生成 batch_report_YYYYMMDD_HHMMSS.json 报告文件

运行命令:

bash
python scripts/batch_generate.py --count 5 --mode B --auto
python scripts/batch_generate.py --count 3 --mode C --episodes 4 --art-style "宫崎骏风格"
python scripts/batch_generate.py -n 2 -m A -o ./my-comics

参数说明:

参数说明默认值
--count / -n生成故事数量(必填)—
--mode / -m分镜密度 A/B/CB
--episodes / -e每故事集数5
--output / -o输出目录~/comic-projects
--art-style / -aAI 绘图风格描述,支持预设 key 或自定义描述japanese-modern
--auto全自动模式,不暂停确认false

设计要点:

  • 每个项目完全独立,生成完成后不保留 LLM 上下文
  • 热点话题只抓取一次,轮换使用
  • 失败的项目跳过并记录,不影响其他项目
  • 验证不通过标记为 WARN 而非终止

Frequently asked questions

What does the Csg Mode4 Batch AI skill do?

批量生成多个独立漫画项目,自动抓取热点话题,循环创建项目骨架、生成脚本、验证。支持 batch_generate.py 驱动。

Why use Csg Mode4 Batch on TypingMind?

Because you install it once and use it with any model. Csg Mode4 Batch 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 Csg Mode4 Batch in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AveQY/comic-script-generator/tree/main/skills/csg-mode4-batch. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Csg Mode4 Batch?

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 Csg Mode4 Batch?

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

Is the Csg Mode4 Batch AI skill free?

Yes. It is published on GitHub by AveQY under the MIT license. 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 👇