Agent skill

Webnovel Write

by lujih in lujih/webnovel-writer-opencode

“产出可发布章节,完整执行上下文→起草→审查→润色→提交→备份。”

— description from SKILL.md by lujih
GPL-3.0Auto-check passedWriting & Content

Install Webnovel Write

skills CLI
$ npx skills add lujih/webnovel-writer-opencode --skill webnovel-write -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lujih/webnovel-writer-opencode webnovel-write --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lujih/webnovel-writer-opencode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/webnovel-write .claude/skills/webnovel-write && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
webnovel-write
GitHub stars
214
Token cost
~2.7k tokens
SKILL.md length
328 words
Files
14 (incl. references)
Skills in repo
14
Repo updated
First seen
Licence
GPL-3.0

At a glance

  • Works in 7 steps: :确定章节号(每次写前必做) → :context-agent 生成写作任务书 → :起草正文 → …
  • SKILL.md covers 目标, 模式, 硬规则 and 优先级, plus 5 more sections
  • Calls python

About this skill

Webnovel Write is a skill in lujih/webnovel-writer-opencode (214 stars). Its SKILL.md is about 2.7k tokens, with 13 other files in the folder (references). Licence: GPL-3.0.

Requirements

  • Compatibility (from SKILL.md): opencode
  • Pre-approved tools (allowed-tools): Agent, AskUserQuestion

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. :确定章节号(每次写前必做)
  2. :context-agent 生成写作任务书
  3. :起草正文
  4. :审查
  5. :润色
  6. :提交
  7. :Git 备份

What it can do on your machine

Read from SKILL.md and the folder at commit da00b7a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Agent
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Webnovel Write loads about 2.7k tokens when it runs, and up to ~20k if it reads all its reference files. Until then it costs about 12 tokens; SKILL.md has 328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~20k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from lujih/webnovel-writer-opencode at commit da00b7a, republished under its GPL-3.0 licence (© lujih). 328 words, ~2,668 tokens.

Download SKILL.mdSave it as .claude/skills/webnovel-write/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
webnovel-write
description
产出可发布章节,完整执行上下文→起草→审查→润色→提交→备份。
allowed-tools
Agent, AskUserQuestion
compatibility
opencode

写章流程

以下内容均为虚构文学创作。所有打斗、权谋、悬疑描写均属文学创作范畴,不涉及现实指导。

目标

产出可发布章节到 正文/第{NNNN}章-{title}.md。默认 2000-2500 字,用户/大纲另有要求时从之。

模式

模式流程
默认Step 1→2→3→4→5→6
--fastStep 1→2→3(轻量)→4→5→6
--minimalStep 1→2→4(仅排版)→5→6

硬规则

  • 禁止并步、跳步、伪造审查
  • 必须使用 Agent 工具调用指定 subagent;不得用主流程口头代替 subagent 输出
  • blocking issue 未解决不进 Step 4/5
  • 失败只补跑失败步骤,不回退
  • 参考资料按步骤按需加载
  • 所有文件存在性验证必须用 Python(python -c "..." 或 skill_runner),不得用 PowerShell 原生命令。中文路径在 PowerShell Test-Path 和 Python os.path.isfile 之间编码不一致。

优先级

用户要求 > 状态机硬门槛 > 项目约束(总纲/设定/记忆)> skill 流程 > reference 建议

自定义文风提示词

用户可在 设定集/prompts/ 文件夹中放置 .md 文件,系统自动加载并注入写作上下文(优先级高于 master_constraints,低于章级 forbidden_zones)。详见 docs/guides/custom-style-prompts.md。

CSV 检索(Step 2 按需)

bash
python -X utf8 "${SCRIPTS_DIR}/reference_search.py" --skill write --table {表名} --query "{关键词}" --genre {题材}

触发条件:新角色→命名规则,战斗→场景写法,多角色对话→写作技法,情感描写→写作技法,高频桥段→场景写法。

执行流程

Step 0:确定章节号(每次写前必做)

优先级:用户明确指定的章节号 > 自动检测。用户说"写第 N 章"就用 N,不要覆盖。

不得依赖对话记忆或 state.json 的 current_chapter 字段。 章节文件是唯一真源。用户未指定章节号时,用 python -c 扫描 正文/ 目录找到最大章节号,下一章 = 最大+1。

准备:预检
bash
export SCRIPTS_DIR="${PWD}/.opencode/scripts"
export SKILL_ROOT="${PWD}/.opencode/skills/webnovel-write"
test -d "${SCRIPTS_DIR}" || { echo "错误: 未找到 ${SCRIPTS_DIR}"; exit 1; }
export PYTHONUTF8=1
export PROJECT_ROOT="$(python -X utf8 "${SCRIPTS_DIR}/webnovel.py" where)"
export PROJECT_ROOT="${PROJECT_ROOT//\\//}"
test -n "$PROJECT_ROOT" && test -f "${PROJECT_ROOT}/.webnovel/state.json" || { echo "错误: PROJECT_ROOT 解析失败"; exit 1; }
echo "✅ PROJECT_ROOT=${PROJECT_ROOT}"
# 并行执行 preflight 和 placeholder-scan
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" preflight &
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" placeholder-scan --format text &
wait
准备:刷新合同树

genre 从 .webnovel/state.json 的初始化配置快照读取,用于刷新合同树;写前主链真源仍是 .story-system/ 合同。调用 story-system 前必须先从详细大纲解析真实本章目标,禁止传 {章纲目标}、第N章章纲目标 等占位 query。

bash
# 用 skill_runner 传递 CJK,genre 自动从 state.json 读取,goal 从 stdin 传入
# skill_runner 内部调用 story_system.py --persist --emit-runtime-contracts --format both
echo "${CHAPTER_GOAL}" | python -X utf8 "${SCRIPTS_DIR}/skill_runner.py" story-system \
  --project-root "${PROJECT_ROOT}" --chapter {chapter_num}
if [ $? -ne 0 ]; then
  echo "❌ story-system 合同刷新失败,阻断流程"
  exit 1
fi

必备文件:MASTER_SETTING.json(调性/禁忌)、volume_{NNN}.json(卷级节奏)、chapter_{NNN}.review.json(必须节点/禁区)。缺失则阻断。

chapter_{NNN}.json 必须优先检查顶层 chapter_directive。chapter_focus 只能来自 chapter_directive.goal 或真实 query,不得从 dynamic_context 的参考摘要继承。

写作任务书排序必须固定为:

  1. 本章硬性约束:chapter_directive.goal/time_anchor/chapter_span/countdown/chapter_end_open_question
  2. CBN/CPNs/CEN 与 must_cover_nodes
  3. 本章禁区:forbidden_zones,违反即不通过
  4. 风格指引:reasoning、主角卡 OOC 警戒、anti_patterns
  5. 场景写法补充:dynamic_context,仅作风格参考,不能覆盖章纲约束
准备:结构自检

从章纲提取 intended_strand,运行结构自检。blocking 未通过则阻断流程。

bash
INTENDED_STRAND="$(python -X utf8 -c "
import json, sys
state = json.load(open('${PROJECT_ROOT}/.webnovel/state.json','r',encoding='utf-8'))
chapters = state.get('strand_tracker',{}).get('history',[])
for entry in reversed(chapters):
    if isinstance(entry, dict) and entry.get('intended_strand'):
        print(entry['intended_strand'])
        break
")"
python -X utf8 "${SCRIPTS_DIR}/skill_runner.py" check-structural \
  --project-root "${PROJECT_ROOT}" --chapter {chapter_num} \
  --intended-strand "${INTENDED_STRAND:-quest}" --format json \
  --output "${PROJECT_ROOT}/.webnovel/tmp/structural_check.json"
Step 1:context-agent 生成写作任务书

必须使用 Agent 工具调用 context-agent,不得由主流程自行整理任务书。

text
Agent(
  subagent_type: "context-agent",
  prompt: "chapter={chapter_num}; project_root=${PROJECT_ROOT}; scripts_dir=${SCRIPTS_DIR}; storage_path=${PROJECT_ROOT}/.webnovel; state_file=${PROJECT_ROOT}/.webnovel/state.json(projection/read-model,仅兼容读取)。先 research,再按 本章硬性约束→CBN/CPNs/CEN→本章禁区→风格指引→dynamic_context补充参考 的顺序输出五段写作任务书。"
)

产物:一份写作任务书,能独立支撑 Step 2 起草。

bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  workflow checkpoint --chapter {chapter_num} --stage PLANNING
Step 2:起草正文

必须使用 Agent 工具调用 chapter-writer-agent,不得由主流程自行起草。

text
Agent(
  subagent_type: "chapter-writer-agent",
  prompt: "project_root=${PROJECT_ROOT}; scripts_dir=${SCRIPTS_DIR}; chapter={chapter_num}。根据 Step 1 产出的写作任务书起草正文。使用 chapter-path CLI 确定输出路径,写入正文文件。"
)
bash
# 不依赖 Agent 返回文本,直接校验章节文件
CHAPTER_PATH=$(python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" chapter-path --chapter {chapter_num})
test -s "${PROJECT_ROOT}/${CHAPTER_PATH}" || { echo "❌ 章节文件未生成或为空"; exit 1; }
bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  workflow checkpoint --chapter {chapter_num} --stage DRAFTING
Step 3:审查

必须使用 Agent 工具调用 reviewer,不得由主流程伪造审查 JSON。

text
Agent(
  subagent_type: "reviewer",
  prompt: "chapter={chapter_num}; chapter_file=${CHAPTER_FILE}; project_root=${PROJECT_ROOT}; scripts_dir=${SCRIPTS_DIR}; REVIEW_OUTPUT=${PROJECT_ROOT}/.webnovel/tmp/review_results.json。

【自检系统状态 - 审查时需额外关注】
{从 CHECK_RESULT 中提取 passed=false 的 warning 条目,转为自然语言提醒。blocking 已被阻断,只会出现 warning。用 python -c 提取:}

$(echo "$CHECK_RESULT" | python -c "
import json,sys
d=json.load(sys.stdin)
warnings=[c for c in d['checks'] if c['severity']=='warning' and not c['passed']]
if warnings:
    for w in warnings:
        print(f'- {w[\"name\"]}: {w[\"detail\"]}')
else:
    print('(无异常)')
")

严格输出 reviewer schema JSON,并保存到 ${PROJECT_ROOT}/.webnovel/tmp/review_results.json。"
)
bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" review-pipeline \
  --chapter {chapter_num} \
  --review-results "${PROJECT_ROOT}/.webnovel/tmp/review_results.json" \
  --metrics-out "${PROJECT_ROOT}/.webnovel/tmp/review_metrics.json" \
  --report-file "审查报告/第{chapter_num}章审查报告.md" \
  --save-metrics

blocking=true → 修复后重审,不进 Step 4。--fast 只检查 setting/timeline/continuity。--minimal 跳过。

修复-重审循环(最多 2 轮)

审查发现 blocking issue 时,执行以下循环,最多 2 轮。目标是 1 轮内找全并修完所有问题。

每轮流程:

  1. 调用 chapter-writer-agent 修复 blocking issue 列表
  2. 修复后自查(检查 evidence 是否仍存在)——脚本见 references/self-check-evidence.md
  3. 自查通过 → 跳过重审,直接进 Step 4
  4. 自查未通过 → 重新调用 reviewer-agent 重审
  5. 2 轮后仍有 blocking → AskUserQuestion 三选一

AskUserQuestion 选项:

  • 接受当前版本:清除 blocking(脚本见 references/self-check-evidence.md),进 Step 4
  • 手动修复:停止流程,用户修改后重新运行
  • 放弃本章:停止流程,不生成正文
bash
# 校验审查结果文件
test -s "${PROJECT_ROOT}/.webnovel/tmp/review_results.json" || { echo "❌ 审查结果未生成"; exit 1; }
bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  workflow checkpoint --chapter {chapter_num} --stage REVIEWING
Step 4:润色

加载 polish-guide.md、typesetting.md、style-adapter.md。

顺序:修复非 blocking issue → 风格适配 → 排版 → Anti-AI 终检。

只改表达不改事实。anti_ai_force_check=fail 时不进 Step 5。--minimal 仅排版。

bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  workflow checkpoint --chapter {chapter_num} --stage REVISING
Step 5:提交
5.1 事实提取与校验
bash
# 清空旧 tmp 文件,保留 review_results.json(chapter-commit 仍需)
python -X utf8 "${SCRIPTS_DIR}/skill_runner.py" clean-tmp --project-root "${PROJECT_ROOT}" --keep review_results.json
5.1a Observer:自由提取

必须使用 Agent 工具调用 observer-agent,产出自由文本 raw_facts.txt。

text
Agent(
  subagent_type: "observer-agent",
  prompt: "project_root={PROJECT_ROOT}; chapter={chapter_num}; chapter_file={CHAPTER_FILE}。输出 raw_facts 到 {PROJECT_ROOT}/.webnovel/runtime/chapter-{chapter_num}.raw_facts.txt。"
)

产物:{PROJECT_ROOT}/.webnovel/runtime/chapter-{chapter_num}.raw_facts.txt

5.1b Settler:Schema 校验落盘
bash
python -X utf8 "${SCRIPTS_DIR}/data_modules/observer_settler.py" \
  --raw-facts "${PROJECT_ROOT}/.webnovel/runtime/chapter-{chapter_num}.raw_facts.txt" \
  --project-root "${PROJECT_ROOT}" \
  --chapter {chapter_num} \
  --output "${PROJECT_ROOT}/.webnovel/tmp/extraction_result.json"

产物:{PROJECT_ROOT}/.webnovel/tmp/extraction_result.json

5.1c Data Agent:契约校验与消歧

必须使用 Agent 工具调用 data-agent。data-agent 不再提取事实——仅做大纲履约对比和实体消歧。

text
Agent(
  subagent_type: "data-agent",
  prompt: "project_root={PROJECT_ROOT}; chapter={chapter_num}。extraction_result 已由 settler 生成在 {PROJECT_ROOT}/.webnovel/tmp/extraction_result.json。只产出 fulfillment_result.json 和 disambiguation_result.json。不重新提取事实。"
)
bash
# 验证 data-agent 输出文件
for f in fulfillment_result.json disambiguation_result.json extraction_result.json; do
  FP="${PROJECT_ROOT}/.webnovel/tmp/${f}"
  if [ ! -s "$FP" ]; then
    echo "❌ data-agent 输出缺失: $f"
    exit 1
  fi
done

产物:fulfillment_result.json + disambiguation_result.json

5.2 CHAPTER_COMMIT
bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" chapter-commit \
  --chapter {chapter_num} \
  --review-result "${PROJECT_ROOT}/.webnovel/tmp/review_results.json" \
  --fulfillment-result "${PROJECT_ROOT}/.webnovel/tmp/fulfillment_result.json" \
  --disambiguation-result "${PROJECT_ROOT}/.webnovel/tmp/disambiguation_result.json" \
  --extraction-result "${PROJECT_ROOT}/.webnovel/tmp/extraction_result.json"

自动判定:blocking_count>0 或 missed_nodes 非空 或 pending 非空 → rejected,否则 accepted。

5.3 验证投影

projection_status 五项(state/index/summary/memory/vector)全部 done 或 skipped。

chapter_status 由 projection writer 自动推进:accepted→committed,rejected→rejected。

5.4 失败隔离

commit 未生成→重跑 5.2。projection 失败→只补跑失败项。不回退 Step 1-4。

5.5 写后校验
bash
python -X utf8 "${SCRIPTS_DIR}/skill_runner.py" verify-chapter-files \
  --project-root "${PROJECT_ROOT}" --chapter {chapter_num} \
  || { echo "❌ 写后校验失败"; exit 1; }

# 校验投影与事件日志一致性
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  ssot verify
Step 6:Git 备份
bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" backup \
  --chapter {chapter_num} \
  --chapter-title "{title}"

备份必须以解析后的 PROJECT_ROOT 为准,禁止从工作区父目录执行裸全量 Git add,避免把书项目仓库作为父仓库的嵌入仓库/submodule 加入。

充分性闸门

  1. 正文文件存在且非空
  2. 审查已落库(--minimal 除外)
  3. blocking=true 必须停在 Step 3
  4. anti_ai_force_check=pass(--minimal 除外)
  5. accepted CHAPTER_COMMIT,projection 五项 done/skipped
  6. chapter_status=committed(projection 自动推进)

失败恢复

审查缺失→重跑 Step 3。摘要/状态/记忆缺失→重跑 Step 5。润色失真→回 Step 4 修复后重跑 Step 5。

© lujih, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (references) in .opencode/skills/webnovel-write of lujih/webnovel-writer-opencode.

  • SKILL.md
  • evals/evals.json
  • references/anti-ai-guide.md
  • references/polish-guide.md
  • references/self-check-evidence.md
  • references/style-adapter.md
  • references/style-variants.md
  • references/writing/combat-scenes.md
  • references/writing/desire-description.md
  • references/writing/dialogue-writing.md
  • references/writing/emotion-psychology.md
  • references/writing/genre-hook-payoff-library.md
  • references/writing/scene-description.md
  • references/writing/typesetting.md

Open the folder on GitHubat commit da00b7a

Compare with similar skills

Webnovel Write next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Webnovel Write compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Webnovel Write this skilllujih/webnovel-writer-opencode214—~2.7kAutomated safety check: PassGPL-3.0
Release Postquarto-dev/quarto-r1601 repos~2.5kAutomated safety check: PassMIT
China Travel Kittczyliu/china-travel-kit194—~1.3kAutomated safety check: PassMIT
Ghostwritersuperzhang21/ghostwriter302—~759Automated safety check: PassCC-BY-NC-ND-4.0
Sloptrimseyedehsanhadi/sloptrim213—~5.2kAutomated safety check: NotesApache-2.0
Technology Searchfreestylefly/wesight943—~3.3kAutomated safety check: PassMIT

Similar skills

  • Release Post

    quarto-dev/quarto-r

    Create professional package release blog posts following Tidyverse or Shiny blog conventions.

    160 GitHub starsUsed in 1 repo~2.5k tokens
    Writing & ContentAuto-check passed
  • China Travel Kit

    tczyliu/china-travel-kit

    Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.

    194 GitHub stars~1.3k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Ghostwriter

    superzhang21/ghostwriter

    A skill your agent uses when switching AI persona/language style.

    302 GitHub stars~759 tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Sloptrim

    seyedehsanhadi/sloptrim

    A skill your agent uses when the user wants to humanize text, trim slop, de-AI or de-slop writing, remove AI tells, fix robotic or ChatGPT-sounding prose, or make writing sound human and natural.

    213 GitHub stars~5.2k tokensUpdated 3 days ago
    Writing & ContentAuto-check: notes
  • Technology Search

    freestylefly/wesight

    Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.

    943 GitHub stars~3.3k tokensUpdated 7 days ago
    Writing & ContentAuto-check passed
  • Translate Po

    python/python-docs-zh-tw

    Official

    Translates PO file entries from English to Traditional Chinese (zhTW) following project conventions.

    284 GitHub stars~793 tokensUpdated 3 days ago
    Writing & ContentAuto-check passed

More from lujih/webnovel-writer-opencode

All 14 skills in this repo
  • Webnovel Init

    lujih/webnovel-writer-opencode

    深度初始化网文项目。通过分阶段交互收集完整创作信息,生成可直接进入规划与写作的项目骨架与约束文件. An agent skill from lujih/webnovel-writer-opencode.

    214 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Webnovel Query

    lujih/webnovel-writer-opencode

    查询项目设定、角色、力量体系、势力、伏笔等信息。支持紧急度分析与金手指状态查询. An agent skill from lujih/webnovel-writer-opencode.

    214 GitHub stars~846 tokensUpdated 2 days ago
    Auto-check passed
  • Webnovel Write Batch

    lujih/webnovel-writer-opencode

    连续写作多章。当用户要求多章写作时必须使用此 skill. An agent skill from lujih/webnovel-writer-opencode.

    214 GitHub stars~3.8k tokensUpdated 2 days ago
    Auto-check passed
  • Webnovel Export

    lujih/webnovel-writer-opencode

    将网文正文导出为 Markdown/TXT/EPUB/HTML/DOCX/PDF 格式。立即使用此 skill 当用户说:导出、导出小说、导出章节、生成电子书、导出 TXT、导出 Markdown、导出 EPUB、导出 HTML、导出 Word、导出 PDF、下载小说、输出正文。

    214 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Webnovel Heal

    lujih/webnovel-writer-opencode

    修复问题章节——诊断、清理脏实体、重审查、重提交。触发:章节断裂、OOC偏离、设定矛盾修复. An agent skill from lujih/webnovel-writer-opencode.

    214 GitHub stars~524 tokensUpdated 2 days ago
    Auto-check passed
  • Webnovel Publish

    lujih/webnovel-writer-opencode

    将小说章节自动发布到国内主流小说平台(番茄等)。触发条件:"发布小说"、"发布章节"、"上传到番茄"、"自动发布"、"清理草稿"、"发布草稿"。

    214 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Webnovel Write

How do I install Webnovel Write in Claude Code?

Run `npx skills add lujih/webnovel-writer-opencode --skill webnovel-write -a claude-code`. Or copy the skill folder (.opencode/skills/webnovel-write in lujih/webnovel-writer-opencode) into .claude/skills/webnovel-write in your project. Claude Code loads it when a task matches its description.

How do I install Webnovel Write in Codex?

Run `npx skills add lujih/webnovel-writer-opencode --skill webnovel-write -a codex`. Or copy the skill folder (.opencode/skills/webnovel-write in lujih/webnovel-writer-opencode) into .agents/skills/webnovel-write in your project. Codex loads it when a task matches its description.

Can I use Webnovel Write in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lujih/webnovel-writer-opencode --skill webnovel-write -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/webnovel-write, .gemini/skills/webnovel-write, .github/skills/webnovel-write and .opencode/skills/webnovel-write in your project.

What does Webnovel Write need to run?

Going by SKILL.md and its folder, Webnovel Write needs the command-line tools its instructions call (python). Its frontmatter pre-approves these tools: Agent, AskUserQuestion. Compatibility (from SKILL.md): opencode.

Does Webnovel Write access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Webnovel Write safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Webnovel Write use?

Webnovel Write is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Webnovel Write use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 18k tokens, read only when the agent opens those files.

What are the alternatives to Webnovel Write?

Skills that share tags, products or a category with Webnovel Write: Release Post (quarto-dev/quarto-r, 160 stars), China Travel Kit (tczyliu/china-travel-kit, 194 stars), Ghostwriter (superzhang21/ghostwriter, 302 stars) and Sloptrim (seyedehsanhadi/sloptrim, 213 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Webnovel Write?

lujih (a GitHub user) maintains it in lujih/webnovel-writer-opencode, which has 214 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.

Source: lujih/webnovel-writer-opencode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.