Xpersona
B

Bookify - Convert Markdown to PDF or EPUB

CLAWHUB · Unverified

Convert Markdown files to styled PDF or EPUB ebook using md-bookify. Use when the user wants to generate a PDF document or EPUB ebook from markdown content o... Skill: Bookify - Convert Markdown to PDF or EPUB Owner: danielefavi Summary: Convert Markdown files to styled PDF or EPUB ebook using md-bookify. Use when the user wants to generate a PDF document or EPUB ebook from markdown content o... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-11T05:41:24.399Z | user - Updated to use md-bookify version 2.2.1 and puppeteer version 24 for improved compatibility and feature

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fsp7rrndh6qttj1hnmvfm3984mc56:bookify
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-danielefavi-bookify/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

10,667 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: bookify
description: Convert Markdown files to styled PDF or EPUB ebook using md-bookify. Use when the user wants to generate a PDF document or EPUB ebook from markdown content or files.
source: https://www.npmjs.com/package/md-bookify
version: 2.2.1
argument-hint: <file.md> [pdf|epub]
allowed-tools:
  - Bash(npx md-bookify@2.2.1 *)
  - Bash(npx puppeteer@24 browsers install chrome)
  - Read
  - Glob
---

# Convert Markdown to PDF or EPUB

Use the `md-bookify` npm package via `npx` to convert Markdown files to styled PDF documents or EPUB ebooks.

## Interpreting Arguments

- If `$ARGUMENTS` contains a file path (ends in `.md` or `.markdown`), convert that file
- If `$ARGUMENTS` includes `pdf` or `epub`, use that format (default: PDF)
- If `$ARGUMENTS` is descriptive (e.g. "convert the README to elegant PDF"), parse the intent
- If no file is specified, use Glob to find markdown files and ask which to convert

## PDF Conversion

```bash
npx md-bookify@2.2.1 <input.md> [options]
```

**Options:**
- `-o, --output <path>` — Output PDF file path (default: same name with .pdf extension)
- `-t, --title <title>` — Document title (default: filename)
- `--author <name>` — Author name
- `-f, --format <format>` — Page format: `A4` (default), `Letter`, `Legal`
- `-s, --style <name>` — Style name or path to .css file (see Styles below)
- `--landscape` — Landscape orientation (good for wide tables or code)
- `--margin-top <margin>` — Top margin (e.g. `20mm`)
- `--margin-right <margin>` — Right margin
- `--margin-bottom <margin>` — Bottom margin
- `--margin-left <margin>` — Left margin

## EPUB Conversion

```bash
npx md-bookify@2.2.1 epub <input.md> [options]
```

**Options:**
- `-o, --output <path>` — Output EPUB file path (default: same name with .epub extension)
- `-t, --title <title>` — Document title (default: filename)
- `--author <name>` — Author name
- `--language <code>` — Language code (default: `en`)
- `--publisher <name>` — Publisher metadata
- `--description <text>` — Book description metadata
- `--cover <path>` — Path to cover image file

**Important:** EPUB ignores `--style`, `--format`, `--landscape`, and `--margin-*` flags — those are PDF-only.

## Built-in Styles (PDF only)

| Style | Description |
|-------|-------------|
| `default` | Clean, modern sans-serif styling |
| `serif` | Traditional book appearance with serif fonts |
| `elegant` | Refined typography with tasteful spacing |
| `eink` | Optimized for e-ink displays, high contrast |
| `eink-serif` | Serif variant optimized for e-ink readers |

Use with `-s`: `npx md-bookify@2.2.1 file.md -s elegant`

You can also pass a path to any `.css` file: `npx md-bookify@2.2.1 file.md -s ./custom.css`

## Supported Markdown Features

- GitHub Flavored Markdown (tables, task lists, strikethrough)
- Fenced code blocks with syntax highlighting (TypeScript, JavaScript, Python, Go, Rust, Java, Bash, JSON, CSS, HTML, YAML, SQL, Diff)
- KaTeX math: `$inline$` and `$$block$$`
- Images with rela

_meta.json

{
  "ownerId": "kn7caybvzyzs3k8jjnssp3ttj984m2q1",
  "slug": "bookify",
  "version": "1.0.1",
  "publishedAt": 1775886084399
}

skill-card.md

## Description:

Convert Markdown files to styled PDF or EPUB ebook using md-bookify.

This skill is ready for commercial/non-commercial use.

## Publisher:

[danielefavi](https://clawhub.ai/user/danielefavi)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and documentation authors use this skill to convert Markdown files into styled PDF documents or EPUB ebooks with md-bookify.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill runs npx-based Markdown conversion tools, which carry ordinary npm and Puppeteer supply-chain and browser-installation exposure.

Mitigation: Run it in trusted workspaces, validate selected Markdown paths and metadata, and review npm/Puppeteer exposure before use in sensitive environments.

## Reference(s):

- [md-bookify npm package](https://www.npmjs.com/package/md-bookify)
- [Bookify skill page](https://clawhub.ai/danielefavi/skills/bookify)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline shell commands and conversion guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The skill guides an agent to produce PDF or EPUB files from selected Markdown inputs.]

## Skill Version(s):

1.0.1 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Bookify - Convert Markdown to PDF or EPUB and adjacent AI workflows.