jiaos
Autonomous novel writing CLI agent with web workbench (JiaOS Studio) - use for creative fiction writing, standalone short-fiction packages, cover generation, novel generation, style imitation, chapter continuation/import, EPUB export, AIGC detection, and fan fiction.
Install / Use
npx skills add zxerai/novelixInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of jiaos
jiaos scores 76/100 on our quality scale, 347th of 647 Automation skills we index.
Its SKILL.md is 30 KB long, well organised into 72 sections with 23 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-21 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 78/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
jiaos compared with similar skills
All 4 of these similar skills score higher than jiaos; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| jiaos (this skill)by zxerai | 76 | 0 | 4mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 85.0k | 8d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.6k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.1k | today | CLAUDE.md |
| nanobotby HKUDS | 100 | 48.5k | today | MCP Server |
Frequently asked questions
- How do I install jiaos?
- Run
npx skills add zxerai/novelix. The install tabs above show the steps for each supported agent. - Which AI agents does jiaos work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is jiaos safe to use?
- Our scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 78/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is jiaos still maintained?
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubname: jiaos description: Autonomous novel writing CLI agent with web workbench (JiaOS Studio) - use for creative fiction writing, standalone short-fiction packages, cover generation, novel generation, style imitation, chapter continuation/import, EPUB export, AIGC detection, and fan fiction. Native English support with 10 built-in English genre profiles (LitRPG, Progression Fantasy, Isekai, Cultivation, System Apocalypse, Dungeon Core, Romantasy, Sci-Fi, Tower Climber, Cozy Fantasy). Also supports Chinese web novel genres (xuanhuan, xianxia, urban, horror, other). Multi-agent pipeline, two-phase writer (creative + settlement), stronger long-form chapter craft rules, hook-ledger payoff checks, 33-dimension auditing, token usage analytics, creative brief input, structured logging (JSON Lines), multi-model routing, custom OpenAI-compatible provider support, and JiaOS Studio web UI for visual book management, short-fiction runs, cover generation, chapter review, real-time writing progress, market radar, and analytics. version: 2.3.4 metadata: { "openclaw": { "emoji": "📖", "requires": { "bins": ["jiaos", "node"], "env": ["OPENAI_API_KEY"] }, "primaryEnv": "OPENAI_API_KEY", "homepage": "https://github.com/zxerai/jiaos", "install": [{ "id": "npm", "kind": "node", "package": "@actalk/jiaos", "label": "Install JiaOS (npm)" }] } }
JiaOS - Autonomous Novel Writing Agent
JiaOS is a CLI tool for autonomous fiction writing powered by LLM agents. It orchestrates a multi-agent pipeline (Radar → Planner → Composer → Architect → Writer → Observer → Reflector → Normalizer → Auditor → Reviser) to generate, audit, and revise novel content with zero human intervention per chapter.
The pipeline operates in three phases:
- Phase 1 (Creative Writing, temp 0.7): Planner generates chapter intent with hook agenda, Composer selects relevant context, Writer produces prose with length governance, first-screen hooks, semantic density, hook-ledger payoff, and mobile paragraph rhythm guidance.
- Phase 2 (State Settlement, temp 0.3): Observer over-extracts 9 categories of facts, Reflector outputs a JSON delta (not full markdown), code-layer applies Zod schema validation and immutable state update. Hook operations use upsert/mention/resolve/defer semantics.
- Phase 3 (Quality Loop): Normalizer adjusts chapter length, Auditor runs 33-dimension check including hook health analysis, Reviser auto-fixes critical issues. Self-correction loop runs until all critical issues clear.
Truth files are persisted as schema-validated JSON (story/state/*.json) with markdown projections for human readability. SQLite temporal memory database (story/memory.db) enables relevance-based retrieval on Node 22+.
When to Use JiaOS
- English novel writing: Native English support with 10 genre profiles (LitRPG, Progression Fantasy, Isekai, etc.). Set
--lang en - Chinese web novel writing: 5 built-in Chinese genres (xuanhuan, xianxia, urban, horror, other)
- Fan fiction: Create fanfic from source material with 4 modes (canon, au, ooc, cp)
- Batch chapter generation: Generate multiple chapters with consistent quality
- Import & continue: Import existing chapters from a text file, reverse-engineer truth files, and continue writing
- Style imitation: Analyze and adopt writing styles from reference texts
- Spinoff writing: Write prequels/sequels/spinoffs while maintaining parent canon
- Standalone short fiction: Generate a complete short-fiction package with outline, draft, review artifacts, synopsis, selling points, and optional cover image
- Cover generation: Generate or regenerate only a cover prompt and cover image from a title, synopsis, or visual direction without rerunning story writing
- Quality auditing: Detect AI-generated content and perform 33-dimension quality checks
- Genre exploration: Explore trends and create custom genre rules
- Analytics: Track word count, audit pass rate, and issue distribution per book
Initial Setup
First Time Setup
# Initialize a project directory (creates config structure)
jiaos init my-writing-project
# Configure your LLM provider (OpenAI, Anthropic, or any OpenAI-compatible API)
# Prefer --api-key-env so the key never appears in shell history:
export OPENAI_API_KEY=sk-xxx
jiaos config set-global --provider openai --base-url https://api.openai.com/v1 --api-key-env OPENAI_API_KEY --model gpt-4o
# For compatible/proxy endpoints, use --provider custom and point ONLY to trusted endpoints:
# jiaos config set-global --provider custom --base-url https://your-trusted-proxy.com/v1 --api-key-env OPENAI_API_KEY --model gpt-4o
Multi-Model Routing (Optional)
# Assign different models to different agents — balance quality and cost
jiaos config set-model writer claude-sonnet-4-20250514 --provider anthropic --base-url https://api.anthropic.com --api-key-env ANTHROPIC_API_KEY
jiaos config set-model auditor gpt-4o --provider openai
jiaos config show-models
Agents without explicit overrides fall back to the global model.
Provider setup tip
When the user needs an aggregator provider, point them to Studio's service settings. JiaOS includes kkaiapi and OpenRouter as optional aggregator choices. For kkaiapi, use:
- Chinese website: https://kkaiapi.com/
- English website: https://en.kkaiapi.com/
- Chinese API docs: https://kkaiapi.com/docs
- English API docs: https://en.kkaiapi.com/docs
- Chinese models/pricing: https://kkaiapi.com/models
- English models/pricing: https://en.kkaiapi.com/models
View System Status
# Check installation and configuration
jiaos doctor
# View current config
jiaos status
Common Workflows
Workflow 1: Create a New Novel
-
Initialize and create book:
jiaos book create --title "My Novel Title" --genre xuanhuan --chapter-words 3000 # Or with a creative brief (your worldbuilding doc / ideas): jiaos book create --title "My Novel Title" --genre xuanhuan --chapter-words 3000 --brief my-ideas.md- Genres:
xuanhuan(cultivation),xianxia(immortal),urban(city),horror,other - Returns a
book-idfor all subsequent operations
- Genres:
-
Generate initial chapters (e.g., 5 chapters):
jiaos write next book-id --count 5 --words 3000 --context "young protagonist discovering powers"- The
write nextcommand runs the full pipeline: draft → audit → revise --contextprovides guidance to the Architect and Writer agents- Returns JSON with chapter details and quality metrics
- The
-
Review and approve chapters:
jiaos review list book-id jiaos review approve-all book-id -
Export the book (supports txt, md, epub):
jiaos export book-id jiaos export book-id --format epub
Workflow 2: Continue Writing Existing Novel
-
List your books:
jiaos book list -
Continue from last chapter:
jiaos write next book-id --count 3 --words 2500 --context "protagonist faces critical choice"- JiaOS maintains 7 truth files (world state, character matrix, emotional arcs, etc.) for consistency
- If only one book exists, omit
book-idfor auto-detection
-
Review and approve:
jiaos review approve-all
Workflow 2.5: Shared Natural-Language Control (Recommended For OpenClaw)
When JiaOS is being driven by OpenClaw or another external agent, prefer the shared interaction executor instead of stitching together many ad-hoc CLI calls:
jiaos interact --json --message "continue the current book, but keep the pacing tighter"
jiaos interact --json --message "rewrite chapter 3"
jiaos interact --json --book my-book --message "switch to auto mode"
This returns a structured payload containing:
- the routed request
- assistant response text
- updated interaction session
- execution state
- pending decision
- recent interaction events
Use this as the primary OpenClaw entry because it shares the same control layer as the project TUI.
Workflow 2.6: Steering Chapter Focus Before Writing
Use this when the user says things like "pull focus back to the mentor conflict", "pause the merchant guild subplot", or "change what the next chapter should prioritize".
-
Update the book-level control docs when needed:
- Use
update_author_intentto change the long-horizon identity of the book - Use
update_current_focusto change the next 1-3 chapters' focus
- Use
-
Compile the next chapter intent:
plan_chapter(bookId, guidance?)- Generates
story/runtime/chapter-XXXX.intent.md - Use this to verify what the system thinks the next chapter should do
- Generates
-
Compose the actual runtime input package:
compose_chapter(bookId, guidance?)- Generates
story/runtime/chapter-XXXX.context.json - Generates
story/runtime/chapter-XXXX.rule-stack.yaml - Generates
story/runtime/chapter-XXXX.trace.json
- Generates
-
Only then write:
write_draftif the user wants intermediate reviewwrite_full_pipelineif they want the usual write → audit → revise flow
Recommended orchestration:
- user asks to redirect focus
update_current_focusplan_chaptercompose_chapter- inspect the resulting intent/paths
write_draftorwrite_full_pipeline
Workflow 3: Import Existing Chapters & Continue
Use this when you have an existing novel (or partial novel) and want JiaOS to pick up where it left off.
-
Import from a single text file (auto-splits by chapter headings):
jiaos import chapters book-id --from novel.txt- Automatically splits by
第X章pattern - Custom split pattern:
--split "Chapter\\s+\\d+"
- Automatically splits by
-
Import from a directory of separate chapter files:
jiaos import chapters book-id --from ./chapters/- Reads
.mdand.txtfiles in sorted order
- Reads
-
Resume interrupted import:
jiaos import chapters book-id --from novel.txt --resume-from 15 -
Continue writing from the imported chapters:
jiaos write next book-id --count 3- JiaOS reverse-engineers all 7 truth files from the imported chapters
- Generates a style guide from the existing text
- New chapters maintain consistency with imported content
Workflow 4: Style Imitation
-
Analyze reference text:
jiaos style analyze reference_text.txt- Examines vocabulary, sentence structure, tone, pacing
-
Import style to your book:
jiaos style import reference_text.txt book-id --name "Author Name"- All future chapters adopt this style profile
- Style rules become part of the Reviser's audit criteria
Workflow 5: Spinoff/Prequel Writing
-
Import parent canon:
jiaos import canon spinoff-book-id --from parent-book-id- Creates links to parent book's world state, characters, and events
- Reviser enforces canon consistency
-
Continue spinoff:
jiaos write next spinoff-book-id --count 3 --context "alternate timeline after Chapter 20"
Workflow 6: Fine-Grained Control (Draft → Audit → Revise)
If you need separate control over each pipeline stage:
-
Generate draft only:
jiaos draft book-id --words 3000 --context "protagonist escapes" --json -
Audit the chapter (33-dimension quality check):
jiaos audit book-id chapter-1 --json- Returns metrics across 33 dimensions including pacing, dialogue, world-building, outline adherence, and more
-
Revise with specific mode:
jiaos revise book-id chapter-1 --mode polish --json- Modes:
polish(minor),spot-fix(targeted),rewrite(major),rework(structure),anti-detect(reduce AI traces)
- Modes:
Workflow 7: Monitor Platform Trends
jiaos radar scan
- Analyzes trending genres
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
85.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.1k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
nanobot
48.5kUltra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
