Back to Collection
Skill/Research/Original by Mehansh

Markdown Converter Router

Intelligent format routing across AnyDoc and MarkItDown.

What It Does

Evaluates input file formats (PDF, Word, Excel, PowerPoint, EPUB, CSV, images, audio, ZIP) and routes each document to either AnyDoc or MarkItDown depending on format superiority.

Architecture and Design Rationale

No single document converter outperforms all others across every format. Routing each format to its strongest parser ensures optimal Markdown extraction.

Attribution: Original routing architecture by Mehansh Barthwal. Routes across AnyDoc (Firecrawl) and MarkItDown (Microsoft).

When to Activate

  • •Converting complex documents and spreadsheets into clean Markdown
  • •Ingesting PDFs, Office documents, and audio transcripts into agent context
  • •Choosing between Rust based AnyDoc and Python based MarkItDown

When to Avoid

  • •Files that already exist as plain text or clean Markdown

Skill Specification and Runtime Setup

Full Instruction Specification
# Markdown Converter Router Specification

## Overview
Evaluates input file formats (PDF, Word, Excel, PowerPoint, EPUB, CSV, images, audio, ZIP) and routes each document to either AnyDoc or MarkItDown depending on format superiority.

## Rationale
No single document converter outperforms all others across every format. Routing each format to its strongest parser ensures optimal Markdown extraction.

## Core Principles
* Always verify environment constraints and dependencies before executing.
* Enforce negative constraints and reject speculative abstractions.
* Validate output against stated acceptance rubrics.

## Execution Workflow
1. Discovery: Map requirements and inspect active context.
2. Decomposition: Break down the task into discrete, verifiable phases.
3. Execution: Implement surgical changes preserving existing code architecture.
4. Verification: Test all criteria before declaring completion.

Related Skills in Research