a4-eight-page-booklet
Use A4 Eight Page Booklet 2.2 to create, write, repair, impose, and validate a printable A4 one-sheet eight-page mini book or zine from text, notes, images,…
Convert FIRE analysis cards, Chinese knowledge notes, or project-note JSON into validated EPUB books with directory cards, chapter cards, keyword index cards, backlinks, and GitHub-shareable ebook assets. Use when Codex needs to teach or automate the path from
$ npx -y skills add twhsi/skills --skill fire-card-to-epub --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fire-card-to-epubContext preview
The summary Claude sees to decide when to auto-load this skill.
Convert FIRE analysis cards, Chinese knowledge notes, or project-note JSON into validated EPUB books with directory cards, chapter cards, keyword index cards, backlinks, and GitHub-shareable ebook assets. Use when Codex needs to teach or automate the path from
name: fire-card-to-epub description: Convert FIRE analysis cards, Chinese knowledge notes, or project-note JSON into validated EPUB books with directory cards, chapter cards, keyword index cards, backlinks, and GitHub-shareable ebook assets. Use when Codex needs to teach or automate the path from `fire-analysis-card` outputs to `project-note-json-to-epub` style EPUB files, including sample JSON manuscripts and attached `.epub` deliverables.
Turn FIRE analysis cards into a small validated EPUB book.
Use this skill when the user asks:
This skill bridges two workflows:
| Source Skill | Role | |---|---| | `fire-analysis-card` | Analyze article/note material into Fact, Index, Relation, Encyclopedia | | `project-note-json-to-epub` | Package structured notes into EPUB with TOC, index, links, and validation |
1. Create or collect FIRE cards.
2. Build a project-note JSON manuscript.
3. Generate EPUB.
python3 scripts/fire_cards_to_epub.py assets/fire-to-epub-tutorial.json --out assets/fire-to-epub-tutorial.epub --download-copy assets/download.epub
4. Verify the output.
5. Upload as a GitHub Skill asset.
Minimal manuscript:
{
"title": "FIRE 卡片變成電子書",
"creator": "Codex",
"language": "zh-Hant",
"chunks": [
{
"code": "1.1",
"title": "FIRE 先成卡",
"body": "正文內容。",
"keywords": ["FIRE", "知識卡"],
"fire_card": "可選:固定寬度 FIRE 卡文字"
}
]
}Recommended manuscript:
{
"title": "FIRE 卡片變成電子書",
"subtitle": "從分析卡到 EPUB 的最小流程",
"creator": "Codex",
"language": "zh-Hant",
"chunks": [
{
"code": "1.1",
"title": "FIRE 先成卡",
"body": "先把文章壓成穩定知識卡,再進入電子書結構。",
"keywords": ["FIRE", "知識卡", "Fact"]
}
],
"index": [
{"id": "K001", "keyword": "FIRE", "weight": 100}
],
"orthogonal_check": {
"ok": true,
"axes": {
"analysis_axis": "Fact、Index、Relation、Encyclopedia",
"book_axis": "TOC、正文、索引、驗證"
}
}
}If `index` is missing, the script derives it from `chunks[].keywords`.
The generator writes:
| EPUB File | Purpose | |---|---| | `mimetype` | EPUB signature, first and uncompressed | | `META-INF/container.xml` | Rootfile pointer | | `OEBPS/content.opf` | Metadata, manifest, spine | | `OEBPS/nav.xhtml` | EPUB navigation | | `OEBPS/Text/toc.xhtml` | Directory card | | `OEBPS/Text/part001.xhtml` | Chapter/card pages | | `OEBPS/Text/index.xhtml` | Keyword index cards | | `OEBPS/Styles/style.css` | Readable style |
Before delivery, report:
errors: 0 title: ... all_href_count: ... index_forward_links_tested: ... body_return_links_tested: ... index_entries: ... true_body_cjk_count: ... file type: EPUB document
If `errors` is not `0`, fix the JSON or generator and rebuild.
Explain the workflow to the user like this:
1. `fire-analysis-card` 把文章變成穩定知識卡。 2. 把多張 FIRE 卡整理成 `chunks[]`。 3. 從 `keywords` 建立 `K001`、`K002` 等索引卡。 4. EPUB 由三層組成:目錄卡、正文卡、書末索引卡。 5. 每個正文關鍵詞回鏈到索引卡;索引卡再連回正文。 6. 驗證所有 EPUB 連結,確認 `errors: 0`。
Three Kings 2.2: compress with iMandalArt, address with BIRD, and publish with an A4 eight-page booklet. iMandalArt, FIRE semantic analysis, planning, and publishing workflows for Claude Code, Codex, and mainstream LLM agents.
Repo: twhsi/skills
Use A4 Eight Page Booklet 2.2 to create, write, repair, impose, and validate a printable A4 one-sheet eight-page mini book or zine from text, notes, images,…
Assign, validate, normalize, and explain Luhmann/Zettelkasten-style project-note codes for Chinese book manuscripts, Obsidian Markdown folders, Mandala-Grid…
Compress answers to the highest practical information density with minimal wording while preserving essential meaning. Use when the user asks for 言簡意賅, 講重點,…
Convert EPUB card books into Obsidian-ready HyperCard Markdown folders and portable zip files. Use when Codex needs to turn an EPUB with XHTML chapters,…
Create Fantastical calendar events and reminders from Codex on macOS. Use when the user asks Codex to add, schedule, parse, preview, or send a meeting,…
Analyze Chinese notes, articles, manuscripts, and digital card-box material with FIRE 2.0: Full-D numbering, Index keyword webs, Route thinking paths, and…