Ah Gemini Script Polisher logo

Ah Gemini Script Polisher

Community
ahang008
ah-gemini-script-polisher

使用 Gemini 润色或创作中文口播稿,保留作者事实、观点和表达。用于用户要求 Gemini 写口播稿、让 Flash 润色、把 Codex 上下文交给 Gemini 写作、调用口播写作桥,或讨论此桥的架构。普通口播写作未指定 Gemini、通用 Gemini 研究和应用代码架构不触发。

Overview

Publisherahang008
Repositoryah-skills
Skill nameah-gemini-script-polisher
Stars
58
Forks
4
Bundled files
5
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.

  • 5 bundled files

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

  • Open source

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

Installation

Install the Ah Gemini Script Polisher 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/ahang008/ah-skills/tree/main/skills/ah-gemini-script-polisher
  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/ahang008/ah-skills.git /tmp/ah-skills
mkdir -p .claude/skills
cp -r /tmp/ah-skills/skills/ah-gemini-script-polisher .claude/skills/ah-gemini-script-polisher
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ah Gemini Script Polisher 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 Ah Gemini Script Polisher 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 Ah Gemini Script Polisher 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.

Gemini 口播稿润色桥

Codex 负责知道作者要说什么,Gemini 负责把它说得顺口。审核修正事实和原意,不把已经通过的稿件重写成 Codex 的语气。

工作流

1. 整理相关上下文

读取 写作包模板,从当前任务提取主题、受众、目的、长度、原稿、已确认事实、锁定原话和必要的风格片段。历史资料只查与本稿直接相关的部分;当次指令优先于旧稿和历史偏好。

有原稿时默认润色。有明确选题和充分素材但没有原稿时,用观点提纲和原始表达请求成稿;不要为走流程先造一篇完整初稿。已有写作规则按当前内容类型提炼,不给所有稿件强套同一结构。关键事实确实缺失时集中补问一次,不让 Gemini 编故事填空。

2. 选择模式和发送

执行 官网桥接操作。写作和润色选择 3.8 Flash;讨论此桥的架构选择 Pro。发送前核对页面可见的用户指定账号、实际模型和输入框全文。账号只在会话中核对,不保存到 skill、稿件和运行文件。

写作使用独立对话,同一任务的继续和修订复用原对话。只发送最小写作包,不发送整段历史、整个知识库、账号资料或敏感素材。既有授权支持当前普通稿件交给 Gemini;授权不能扩张为上传其他私人文件。

3. 等待和继续

  • 先按实际任务类型判断。以下 5 分钟规则用于普通写作、润色和短架构答复;用户已授权的 Deep Research 等长任务按独立规则等待,不因本 skill 自动启用深度研究。
  • 普通答复无正文响应时最多等待 5 分钟,即 300 秒;每次等待分成不超过 60 秒的短段,工作期间持续简短汇报。
  • 正文持续增长时继续读取。正文停滞后从最后一次增长重新计时;动画、状态文字、思考提示和轮询次数不算正文增长。
  • 无进展满 300 秒且结果仍未完整,就在同一对话发送一次精确的“继续”。界面正在生成且不能发送时,此时才停止,核对已停止,再发“继续”。
  • 继续后最多再等待一个 300 秒无进展窗口;仍无响应就保留现场并报告阻塞,避免无限重复发送。用户新的继续指令可开启下一轮。
  • 原始请求提交状态不确定时先回读原对话,不重发写作包。继续的提交状态不确定时只核对是否已有对应消息,不再点发送。

Deep Research 页面明确显示研究仍在进行时,即使尚无最终报告或 5 分钟没有新正文,也继续等待。允许等待超过 20 分钟,不把 20 分钟设成硬上限,不因普通答复的 300 秒规则停止研究或发送“继续”。每次等待仍分成不超过 60 秒的短段,并根据实际研究状态汇报。研究完成后读取完整报告,再核对建议;明确失败、取消或等待用户操作时按对应状态处理,不能把活动动画当成最终报告。

4. 提取完整正文

读取当前 Gemini 回答的真实文本,保留原始回答。写作返回应含本次 task_id、revision、正文首尾标识和最终完成标识。仅在生成已结束且当前回答完整时执行:

text
python3 <skill目录>/scripts/check_response.py --response <Gemini原始回答文件> --task-id <本次ID> --revision 1 --out <纯正文文件>

需要精确字数时加 --min-chars 和 --max-chars;计数为去除空白后的字符数。该脚本只检查响应边界和长度,不判断事实真伪、风格或实际模型。未通过时不把局部内容拼成完整稿。

5. 核对和交付

逐项对照写作包,检查主体、数字及单位、时间、否定、因果、承诺和证据边界;再检查观点、锁定原话、段落衔接和口播可读性。语言更顺不应把“尝试”写成“已经成功”,也不应把个人体验写成普遍事实。

没有具体缺陷就交付 Gemini 原文。发现缺陷时列明原句、事实依据和改法,在原对话给一次定点修订,增加 revision 并要求返回完整正文;每次修订沿用同样的 5 分钟规则。仍不合格则交付可用草稿并说明未通过项,不伪称定稿。

硬约束

  • 未实际读取 Gemini 返回正文,不得声称 Gemini 已写作、润色或评审。
  • 不把 Flash-Lite 冒称 3.8 Flash,不把自动降级的回答记成 Pro。目标模型不可用时报告,不擅自切换。
  • 作者原意优先于修辞;不新增未经输入支持的经历、案例、数据、情绪或因果。
  • 保留普通口语、适度重复和作者已经认可的表达,只修有证据的具体问题。
  • 不保存密钥、账号、敏感值,不修改现有写作 skill,不自动发布或发送成稿。

输出格式

先给可直接念的完整口播正文,再简述必要修改、事实缺口、实际模型、是否发送继续和验收状态。模型身份只能记录页面可见标签与降级提示,不能由模型自述推断。

用户要求落盘时按指定任务目录连续编号保存;非 Markdown 原始响应和验证数据放工具目录。区分 草稿已返回、完整性通过、事实审核通过、用户认可。首版为试用版本,跑通一次不代表稳定提升写作效果。

已遇到的故障

实际情况处理
中文输入“继续”被改变成其他字符发送前全文回读,用文档支持的替代输入修正后再发
Flash 将半篇稿和另一版完整稿拼在一起,第二个开始标识紧贴中文检查所有标识出现位置,拒绝拼接正文,定点请求一篇完整新版本

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 Ah Gemini Script Polisher AI skill do?

使用 Gemini 润色或创作中文口播稿,保留作者事实、观点和表达。用于用户要求 Gemini 写口播稿、让 Flash 润色、把 Codex 上下文交给 Gemini 写作、调用口播写作桥,或讨论此桥的架构。普通口播写作未指定 Gemini、通用 Gemini 研究和应用代码架构不触发。

Why use Ah Gemini Script Polisher on TypingMind?

Because you install it once and use it with any model. Ah Gemini Script Polisher 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 Ah Gemini Script Polisher in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ahang008/ah-skills/tree/main/skills/ah-gemini-script-polisher. 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 Ah Gemini Script Polisher?

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 Ah Gemini Script Polisher?

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

Is the Ah Gemini Script Polisher AI skill free?

It is published on GitHub by ahang008. 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 👇