using-documents

Route document requests to the narrowest matching child format.

28|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/labs21-dev/agents-stack --skill using-documents-labs21-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-documents
Source: https://github.com/labs21-dev/agents-stack/tree/main/skills-optional/using-documents
Command: npx skills add https://github.com/labs21-dev/agents-stack --skill using-documents-labs21-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow, lxml, openpyxl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This router directs document-related requests to the most appropriate narrow child skill (xlsx, pptx, docx, or pdf), reducing misrouting and ensuring the correct workflow is used.

Core Features & Use Cases

  • Automatic routing: selects the smallest valid child skill for a document task based on input type and desired artifact.
  • Boundary awareness: leverages references/children.json to enforce declared boundaries and installation hints.
  • Extensibility: supports adding new document formats as child skills while preserving routing fidelity.

Quick Start

Route a mixed-format document request to the correct child by invoking the router with a PDF-to-Word task.

Frequently Asked Questions about using-documents

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

FAQPage Schema
How do I route document processing tasks to the correct workflow for PDF, DOCX, XLSX, or PPTX files?

Document routing evaluates the input type and desired artifact to direct requests to the narrowest matching child skill for PDF, DOCX, XLSX, or PPTX files. This ensures the exact workflow is used and reduces misrouting.

What is the best way to automate PDF to Word conversion without selecting the wrong processing library?

Automating PDF to Word conversion is handled by routing the mixed-format request to the appropriate child skill. The router evaluates the input and output formats to enforce the correct workflow boundaries.

Can I add new document formats to an existing workflow router if my project requires processing unsupported files?

You can add new document formats as child skills while preserving routing fidelity. The router leverages references/children.json to enforce declared boundaries and provide installation hints for the new format.

Does this document routing approach work with Python dependencies like pypdf, pdfplumber, and openpyxl?

Yes, the document routing approach works with Python dependencies including pypdf, pdfplumber, and openpyxl. These libraries support the child skills that process the routed PDF, DOCX, XLSX, and PPTX files.

Why does my document workflow fail when processing a file format that has no matching child skill installed?

Document workflow processing fails when no suitable child skill exists for the target format. The router checks references/children.json and will install or route to a recommended companion skill to enforce boundaries.

When do I need to use a workflow router instead of calling document processing libraries directly?

You need a workflow router when handling mixed-format document requests to reduce misrouting. It ensures the narrowest valid child skill is selected based on input type and desired artifact.