# Ni book writer

> Ni book writer is an open-source agent skill for writing style. Guides the agent through writing a full book, either mechanism-focused technical. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ttttstc/ni-skill/tree/main/skills/ni-book-writer
- **Repository:** https://github.com/ttttstc/ni-skill
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** ni-book-writer
- **Collection:** https://github.com/ttttstc/ni-skill
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-04

## About

This skill lets the agent act as a book-writing collaborator rather than a single-article writer. Before drafting, it asks the user to choose between two book types: a technical book that breaks down how a system works so a reader could rebuild an equivalent, or a bestseller-style book that turns source material into biographical narrative chapters. Technical books default to the first type when the user does not specify.

Each book type has its own production pipeline and style guide, and the agent loads the matching reference files as needed. The technical track adds accuracy rules that require each stated behavior to trace back to official documentation or observable facts, plus guidance for figures and a chapter structure template. The bestseller track follows a multi-step adaptation process with a closing quality checklist, and both tracks check drafts against a list of common AI-sounding phrases.

The skill is written in Chinese and is meant for long-form book projects, not for single articles, short content or pure summaries. It does not include scripts; its guidance is delivered as instructions and reference documents.

## When your agent uses it

> 泥巴猪的成体系「写书」skill（独立于 ni-writer 公众号写作）。当用户要写一本书、写书稿、把一批素材或领域知识整理成书、写某一章/篇、续写书稿时使用。触发词包括但不限于：写书、写本书、写一本…、成书、书稿、写第 N 章/篇、把这些整理成一本书、按我的风格写本书。支持两种书种：①技术书（机制拆解型，对标《GitHub Actions 运行机制蓝皮书》——讲清实现逻辑/设计取舍/行为边界，读完能复刻一套等价系统）；②畅销书（传记式叙事改编型，把素材写成 Shoe Dog / The Everything Store 风格的章节）。**开写前必须先与用户确认书种；用户未指定则默认技术书。** 不适用于公众号单篇长文（用 ni-writer）、短内容、单篇文章、纯摘要。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-book-writer)
- [License: MIT](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-book-writer)

## Features

- **Book type selection:** Asks the user to pick a technical or bestseller format before drafting and defaults to technical.
- **Technical book pipeline:** Covers a five-stage production process with chapter and definition templates for mechanism breakdowns.
- **Bestseller narrative track:** Adapts source material into scene-driven biographical chapters with a seven-question quality check.
- **Accuracy and sourcing rules:** Requires technical claims to trace to official documentation or observable behavior, without guessing.
- **Figure placeholders:** Provides rules for print-ready figure placeholders with text descriptions instead of screen-dependent elements.
- **AI phrasing blacklist:** Offers a list of AI-sounding expressions to avoid and check against before finalizing a draft.

## Good for

- Write a technical book explaining how a CI system's internals work
- Turn a pile of notes about a domain into a structured book manuscript
- Draft a bestseller-style narrative chapter from company history materials
- Continue an existing book manuscript with the next chapter
- Structure a book into parts, sections and chapters

## Install

### Claude Code

This skill ships in the `ni-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skill
```

Or copy only this skill to `~/.claude/skills/ni-book-writer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-book-writer &&
cp -R "$tmp/skills/ni-book-writer" ~/.claude/skills/ni-book-writer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ni-book-writer` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ni-book-writer` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-book-writer &&
cp -R "$tmp/skills/ni-book-writer" ~/.agents/skills/ni-book-writer &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ni-book-writer` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ni-book-writer` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-book-writer &&
cp -R "$tmp/skills/ni-book-writer" ~/.cursor/skills/ni-book-writer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ni-book-writer` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-book-writer
```

Or copy the folder to `~/.gemini/skills/ni-book-writer` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ni-book-writer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-book-writer &&
cp -R "$tmp/skills/ni-book-writer" ~/.copilot/skills/ni-book-writer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ni-book-writer` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ttttstc/ni-skill.git
```

Then copy `ni-skill/skills/ni-book-writer` into your agent's skills folder as `ni-book-writer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Ni book writer trigger?

It is meant for requests to write a book, manuscript, or a specific chapter or section, with trigger phrases such as 写书, 书稿 and 写第 N 章. It is not meant for single WeChat articles, short content or summaries.

### Which book styles does Ni book writer support?

It supports a technical book style that explains implementation logic and design trade-offs, and a bestseller style that turns material into biographical narrative chapters.

### What happens if I do not specify a book type?

The skill defaults to the technical book style and tells the user that a bestseller style is available on request.

### Does Ni book writer run any scripts?

No scripts are included. The skill consists of a main instruction file and several reference documents.

### How do I install Ni book writer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ni-book-writer to use it in all your projects, or to .claude/skills/ni-book-writer in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.

### Does Ni book writer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ni book writer?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ni book writer?

The closest alternatives to Ni book writer are Article writing, Article writing, Article writing, Persuasive technical writing and Academic writing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing-abdullayevtemurmalik): Article writing is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing-fmarzochi): Article writing is an open-source agent skill for writing style.
- [Persuasive technical writing](https://ai-powered.com/skills/persuasive-technical-writing): Persuasive technical writing is an open-source agent skill for writing style.
- [Academic writing](https://ai-powered.com/skills/academic-writing): Academic writing is an open-source agent skill for writing style.
- [Humanize writing](https://ai-powered.com/skills/humanize-writing): Humanize writing is an open-source agent skill for writing style.
- [Fiction studio](https://ai-powered.com/skills/fiction-studio): Fiction studio is an open-source agent skill for writing style.
- [Elements of style](https://ai-powered.com/skills/elements-of-style): Elements of style is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/ni-book-writer
