Agent skill

FIRE Card to EPUB

by twhsi in twhsi/skills

Converts FIRE analysis cards or project-note JSON into a validated EPUB book with directory, chapter and keyword index cards and backlinks.

No licenceAuto-check passedDocuments & Office

Install FIRE Card to EPUB

skills CLI
$ npx skills add twhsi/skills --skill fire-card-to-epub -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install twhsi/skills fire-card-to-epub --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/twhsi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fire-card-to-epub .claude/skills/fire-card-to-epub && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fire-card-to-epub
GitHub stars
259
Token cost
~1k tokens
SKILL.md length
320 words
Files
6 (incl. scripts, assets)
Skills in repo
18
Repo updated
First seen
Licence
None found

At a glance

Converts FIRE analysis cards or project-note JSON into a validated EPUB book with directory, chapter and keyword index cards and backlinks.

  • Works in 5 steps: Create or collect FIRE cards. → Build a project-note JSON manuscript. → Generate EPUB. → …
  • Turning FIRE analysis cards or Obsidian knowledge notes into an ebook
  • SKILL.md covers Core Workflow, JSON Schema, EPUB Output and Validation Contract, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

This skill bridges two workflows: fire-analysis-card, which turns material into Fact, Index, Relation and Encyclopedia cards, and project-note-json-to-epub, which packages structured notes into an EPUB. You write a manuscript JSON with title, creator, language and chunks, where each card has a stable code, title, body and keywords, starting from assets/fire-to-epub-tutorial.json, then run scripts/fire_cards_to_epub.py to build the EPUB and a download copy.

The generator writes the standard EPUB files plus a directory card, chapter pages and keyword index cards, and it derives the index from the keywords when none is given. The script validates XML, link targets, anchors, backlink counts, index links and file type, and delivery counts as acceptable only when errors is 0. The skill also describes publishing itself with the sample JSON and sample EPUB in assets so users can download them from GitHub.

When your agent uses it

  • Turning FIRE analysis cards or Obsidian knowledge notes into an ebook
  • Validating an EPUB's links, anchors and index before sharing it
  • Packaging a skill together with a sample EPUB for GitHub

Example prompts

  • “Turn these FIRE cards into an EPUB with a keyword index.”
  • “Build the tutorial EPUB from assets/fire-to-epub-tutorial.json and report the validation result.”
  • “Convert my Obsidian knowledge cards into a small ebook with backlinks.”

Requirements

  • Python 3
  • A manuscript JSON that follows the sample schema

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Create or collect FIRE cards.
  2. Build a project-note JSON manuscript.
  3. Generate EPUB.
  4. Verify the output.
  5. Upload as a GitHub Skill asset.

What it can do on your machine

Read from SKILL.md and the folder at commit 287d0f4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

FIRE Card to EPUB loads about 1k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 320 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 320 words (~1,039 tokens).

“Turn FIRE analysis cards into a small validated EPUB book.”

— opening of SKILL.md by twhsi
name
fire-card-to-epub

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, assets) in skills/fire-card-to-epub of twhsi/skills.

  • SKILL.md
  • agents/openai.yaml
  • assets/download.epub
  • assets/fire-to-epub-tutorial.epub
  • assets/fire-to-epub-tutorial.json
  • scripts/fire_cards_to_epub.py

Open the folder on GitHubat commit 287d0f4

Compare with similar skills

FIRE Card to EPUB next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

FIRE Card to EPUB compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
FIRE Card to EPUB this skilltwhsi/skills259—~1kAutomated safety check: PassNone
Youtube Processornicepkg/ai-workflow285—~1.3kAutomated safety check: NotesMIT
Obsidian MarkdownKevRojo/Dulus167—~1.4kAutomated safety check: PassGPL-3.0
Paper and Web Source Analyzerjuliye2025/evil-read-arxiv1.7k—~715Automated safety check: PassNone
Lecture Notes MasterLeoYeAI/openclaw-master-skills2.2k—~4.9kAutomated safety check: PassMIT
Knap Markdown Templateskepano/obsidian-skills49k2 repos~986Automated safety check: PassMIT

Similar skills

  • Youtube Processor

    nicepkg/ai-workflow

    Process YouTube videos into summarized Obsidian notes. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~1.3k tokensUpdated 8 mo ago
    Writing & ContentAuto-check: notes
  • Obsidian Markdown

    KevRojo/Dulus

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    167 GitHub stars~1.4k tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed
  • Paper and Web Source Analyzer

    juliye2025/evil-read-arxiv

    Analyzes arXiv papers, PDFs, project pages and blogs and writes an evidence-backed Obsidian note with images and a knowledge-graph entry.

    1.7k GitHub stars~715 tokensUpdated 26 days ago
    Research & ScienceAuto-check passed
  • Lecture Notes Master

    LeoYeAI/openclaw-master-skills

    Obsidian lecture notes with recursive atomic decomposition. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~4.9k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Knap Markdown Templates

    kepano/obsidian-skills

    Renders Markdown notes from Knap templates and JSON data on the command line, including notes built from Defuddle web page output.

    49k GitHub starsUsed in 2 repos~986 tokens
    Documents & OfficeAuto-check passed
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed

More from twhsi/skills

All 18 skills in this repo
  • Compiles notes, outlines, PDFs or BIRD and iMandalArt content into an eight-page mini book, with upright page PDFs, a reading PDF, an editable DOCX and an A4 landscape print sheet.

    259 GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Assigns and checks Luhmann-style codes for book manuscript notes and Obsidian card folders without renumbering existing notes.

    259 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Turns scheduling requests into Fantastical events or reminders on macOS, previewing the parsed item in the app first and adding it only when you confirm.

    259 GitHub stars~688 tokensUpdated 2 mo ago
    Auto-check passed
  • Turns source material into a pure-text 3x3 iMandalArt 2.2 card with a five-character center and eight labeled surrounding angles, laid out with hard line breaks.

    259 GitHub stars~3k tokensUpdated 2 mo ago
    Auto-check passed
  • Applies a formal address protocol to manuscript text and TheBrain thoughts, assigning each a stable address, structured index, and verified links.

    259 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Todays Daily Plan

    twhsi/skills

    Write spoken daily planning notes into an Obsidian Mandala Grid day-plan Markdown file.

    259 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed

Questions about FIRE Card to EPUB

What does FIRE Card to EPUB do?

Converts FIRE analysis cards or project-note JSON into a validated EPUB book with directory, chapter and keyword index cards and backlinks. This skill bridges two workflows: fire-analysis-card, which turns material into Fact, Index, Relation and Encyclopedia cards, and project-note-json-to-epub, which packages structured notes into an EPUB.py to build the EPUB and a download copy.

When should I use FIRE Card to EPUB?

FIRE Card to EPUB fits situations like: turning FIRE analysis cards or Obsidian knowledge notes into an ebook; validating an EPUB's links, anchors and index before sharing it; packaging a skill together with a sample EPUB for GitHub.

How do I install FIRE Card to EPUB in Claude Code?

Run `npx skills add twhsi/skills --skill fire-card-to-epub -a claude-code`. Or copy the skill folder (skills/fire-card-to-epub in twhsi/skills) into .claude/skills/fire-card-to-epub in your project. Claude Code loads it when a task matches its description.

How do I install FIRE Card to EPUB in Codex?

Run `npx skills add twhsi/skills --skill fire-card-to-epub -a codex`. Or copy the skill folder (skills/fire-card-to-epub in twhsi/skills) into .agents/skills/fire-card-to-epub in your project. Codex loads it when a task matches its description.

Can I use FIRE Card to EPUB in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add twhsi/skills --skill fire-card-to-epub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fire-card-to-epub, .gemini/skills/fire-card-to-epub, .github/skills/fire-card-to-epub and .opencode/skills/fire-card-to-epub in your project.

What does FIRE Card to EPUB need to run?

Going by SKILL.md and its folder, FIRE Card to EPUB needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; A manuscript JSON that follows the sample schema.

Does FIRE Card to EPUB access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is FIRE Card to EPUB safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does FIRE Card to EPUB use?

No licence was found for FIRE Card to EPUB or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does FIRE Card to EPUB use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to FIRE Card to EPUB?

Skills that share tags, products or a category with FIRE Card to EPUB: Youtube Processor (nicepkg/ai-workflow, 285 stars), Obsidian Markdown (KevRojo/Dulus, 167 stars), Paper and Web Source Analyzer (juliye2025/evil-read-arxiv, 1.7k stars) and Lecture Notes Master (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains FIRE Card to EPUB?

twhsi (a GitHub user) maintains it in twhsi/skills, which has 259 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on July 21, 2026.

Source: twhsi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.