fire-card-to-epub
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.
npx skills add twhsi/skills --skill fire-card-to-epub --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# FIRE Card to EPUB Turn FIRE analysis cards into a small validated EPUB book. Use this skill when the user asks: - `FIRE 卡片變成電子書` - `把分析卡做成 EPUB` - `教我怎麼從 FIRE 到電子書` - `上傳 GitHub 成為技能,附上電子書檔案` - `把 Obsidian 知識卡整理成 EPUB` 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 | ## Core Workflow 1. Create or collect FIRE cards. - Each card should have a stable `code`, `title`, `body`, `keywords`, and optional `fire_card`. - Keep each body chunk compact: one concept per card. 2. Build a project-note JSON manuscript. - Use `assets/fire-to-epub-tutorial.json` as the starting schema. - Required top-level fields: `title`, `creator`, `language`, `chunks`. - Optional but recommended fields: `subtitle`, `index`, `orthogonal_check`. 3. Generate EPUB. ```bash 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. - The script validates XML, href targets, anchors,
- Core Workflow
- JSON Schema
- EPUB Output
- Validation Contract
- Teaching Script
- Notes
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
What does the fire-card-to-epub skill do?
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.
How do I install it?
Run `npx skills add twhsi/skills --skill fire-card-to-epub --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From twhsi/skills, a repository with 256 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
