twhsi/book-companion-skill
Create companion Codex workflows from book chapters, reader exercises, prompts, field notes, and teaching material. Use when Codex needs to turn a chapter excerpt, 書籍練習, AI 提示詞, worksheet, or author note into a reusable Skill-style workflow, GitHub-shareable companion artifact, or book link resource for readers.
npx skills add https://github.com/twhsi/skills --skill book-companion-skill
Convert book material into a reader-friendly, executable Codex workflow. Preserve the author's voice, make the task usable by someone who only has the book in front of them, and produce artifacts that can be shared through GitHub or linked from a printed/e-book chapter.
SKILL.md workflow for repeatable use.Use this shape when the reader should copy one prompt from GitHub or a QR page:
## Chapter X: <exercise name>
Paste this into Codex:
> Use this chapter exercise to help me <reader goal>. My raw material is below. Ask at most two clarifying questions if needed, then produce <expected output>.
Use this shape when the book material should become a reusable Codex Skill:
---
name: <short-hyphen-name>
description: <what the skill does and exact trigger scenarios>
---
# <Human Title>
## Overview
<one or two sentences>
## Workflow
<steps another Codex instance can follow>
Use this shape for GitHub pages, README sections, and book links:
## <Chapter / Tool / Exercise Name>
**Use when:** <reader situation>
**Input:** <what the reader brings>
**Codex prompt:** `<single concise prompt>`
**Output:** <what Codex returns>
description frontmatter, not only in the body.SKILL.md lean; move long examples or chapter-specific details to references/.Read references/chapter-workflow-patterns.md when converting multiple chapter exercises, building a companion README, or standardizing many book links.
Take twhsi/book-companion-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.