databricks-unstructured-pdf-generation
Skill by databricks
Builds synthetic PDF documents and paired retrieval-evaluation questions for Databricks. It converts HTML to PDF, uploads the files to Unity Catalog volumes, and suits demo and RAG evaluation datasets.
Install databricks-unstructured-pdf-generation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-unstructured-pdf-generation ~/.claude/skills/databricks-unstructured-pdf-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install databricks-unstructured-pdf-generation in Claude Code
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-unstructured-pdf-generation ~/.gemini/antigravity-cli/skills/databricks-unstructured-pdf-generationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install databricks-unstructured-pdf-generation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through creating synthetic PDF documents and test questions for Databricks. The assistant writes HTML files, converts them to PDF with a bundled Python script that wraps plutoprint, and uploads the PDFs to a Unity Catalog volume using the databricks CLI. It also writes a JSON file that pairs each document with retrieval-evaluation questions and expected facts.
The skill is aimed at teams building demos or retrieval evaluation datasets for Databricks document Q&A, such as a Genie Agent with an attached volume. The source says the resulting dataset can serve as a gold set for mlflow.genai.evaluate() or similar scorers. It also gives guidelines for document content, such as multi-page documents with specific error codes and facts the agent must read the document to answer.
Written from the project's SKILL.md and checked against it.
What it can do
- HTML to PDF conversionConverts a folder of HTML files to PDFs in parallel using a bundled Python script.
- Unity Catalog uploadCopies generated PDFs to a Unity Catalog volume with the databricks fs cp command.
- Eval question fileWrites a JSON file pairing each PDF with a test question and expected fact.
- Document content guidanceGives guidelines for realistic, queryable demo documents such as error reference guides.
What you need
- Databricks CLI (version 1.0.0 or later)
- Python with uv to install plutoprint
- A Unity Catalog volume to upload to
Try asking
- Write five API error reference HTML documents and convert them to PDF.
- Create an eval questions JSON pairing each PDF with an expected fact.
- Upload the generated PDFs to my Unity Catalog volume with databricks fs cp.
Good to know
- A Genie Agent indexes the whole attached volume, so the eval file must be kept out of it.
- The source says other HTML to PDF tools work for ad-hoc PDFs without the Databricks workflow.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/databricks-unstructured-pdf-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml558 B -
assets/databricks.png15 KB -
assets/databricks.svg582 B -
scripts/pdf_generator.py8 KB
Alternatives to databricks-unstructured-pdf-generation
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
databricks-unstructured-pdf-generation: common questions
What does this skill produce?
It produces synthetic PDF documents and a pdf_eval_questions.json file that pairs each document with a question and an expected fact.
Where are the PDFs uploaded?
The source says they are uploaded to a Unity Catalog volume using databricks fs cp, and a dedicated managed volume is recommended for a Genie Agent.
Why keep the eval questions out of a Genie volume?
The source says Genie indexes the whole volume, so the answers would leak into the agent's context.
How do I install databricks-unstructured-pdf-generation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is databricks-unstructured-pdf-generation free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is databricks-unstructured-pdf-generation safe to use?
It scores 75 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to databricks-unstructured-pdf-generation?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
