novel-check

novel-check is a skill for Claude Code, Codex from Xiaoyangy/novel-studio. It costs 83 tokens per session (674 once invoked), scanned A, original, Apache-2.0.

A configuration check for the language models used by the novel-writing system. It makes a small real request to the default and role-specific models, such as the coordinator, writer, and editor.

In plain words
What is it for?
Use it before writing to test model connectivity, check one selected provider and model, investigate setup failures, and confirm that fallback routes work.
Why use it?
It finds connection, API-key, address, or model-routing problems before a longer writing task begins. It also checks configured fallback models to show whether the system can continue when a main model fails.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before writing to test model connectivity, check one selected provider and model, investigate setup failures, and confirm that fallback routes work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoyangy/novel-studio/novel-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Xiaoyangy/novel-studio --skill novel-check
Clone the repo
git clone --depth 1 https://github.com/Xiaoyangy/novel-studio

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for novel-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/novel-check/github.svg)](https://agentmods.dev/skills/xiaoyangy/novel-studio/novel-check)
Your own site
<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/novel-check"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/novel-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for novel-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/novel-check"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/novel-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Excessive Agency · line 24
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00674
Opus 5 $0.00042 $0.00337
Sonnet 5 $0.00017 $0.00135
Haiku 4.5 $0.00008 $0.00067

Measured 12d ago against content hash 78fa2ac7e9e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

novel-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/novel-check/SKILL.md · 50 lines

What it actually says

novel-check:LLM 连通性自检

加载配置,为默认模型与各角色模型(coordinator / architect / writer / editor)做一次最小真实 Generate 往返,逐一报告是否可用。创作前先跑它,把「配置看起来对、但一调用就崩」的问题前置。

前置条件

  • 已完成首次配置(见 skills/README.md)。

执行

# 自检当前配置的所有模型目标(按 provider/model 去重,每个只 ping 一次)
novel-studio --check

# 调长单次超时(默认 30s)
novel-studio --check --timeout 60s

# 只验证某个备用 provider(不改配置),确认它能用作 fallback
novel-studio --check --provider minimax --model MiniMax-M3

参数

参数 默认 说明
--timeout <dur> 30s 单次连通性调用的超时
--provider <name> 只测指定 provider(配置里 providers 的 key 名),需配 --model
--model <model> 配合 --provider 指定要测的模型名

输出与退出码

  • 逐目标:✓ provider/model [角色(主/兜底)] 耗时✗ ... 错误原因(主模型与配置的兜底都会测)
  • 按角色汇总:✓ 主可用 / ⚠ 主挂但走兜底 / ✗ 主与兜底都挂
  • 退出码:每个具名角色都至少有一条可用路径 → 0(含"降级可用",即主挂走兜底); 某具名角色主与兜底全挂 → 非 0,并提示常见原因(代理未启动 / api_key 失效 / base_url 写错)

配了 roles.<role>.fallbacks 兜底时,自检会一并验证兜底是否真的可用, 让你在主 provider 挂掉时确认"还能不能降级创作"。

典型失败

  • connection refused → 该 provider 的 base_url 指向的服务(如本地代理)没启动
  • 401 / invalid api keyapi_key 失效或写错
  • 模型返回空响应 → 连接通但模型名 / 代理路由有问题
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 50 lines · 83 tokens per session scan A 78fa2ac7e9e1

Subscribe to this mod's changes

novel-check is a skill published in the GitHub repository Xiaoyangy/novel-studio (109 stars, last pushed 3d ago), licensed Apache-2.0. It adds 83 tokens to every session and 674 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories