npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

novel-agent-cli

v2.1.2

Published

AI Novel Agent v2.1 — 46 built-in Skills × config-driven quality engine (check_chapter 100pt scoring + fix_chapter auto-repair) × multi-agent sandbox × 3-level writing cache. Terminal-based Chinese web novel creation assistant.

Readme

AI Novel Agent · v2.0

多 Agent 会话隔离 × 46 个内置 Skill × 配置驱动质检引擎 — 终端里的 AI 网文创作助手

npm install -g novel-agent-clinovel-agent → 立项 / 设定 / 创作 / 质检


是什么

AI Novel Agent = 单二进制文件。所有 46 个 Skill 和质检工具编译进二进制,npm 安装即用。

| 能力 | 说明 | |------|------| | 多 Agent | 6 角色独立沙箱(策划/设定/大纲/创作/质检),零交叉污染 | | 章节质检 | check_chapter 10 项量化打分(满分 100,≥90 通过)+ fix_chapter 自动修复 | | 长篇一致性 | 配置驱动上下文注入**(每章只注摘要,百万字不爆上下文) | | 三级缓存 | 全局资产 + 语义片段 + 剧情摘要,自动注入系统 Prompt | | 内置咨询 | 8 个确定性分析策略(Go 端完成,不占 LLM token) | | RAG | 本地 ragCore 目录检索热门小说桥段 |


安装

npm install -g novel-agent-cli
novel-agent version

快速开始

mkdir 我的修仙小说 && cd 我的修仙小说
export DEEPSEEK_API_KEY=sk-xxx
novel-agent
> /novel-init                    # 初始化项目
> /xuanhuan-init                 # 定型赛道 + 生成大纲
> /write-chapter                 # 逐章写作(自动质检+修复)

内置 Skill(46 个)

| 分类 | 数量 | 说明 | |------|------|------| | 赛道专项 | 18 | 玄幻/都市/古言/科幻/甜宠/悬疑 × init/writing/optimize | | 小说核心 | 11 | 世界观/人设/咨询/风格/剧情/套路/分卷/续写/RAG | | SOP 工作流 | 11 | 写作引擎/质检引擎/规则引擎/锚点同步/伏笔回收/卡文推演 | | 基础工具 | 6 | explore/research/review/security-review/test/init |

全部 Tab 补全。项目中的同名 Markdown 文件可覆盖内置版本。


章节质检流水线

每章自动执行,不通过门槛不持久化:

写正文 → fix_chapter (自动修复) → check_chapter (10项打分)
  → 得分 < 90 → 修复 → 重检 → 2轮不通过则停止
  → 通过 → 持久化

6 大网文类型

| 类型 | 赛道 | |------|------| | 玄幻修仙 xuanhuan | 凡人流/逆袭流/宗门流/重生/系统 | | 都市网文 dushi | 战神/神医/赘婿/异能/校园 | | 古言权谋 guyan | 宫斗/宅斗/权谋/重生古言 | | 悬疑灵异 xuanyi | 规则怪谈/刑侦/无限悬疑 | | 科幻无限 kehuan | 无限流/末世/星际/赛博朋克 | | 现言甜宠 tianchong | 校园/都市/破镜重圆/先婚后爱 |


配置驱动

项目级配置 .novel-agent/novel-config.json 定义质检规则,工具通过 config_json 参数读取:

{
  "pass_score": 90,
  "repeat_control": {
    "high_frequency_forbid_list": ["打坐行气", "拔匕首插回"],
    "replace_map": { "打坐行气": "气息沉下" }
  },
  "ending_hook_rules": {
    "cycle_type": ["声音钩子", "动作钩子", "视线钩子", "压迫钩子"]
  }
}

RAG 知识库

/rag init ragCore
ragCore/xuanhuan/1_斗破苍穹/第一卷/chapter1.txt
ragCore/dushi/1_都市之最强狂兵/chapter1.txt

配置参考

[[providers]]
name        = "deepseek-flash"
kind        = "openai"
base_url    = "https://api.deepseek.com"
model       = "deepseek-v4-flash"
api_key_env = "DEEPSEEK_API_KEY"

License

MIT