AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Vellum Prep

skill-cdeistopened-content-os-vellum-prep · by cdeistopened

A Claude skill from cdeistopened/content-os.

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add skill-cdeistopened-content-os-vellum-prep

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cdeistopened-content-os-vellum-prep)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Vellum Prep? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Vellum Prep

Convert markdown manuscripts to Vellum-ready Word documents.

When to Use

Use this skill when you have a markdown manuscript (from OCR, writing, or conversion) that needs to be formatted for import into Vellum book formatting software.

What It Does

Programmatic cleanup (no AI tokens):

  • Removes OCR metadata headers
  • Converts --- to *** (Vellum ornamental breaks)
  • Removes duplicate running headers (e.g., repeated book title)
  • Removes [Image: ...] placeholder descriptions
  • Strips publisher front matter (catalogs, copyright boilerplate)
  • Normalizes chapter headings to # Chapter X: Title format
  • Cleans common artifacts (page numbers, ellipses, broken hyphenation)
  • Converts to .docx via pandoc

Usage

# From the manuscript directory:
python3 /path/to/vellum_prep.py manuscript.md

# Output: manuscript_vellum.md + manuscript.docx (if pandoc available)

Or invoke via Claude:

/vellum-prep manuscript.md

Vellum Formatting Rules

| Markdown | Word Style | Vellum Element | |----------|-----------|----------------| | # Chapter 1: Title | Heading 1 | Chapter | | # Dedication | Heading 1 | Dedication | | # Prologue | Heading 1 | Prologue | | ## Section | Heading 2 | Level 1 Subhead | | *** | Centered asterisks | Ornamental Break | | Single blank line | Blank paragraph | Scene Break |

Configuration

Edit the script to customize:

  • header_patterns: List of regex patterns for headers to remove
  • remove_images: Whether to strip [Image: ...] tags
  • clean_for_vellum: Apply Vellum-specific formatting

Requirements

  • Python 3.x
  • pandoc (for .docx conversion)

Handling Complex Manuscripts

For manuscripts with special requirements (Notion exports, external images, nested chapters), create a book-specific preprocessing script. See Personal/Guide Abrege/prep_guide_abrege.py for an example that handles:

Notion Export Issues

  • Missing image folders: Notion exports reference FolderName/image.png but don't always include the folder
  • Substack CDN images: Can be downloaded with curl and remapped to local paths
  • Image mapping pattern:

``python IMAGE_MAP = { "substack-uuid_dimensions.png": "images/01-descriptive-name.png", } ``

Nested Chapter Headings

When a document has nested "CHAPTER I/II/III" within sections (e.g., each movement family has its own Chapter I, II, III):

  • Keep top-level sections as # (Vellum chapters)
  • Demote internal "CHAPTER X:" labels to ## subheadings
  • Strip the "CHAPTER X:" prefix, keep just the descriptive title

Tables

  • Multi-line cells in markdown tables don't convert well via pandoc - convert to numbered lists instead
  • See prep_guide_abrege.py for regex pattern to match and replace specific tables

Bold Labels as Headings

Instructional books often use **FIRST TYPE:** or **Method A:** as implicit subheadings. Convert these to actual headings (####) for proper Vellum hierarchy.

Workflow for Complex Books

  1. Run exploratory agent to analyze structure
  2. Create book-specific prep script
  3. Download/remap external images
  4. Run prep script → intermediate .md
  5. Run pandoc directly (not vellum_prep.py) to preserve images
  6. Review in Vellum, fix Parts/special elements manually

Files

  • SKILL.md - This file
  • vellum_prep.py - Main conversion script (OCR cleanup focus)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.