TopRank Skills

Home / Claw Skills / Git / GitHub / git-repo-to-book
Official OpenClaw rules 54%

git-repo-to-book

Write a full-length technical book using multi-agent AI orchestration. Spawns parallel research, writing, and review agents to produce 60K-100K+ word manuscripts. Also supports revising individual chapters of existing books. Based on the real workflow that produced an 88,000-word, 14-chapter book in under 18 hours.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 git-repo-to-book 技能。 若已安装,则直接安装 git-repo-to-book 技能。

Overview

Skill Key
chunhualiao/git-repo-to-book
Author
chunhualiao
Source Repo
openclaw/skills
Version
-
Source Path
skills/chunhualiao/git-repo-to-book
Latest Commit SHA
1dad21a0810e51c5fdd89e5514a3472ab226bfd0

Extracted Content

SKILL.md excerpt

# Git Repo to Book

Write a full-length technical book using multi-agent AI orchestration. Based on the
real workflow that produced [The OpenClaw Paradigm](https://github.com/chunhualiao/openclaw-paradigm-book)
— 88,000+ words, 14 chapters, 42 diagrams in under 18 hours.

## Scope & Boundaries

**This skill handles:**
- Planning, researching, writing, reviewing, and publishing multi-chapter technical books
- **Revising individual chapters** of existing books (review → rewrite → re-integrate)
- Orchestrating parallel sub-agents for each phase
- Merging chapters into a polished manuscript with TOC, metadata, and HTML export
- Managing the WORKLOG protocol for agent coordination

**This skill does NOT handle:**
- Cover design or artwork generation (use an illustration skill)
- Publishing to Amazon/Kindle/bookstores (output is Markdown + HTML)
- Fiction/creative writing (optimized for technical/non-fiction)
- Translation to other languages

## Inputs

| Input | Required | Description |
|-------|----------|-------------|
| Topic/subject | Yes | What the book is about |
| Source repo | No | GitHub URL to analyze as source material |
| Chapter count | No | Auto-scaled from repo size (see below), or user override |
| Target length | No | Auto-scaled from repo size (see below), or user override |
| Budget limit | No | Max API cost in dollars. Default: $100. Agent pauses if exceeded |
| Output formats | No | Markdown (always), HTML (optional), PDF (optional) |
| Model preferences | No | Defaults in Agent Model Recommendations section |

## Outputs

- `book/final-manuscript.md` — polished, publication-ready manuscript
- `book/illustrated-manuscript.md` — manuscript with scrapbook illustrations (if article-illustrator available)
- `book/metadata.json` — title, author, word count, chapter count, date
- `book/book.html` — HTML export (optional)
- Git repository with full project history

## Auto-Scaling: Repo Size → Book Size

When a source repo is provided, automatically assess...

README excerpt

# Git Repo to Book

An [OpenClaw](https://openclaw.ai) skill for writing full-length technical books using multi-agent AI orchestration.

Based on the workflow that produced [The OpenClaw Paradigm](https://github.com/chunhualiao/openclaw-paradigm-book): 88,000+ words, 14 chapters, 42 Mermaid diagrams in under 18 hours.

## How It Works

The skill orchestrates 7 phases, each running isolated sub-agents in parallel:

```
PLANNING → RESEARCH → OUTLINES → WRITING → REVIEWING → INTEGRATING → POLISHING → PUBLISHING
```

A Director agent coordinates everything via an append-only `WORKLOG.md` — no polling, no blocking. Writing agents run 4-5 in parallel, each handling 3 chapters.

## Installation

Copy the skill directory to your OpenClaw workspace:

```bash
cp -r git-repo-to-book ~/.openclaw/<workspace>/skills/
```

### Requirements

- Python 3.8+ (for merge, polish, and HTML scripts)
- git (version control)
- `sessions_spawn` tool (for parallel sub-agents)
- Optional: `pandoc` for better HTML conversion

## Usage

```
Write a technical book about [topic]. Use the book-writer skill.
Source material: [optional GitHub URL]
Chapters: 12
Target: ~70,000 words
```

The agent will set up the repo, spawn parallel research/writing/review agents, and deliver a polished manuscript.

## What You Get

| Output | Description |
|--------|-------------|
| `book/final-manuscript.md` | Polished manuscript with TOC, title page, metadata |
| `book/metadata.json` | Title, author, word count, chapter count, date |
| `book/book.html` | HTML export (optional) |
| `chapters/*.md` | Individual chapter files |
| `research/*.md` | Research findings and pattern synthesis |
| `reviews/*.md` | Quality review results |

## Agent Roles

| Role | Model | Task |
|------|-------|------|
| Director | claude-sonnet-4-6 | Planning, coordination, quality gates |
| Research | gemini-2.5-pro | Source analysis, pattern identification |
| Writing | claude-sonnet-4-6 | 3 chapters per agent, 6-8K words each |
| Revie...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

edholofy

dojo.md

★ 4

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.

lethehades

wps-macos-helper

★ 1

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

ccapton

model-alias-append

★ 0

Automatically appends the model alias to the end of every response with integrated hook functionality and configuration change detection. Use when transparency about which model generated each response is needed. Use when: providing model transparency, tracking which model generated responses, monitoring configuration changes, or ensuring response attribution.

catsmeow492

nochat-channel

★ 0

Encrypted agent-to-agent messaging via NoChat. Post-quantum E2E encryption. Add NoChat as a native channel in OpenClaw — receive DMs from other AI agents.