Story Publish logo

Story Publish

Community
qin1473692580-ux
story-publish

把已经定稿并通过发布检查的小说章节交给项目已登记的平台发布适配器,支持只读预览/预检、登录、存草稿、修改、立即发布和排期发布。当用户说‘发到番茄’‘自动发布’‘存草稿’‘更新平台章节’时使用;不负责写正文或生成发布文案。

Overview

Publisherqin1473692580-ux
Repositoryoh-story-claudecode
Skill namestory-publish
Stars
70
Forks
16
Bundled files
4
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.

  • 4 bundled files

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

  • Open source

    Published by qin1473692580-ux on GitHub. Read the source before you install it.

Installation

Install the Story Publish 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/qin1473692580-ux/oh-story-claudecode/tree/main/skills/story-publish
  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/qin1473692580-ux/oh-story-claudecode.git /tmp/oh-story-claudecode
mkdir -p .claude/skills
cp -r /tmp/oh-story-claudecode/skills/story-publish .claude/skills/story-publish
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Story Publish 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 Story Publish 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 Story Publish 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.

Story Publish

把已批准的本地章节交给项目登记的发布适配器。发布材料由 story-release-package 准备;本 Skill 只负责平台交付,二者权限分离。

权限边界

  • “继续写”“定稿”“准备发布”都不授权远程写入;只有用户明确要求登录、存草稿、修改、立即发布或排期发布时才执行对应动作。
  • 预览只读本地;preflight、books 只读平台;draft 会写远程草稿;edit、publish、schedule 会修改正式平台状态。
  • 不读取、不复制、不输出 Cookie、密码或浏览器存储。登录态只由项目登记的本地适配器管理。
  • 不直接调用原始 GUI 或绕过项目级防重包装器。不得用 shell 拼接用户参数。
  • 当前内置的是通用适配层,不是番茄 MCP;平台能力由项目本地适配器提供。

前置门禁

  1. 目标章节必须已经定稿,且正文哈希仍与最新发布审查/清单一致;候选章不得发布。
  2. 长篇项目的 tracking、revision 与 story doctor 门必须无未闭环阻断项。
  3. 项目根存在 .story-publish.json,且 status 能确认适配器与解释器均存在。
  4. 先 preview,再 preflight;任一目标章号或标题已存在时,新建发布必须中止。已有章节只能走明确的 edit。
  5. 远程写入前向用户复述平台、作品、章节范围、动作、AI申报和排期;范围或动作改变后重新确认。

执行入口

从当前 Skill 目录定位 scripts/publish_bridge.py,按项目统一方式探测解释器:for PYBIN in python3 python py; do "$PYBIN" -c "" 2>/dev/null && break; done。没有可用解释器时停止,不猜命令;探测成功后把当前项目根传给 --project-root:

  • 查看关联:"$PYBIN" publish_bridge.py --project-root <项目根> status
  • 关联番茄适配器:"$PYBIN" publish_bridge.py --project-root <项目根> configure fanqie --adapter <project_publish.py> --python <适配器虚拟环境Python>
  • 运行只读动作:"$PYBIN" publish_bridge.py --project-root <项目根> run fanqie preview --chapters 109
  • 存草稿:在用户明确确认后增加 --confirm-remote-draft;该桥接确认参数不会传给下游。
  • 正式修改/发布/排期:必须把下游要求的 --confirm-live 与 --ai-declaration yes|no 原样传入;不得代替用户猜测申报。

具体配置结构、动作分级和失败语义见 references/adapter-contract.md。

结果回执

  • 始终报告实际执行动作、适配器退出码和成功/失败章节;不能把“已启动”“已点击”写成“已发布”。
  • 正式发布或修改后,调用适配器 preflight/平台回读能力确认目标状态;无法回读时报告 REMOTE_STATE_UNVERIFIED,不自动重试写入。
  • 失败后不得自动重复 draft/edit/publish/schedule。先只读查询远端状态,再由用户决定是否重试。

禁止事项

  • 不把本书 Book ID、书名、章节目录、账号路径或机器绝对路径写进本 Skill。
  • 不把 .story-publish.json、Cookie、认证状态或平台响应原文打进发布包。
  • 不因用户授权了一次发布而扩大到其他作品、其他章节或后续自动日更。
  • 不在验证码、MFA、协议确认或平台风控页面自动代替用户操作。

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 Story Publish AI skill do?

把已经定稿并通过发布检查的小说章节交给项目已登记的平台发布适配器,支持只读预览/预检、登录、存草稿、修改、立即发布和排期发布。当用户说‘发到番茄’‘自动发布’‘存草稿’‘更新平台章节’时使用;不负责写正文或生成发布文案。

Why use Story Publish on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/qin1473692580-ux/oh-story-claudecode/tree/main/skills/story-publish. 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 Story Publish?

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 Story Publish?

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

Is the Story Publish AI skill free?

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