Agent skill

Webnovel Heal

by lujih in lujih/webnovel-writer-opencode

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

GPL-3.0Auto-check passedWriting & Content

Install Webnovel Heal

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

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

GitHub CLI
$ gh skill install lujih/webnovel-writer-opencode webnovel-heal --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-heal .claude/skills/webnovel-heal && 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-heal
GitHub stars
215
Token cost
~524 tokens
SKILL.md length
45 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
GPL-3.0

At a glance

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

  • Works in 5 steps: :诊断 → :清理脏实体 → :修复指定章节 → …
  • Writing & Content work in your project
  • SKILL.md covers 目标, 硬规则, 执行流程 and 注意事项
  • Calls python

What it does

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

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Writing & Content. The repository describes itself as: 本项目是基于webnovel-writer 改编的 OpenCode 版本,目标是让用户在OpenCode 使用长篇网文创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200 万字量级 连载创作。 The licence is GPL-3.0.

When your agent uses it

  • Writing & Content work in your project

Example prompts

  • “/webnovel-heal”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): opencode

Workflow steps

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

  1. :诊断
  2. :清理脏实体
  3. :修复指定章节
  4. :批量修复
  5. :验证

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    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 Heal loads about 524 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 45 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~524

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 0a99e34, republished under its GPL-3.0 licence (© lujih). 45 words, ~524 tokens.

Download SKILL.mdSave it as .claude/skills/webnovel-heal/SKILL.md (or your agent's skills folder).
name
webnovel-heal
description
修复问题章节——诊断、清理脏实体、重审查、重提交。触发:章节断裂、OOC偏离、设定矛盾修复。
compatibility
opencode

章节修复

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

目标

诊断并修复问题章节。适用于连续性断裂、OOC 偏离、设定矛盾等场景。非破坏性操作——保留原章节文件,仅重跑审查+提交链。

硬规则

  • 先诊断后修复:必须先 workflow status 和 ssot verify 了解全貌
  • 修复前确认已备份(webnovel backup)
  • heal 模式只重审查+重提交,不重写正文
  • 若正文本身有问题,使用 webnovel-rewrite 而非 heal

执行流程

Step 1:诊断
bash
export SCRIPTS_DIR="${PWD}/.opencode/scripts"
export PROJECT_ROOT="$(python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PWD}" where)"
test -n "$PROJECT_ROOT" && test -f "${PROJECT_ROOT}/.webnovel/state.json" || { echo "❌ PROJECT_ROOT 解析失败"; exit 1; }

# 全局健康扫描
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" status --focus all

# 工作流状态
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" workflow status

# 查找中断未完成的章节
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" workflow interrupted

# SSOT 一致性
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" ssot verify
Step 2:清理脏实体
bash
# 扫描脏实体(dry-run 预览)
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" entity-clean

# 标记待修复的脏实体
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" entity-clean --mark-invalid
Step 3:修复指定章节
bash
# 重审查 + 重提交(不重写正文)
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  orchestrate heal "{章节号}"
Step 4:批量修复
bash
# 批量修复连续多章
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
  orchestrate heal "{起始}-{结束}"
Step 5:验证
bash
# 确认修复结果
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" ssot verify
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" workflow status

注意事项

  • heal 只重跑审查(reviewer)和数据提交(chapter-commit),不改正文
  • 若审查发现 blocking issue,需手动修复正文后再重跑
  • 若章节文件已损坏或内容严重偏离大纲,使用 webnovel-rewrite 替代
  • 脏实体清理后需重建 index.db:webnovel index process-chapter

© 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

Just SKILL.md in .opencode/skills/webnovel-heal of lujih/webnovel-writer-opencode.

Open the folder on GitHubat commit 0a99e34

Compare with similar skills

Webnovel Heal 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 Heal compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Webnovel Heal this skilllujih/webnovel-writer-opencode215—~524Automated safety check: PassGPL-3.0
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
HumanizerAzure-Samples/interview-coach-agent-framework17338 repos~5.8kAutomated safety check: PassMIT
Avoid AI Writingconorbronsdon/avoid-ai-writing4.9k3 repos~8.1kAutomated safety check: PassMIT
JavaScript Concept Fact Checkerleonardomso/33-js-concepts67k1 repos~5kAutomated safety check: PassMIT
User-Facing Text Cleanupguillaumemeyer/watermarks-remover24k—~3.5kAutomated safety check: PassMIT

Similar skills

  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Humanizer

    Azure-Samples/interview-coach-agent-framework

    Official

    Remove signs of AI-generated writing from text. An agent skill from Azure-Samples/interview-coach-agent-framework.

    173 GitHub starsUsed in 38 repos~5.8k tokens
    Writing & ContentAuto-check passed
  • Avoid AI Writing

    conorbronsdon/avoid-ai-writing

    Audit and rewrite content to remove AI writing patterns ("AI-isms").

    4.9k GitHub starsUsed in 3 repos~8.1k tokens
    Writing & ContentAuto-check passed
  • JavaScript Concept Fact Checker

    leonardomso/33-js-concepts

    Verifies the technical accuracy of JavaScript concept pages by checking code examples, MDN and ECMAScript claims and external links through a five-phase method.

    67k GitHub starsUsed in 1 repo~5k tokens
    Writing & ContentAuto-check passed
  • User-Facing Text Cleanup

    guillaumemeyer/watermarks-remover

    Audits prose for invisible Unicode characters and rewrites it while keeping facts, citations, code and required disclosures unchanged and the writer's voice intact.

    24k GitHub stars~3.5k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Install Anti Slop

    trycompai/crm

    Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository.

    11k GitHub starsUsed in 1 repo~881 tokens
    Writing & ContentAuto-check passed

More from lujih/webnovel-writer-opencode

All 15 skills in this repo
  • Webnovel Init

    lujih/webnovel-writer-opencode

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

    215 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Webnovel Query

    lujih/webnovel-writer-opencode

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

    215 GitHub stars~846 tokensUpdated today
    Auto-check passed
  • Webnovel Write Batch

    lujih/webnovel-writer-opencode

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

    215 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Webnovel Export

    lujih/webnovel-writer-opencode

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

    215 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Webnovel Publish

    lujih/webnovel-writer-opencode

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

    215 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Webnovel Delete

    lujih/webnovel-writer-opencode

    安全删除指定章节并清理关联投影数据(state/memory)。支持 dry-run 预览。触发:删除章节、回退写作、清理烂章。

    214 GitHub stars~301 tokensUpdated yesterday
    Auto-check passed

Questions about Webnovel Heal

What does Webnovel Heal do?

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

When should I use Webnovel Heal?

Webnovel Heal fits situations like: writing & Content work in your project.

How do I install Webnovel Heal in Claude Code?

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

How do I install Webnovel Heal in Codex?

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

Can I use Webnovel Heal 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-heal -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-heal, .gemini/skills/webnovel-heal, .github/skills/webnovel-heal and .opencode/skills/webnovel-heal in your project.

What does Webnovel Heal need to run?

Going by SKILL.md and its folder, Webnovel Heal needs the command-line tools its instructions call (python). Our summary lists: Python 3. Compatibility (from SKILL.md): opencode.

Does Webnovel Heal 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 Heal 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 Heal use?

Webnovel Heal 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 Heal use?

About 524 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Webnovel Heal?

Skills that share tags, products or a category with Webnovel Heal: Social (coreyhaines31/marketingskills, 54k stars), Humanizer (Azure-Samples/interview-coach-agent-framework, 173 stars), Avoid AI Writing (conorbronsdon/avoid-ai-writing, 4.9k stars) and JavaScript Concept Fact Checker (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Webnovel Heal?

lujih (a GitHub user) maintains it in lujih/webnovel-writer-opencode, which has 215 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 10, 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.