skill-document-converter

Delegate document conversion between PDF, DOCX, and HTML formats to Markdown or PDF.

3|1|Updated May 21, 2024
One-click install
npx skills add https://github.com/benbrastmckie/.dotfiles --skill skill-document-converter
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-document-converter
Source: https://github.com/benbrastmckie/.dotfiles/tree/main/.claude/skills/skill-document-converter
Command: npx skills add https://github.com/benbrastmckie/.dotfiles --skill skill-document-converter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill delegates document format conversion tasks to a specialized subagent, reducing manual handling and enabling consistent results.

Core Features & Use Cases

  • Automated format conversion: Convert documents between formats (PDF, DOCX, HTML) to Markdown or PDF via an agent-based workflow.
  • Delegation workflow: orchestrates input validation, context preparation, and subagent invocation to ensure reproducible results.
  • Use Case: Imagine you need to convert a PDF report to Markdown for knowledge sharing; this Skill routes the task to the document-converter-agent and returns the converted document.

Quick Start

Use the skill to convert a document by providing a source path and an optional output path. Example: Convert /path/to/source.pdf to /path/to/output.md

Frequently Asked Questions about skill-document-converter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PDF to Markdown using an AI workflow?▼

You can convert a PDF to Markdown by providing a source path and an optional output path. This Skill routes the document to a dedicated subagent that handles the format conversion and returns the Markdown file.

Can I convert HTML or DOCX files to PDF in an automated workflow?▼

Yes, HTML and DOCX files can be converted to PDF. The Skill enforces input validation and builds delegation context to invoke the document-converter-agent, ensuring reproducible format conversion results.

What is the best way to delegate document conversion tasks to a subagent?▼

Delegating document conversion is best handled by a Skill that enforces input validation and builds delegation context. It uses the Task tool to invoke a document-converter-agent, reducing manual handling and ensuring consistent results.

Do I need to manually validate inputs when converting documents to Markdown?▼

No, manual input validation is not required. The Skill automatically enforces input validation and builds delegation context before invoking the document-converter-agent, ensuring the conversion process is handled consistently.

Does this document conversion approach work without external dependencies?▼

Yes, the document conversion workflow operates without external dependencies. It relies on internal orchestration, enforcing input validation and using the Task tool to invoke the document-converter-agent for format conversion.

Why use a delegated subagent for converting documents between formats?▼

Delegating document conversion to a subagent reduces manual handling and ensures consistent results. By isolating the conversion logic, the Skill provides reproducible outputs when transforming PDF, DOCX, or HTML files.