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

@hkstudio011/opennovel

v0.1.4

Published

CLI tool for the OpenNovel novel-writing framework — scaffold project structure and track writing progress

Readme

OpenNovel Framework 🖋️

Framework hỗ trợ viết tiểu thuyết với sự trợ giúp của AI.

:uk: English

Kết hợp CLI tool + 7 agent skills dành cho AI coding assistant (Claude Code, OpenCode, Codex) — từ khởi tạo project, xây dựng thế giới nhân vật, lên outline, viết chapter, review, tracking continuity, đến export bản cuối.


Tính năng chính

  • CLI scaffoldopennovel init tạo project structure chuẩn
  • Story bible — nhân vật, luật thế giới, bí mật, chuỗi cause-effect
  • Plot outline — chapter briefs, timeline, turning points, hooks
  • AI-assisted writing — viết chapter theo brief, đúng tính cách nhân vật
  • Built-in review — 6 tầng quality check (logic → character → plot → pacing → emotion → prose)
  • Continuity tracking — tự động cập nhật story state sau mỗi chapter
  • Raw Story Assimilation — import truyện có sẵn, extract bible/outline, rewrite hoặc continue
  • Export.md.txt / .html

Cài đặt

# Cài global
npm install -g @hkstudio011/opennovel

# Hoặc chạy trực tiếp qua npx
npx @hkstudio011/opennovel init my-story

Yêu cầu: Node.js >= 18


Bắt đầu nhanh

npx @hkstudio011/opennovel init my-story
cd my-story

Sau đó load skill opennovel-writing-assistant trong AI coding assistant của bạn (Claude Code, OpenCode, Codex...).

Cách 1: Truyện mới

Nói với AI:

"Tôi muốn viết truyện" / "I want to write a story"

AI sẽ tự động:

  1. Điền metadata project (genre, tone, POV, premise...)
  2. Xây dựng story bible (nhân vật, thế giới, luật, bí mật)
  3. Lên outline (cốt truyện, chapter briefs)
  4. Viết từng chapter — review — sửa — cập nhật continuity

Cách 2: Truyện đã có

Paste text truyện có sẵn và nói:

"Tiếp tục truyện này" / "Viết lại chapter này"

AI sẽ vào Raw Story Assimilation Mode:

  1. Phân tích nội dung → nhận diện nhân vật, cốt truyện, secrets
  2. Đề xuất Proposed Bible Update + Proposed Outline Update
  3. Sau khi bạn duyệt, rewrite hoặc continue với continuity tracking

Luồng làm việc

Bible → Outline → Write → Review → Revise → Continuity
  ↑                                              │
  └───────────────────── Next chapter ───────────┘
                              │
                              ↓
                          Export

Chi tiết:

  1. project-init — tạo project, điền metadata
  2. bible-builder — xây dựng nhân vật, thế giới, luật, bí mật
  3. outline-builder — plot, timeline, chapter briefs
  4. writing-assistant — viết chapter theo brief
  5. review — kiểm tra quality (chỉ chẩn đoán, không tự sửa)
  6. writing-assistant — sửa lỗi dựa trên review (logic → prose)
  7. continuity-manager — cập nhật story state (chỉ sau khi chapter finalized)
  8. Quay lại bước 4 cho chapter tiếp theo, hoặc export khi hoàn thành

Danh sách Skill

| Skill | Vai trò | Khi nào dùng | |---|---|---| | opennovel-writing-assistant | Điều phối chính, viết/sửa | Mọi writing session — entry point chính | | opennovel-bible-builder | Nhân vật, thế giới, luật, bí mật | Thiếu context, worldbuilding, hoặc analyze raw text | | opennovel-outline-builder | Plot, timeline, chapter briefs | Thiếu cấu trúc, planning, hoặc analyze raw text | | opennovel-continuity-manager | Theo dõi story state | Sau mỗi chapter finalized | | opennovel-review | Kiểm tra quality (chỉ đọc) | Trước khi finalize chapter | | opennovel-exporter | .md → .txt / .html | Khi hoàn thành truyện |


Golden Rules

  1. Mỗi chapter cần: goalconflictmini-climaxhook
  2. Thứ tự review: logic → character → plot → pacing → emotion → prose
  3. Thứ tự sửa: logic trước, prose sau
  4. Cập nhật continuity sau mỗi chapter (chỉ khi đã finalized)
  5. Không tiết lộ bí mật sớm, không phá vỡ tính cách nhân vật

License

MIT