Skip to content
Back to skills

Kirby To Book

ASecurity

Convert Kirby CMS content to book/document formats. Use when generating PDFs, ebooks, or structured documents from CMS content.

  • 755 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill kirby-to-book --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kirby To Book?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kirby To Book
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-kirby-to-book/badge)](https://www.skillsdirectory.com/skills/majiayu000-kirby-to-book)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kirby-to-book
description: Convert Kirby CMS content to book/document formats. Use when generating PDFs, ebooks, or structured documents from CMS content.
allowed-tools: Read, Write, Grep, Glob
---

# Kirby to Moodle Book Skill

Export Kirby content as native Moodle Book chapters.

## Trigger
- Content export to Moodle requests
- Book module creation
- Multi-page content conversion

## Book XML Structure
```xml
<?xml version="1.0" encoding="UTF-8"?>
<book>
    <name>Book Title</name>
    <intro><![CDATA[<p>Description</p>]]></intro>
    <chapters>
        <chapter>
            <pagenum>1</pagenum>
            <subchapter>0</subchapter>
            <title>Chapter Title</title>
            <content><![CDATA[<p>HTML content</p>]]></content>
        </chapter>
    </chapters>
</book>
```

## Kirby Block to HTML Mapping
| Kirby Block | HTML Output |
|-------------|-------------|
| `heading` | `<h2>` or `<h3>` |
| `text` | `<div class="cloodle-text">` |
| `image` | `<figure><img><figcaption>` |
| `quote` | `<blockquote>` |
| `list` | `<ul>` or `<ol>` |

## Export Process
1. Fetch Kirby page via API or walker
2. Transform blocks to HTML
3. Apply Cloodle CSS classes
4. Generate Book XML
5. Package with images

## Cloodle Styling Classes
```html
<div class="cloodle-content">
    <h2 class="cloodle-heading">Title</h2>
    <div class="cloodle-text">
        <p>Content styled with Cloodle theme</p>
    </div>
</div>
```

## Existing Tools
- `/opt/cloodle/tools/content-pipeline/pptx_to_moodle.py`
- Supports: `--format book`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.