Skip to main content
skill CX Codex

docs-router — Claude Code skill: what it does, how to install

docs-router — a Claude Code skill that routes document processing requests to specialized Daymade tools. Directs tasks based on the input file and target output format.

MIT 138 installs ★ 1,540 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add daymade/claude-code-skills --skill docs-router -a claude-code
Open on GitHub

What docs-router does

The router selects a specific leaf skill for each document workflow. It matches input and target formats to pick the right handler: converts DOCX, PDF, or HTML into Markdown, builds printable PDFs, extracts tracked changes from Word files, or inspects Excel spreadsheets.

To run a task, it resolves the canonical path of its own docs-router/SKILL.md file and locates the suite root directory. From there it loads the corresponding sibling SKILL.md file directly. If path resolution cannot identify the active file unambiguously, execution stops without guessing.

Generating new slide decks requires deck-creator to be installed separately. Generic PDF reading and normal spreadsheet analysis remain with their own standalone workflows.

What it helps with

  • convert DOCX, PDF, or HTML files to Markdown
  • render printable PDF documents from Markdown or Word files
  • extract tracked changes and comments from DOCX files
  • prepare scanned passport or ID copies from photos
  • check documentation impact after code or configuration updates

Example prompts for the agent

  • Convert report.pdf into a self-contained HTML page while keeping charts
  • Compare reviewer changes between v1.docx and v2.docx
  • Render documentation.md into a printable PDF

How to install docs-router

1Skills CLI (Vercel)

npx skills add daymade/claude-code-skills --skill docs-router -a claude-code

2Manually: put the files in place

~/.claude/skills/docs-router/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/docs-router/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about docs-router

How do I install docs-router in Claude Code?

Run npx skills add daymade/claude-code-skills --skill docs-router -a claude-code.

What does docs-router do?

It identifies the requested document conversion or editing operation and loads the appropriate sibling skill from the Daymade suite to execute it.

What is required for docs-router to work?

All Daymade sibling skill directories must reside in the same parent suite root. The router halts if it cannot determine its own canonical file path unambiguously.

Source text

SKILL.md · MIT
---
name: docs-router
description: >-
  Word/PDF/PPTX/HTML→MD;MD/Word→PDF;new Word;PDF HTML/translate;Excel/xlsm/Mac;photo/signed scan;Mermaid;DOCX review;doc cleanup
  Reads one bundled Daymade specialist. New slide decks use
  deck-creator when installed; generic PDF reading/editing and spreadsheet
  analysis stay with their own Skills. Retired ppt-creator stays manual-only.
---

# Daymade document router

Choose the one specialist that owns the requested result. First find the path
of **this loaded** `docs-router/SKILL.md` in the active skill catalog or the
invocation that opened it. Resolve that path to its canonical location (follow
symlinks), verify that it exists under a `docs-router` directory, and take that
directory's parent as the suite root. The paths in the table are relative to
this router's directory; resolve the selected path and verify that it points
to a direct sibling `SKILL.md` inside that suite root. Never anchor resolution
to the task's working directory or an old installed copy. Claude Code may
expand `${CLAUDE_PLUGIN_ROOT}` as a shortcut, but the router must work when
that variable is absent, as in Codex. If this router's own active path cannot
be identified unambiguously, stop instead of guessing a copy.

Read the selected child `SKILL.md` **in full** before acting; if a read is
truncated, continue from the omitted part. Then load every reference that the
child requires for this branch of work. The leaf skills are intentionally
absent from automatic discovery, so open their files directly rather than
invoking them through the Skill tool. A user can still invoke any leaf's
original `/daymade-docs:<leaf>` command manually.

| Requested result | Read this exact file |
|---|---|
| Convert a DOCX, PDF, PPTX, or saved HTML/HTM to Markdown; parse Word or extract document text and images into Markdown | `../doc-to-markdown/SKILL.md` |
| Turn Markdown into a printable PDF; adapt a manufacturer PDF manual into a concise Chinese illustrated recipient guide | `../pdf-creator/SKILL.md` |
| Create or format a Word `.docx`; export or repair an **existing Word/WPS manuscript** as PDF | `../docx-creator/SKILL.md` |
| Turn a PDF into a self-contained, image-faithful HTML reading page, optionally translating it while keeping figures and charts | `../pdf-to-html/SKILL.md` |
| Extract Mermaid diagrams from Markdown or render Mermaid as PNG | `../mermaid-tools/SKILL.md` |
| Create a professionally formatted Excel workbook, parse a complex investment-bank `.xlsm` model, or control Excel on macOS | `../excel-automation/SKILL.md` |
| Prepare printable ID/passport copies from existing photos, turn paper photos into a scanned PDF, replace scan pages, or make an unsigned digital document look hand-signed and scanned | `../photo-to-scanned-pdf/SKILL.md` |
| Extract Word/WPS DOCX comments or tracked changes; compare explicitly selected DOCX versions, using the verified sent baseline for counterpart feedback, including files with no review traces | `../read-docx-review/SKILL.md` |
| Check documentation impact after an authorized code, script, config, environment, path, deployment, auth, test, or procedure change; or consolidate redundant docs | `../docs-cleaner/SKILL.md` |

Decide by the **input and requested output**, not a shared word such as “PDF”
or “document.” For example, Markdown → PDF selects `pdf-creator`; an existing
Word manuscript → PDF selects `docx-creator`; PDF → Markdown selects
`doc-to-markdown`; PDF → HTML selects `pdf-to-html`. If the request spans two
results, read each relevant child before its stage.

For a manufacturer manual → Chinese illustrated guide (图文操作指南), select
`pdf-creator` and load its conditional illustrated-manual reference before
drafting. Use the sibling resolution above for any source-text or image
extraction stage; keep ordinary PDF reading/editing with its existing owner.

For website → Markdown, acquire the authorized pages through the owning web
workflow first, then select `doc-to-markdown` for the saved HTML. That conversion
branch does not crawl a site or certify presentation in a recipient's reader.

Do not select a Daymade child for a new slide deck or generic PPT work. Use
`deck-creator` for new presentation creation only when it is installed. If it
is unavailable, this suite has no automatic current PPT builder; external
users may explicitly invoke the retired `/daymade-docs:ppt-creator` for
its compatibility notice only, not PPT generation. General PDF reading/editing,
ordinary spreadsheet analysis, and other tasks without a matching row remain
with their owning skills or normal workflow. If the result is unclear, inspect
the actual file/task or ask for the missing input or output; do not guess a
Daymade child from an extension alone.

After an authorized code, script, config, environment, path, deployment, auth,
test, or procedure change, select `docs-cleaner` for a scoped documentation
impact check even if the user did not mention docs. Read its full instructions
at that stage; do not replace the primary task's specialist or scan unrelated
documentation. Explicit documentation impact and cleanup requests also route
there. A read-only investigation does not acquire write authorization through
this router.

© daymade · MIT · daymade/claude-code-skills

Similar skills

All skills for Office documents →

From the same set102

The whole set →
meme-creator The meme-creator skill tracks moving objects in a clip and places logos, avatars, or stickers over them, then exports MP4 and GIF files. Use it to make a reaction meme from footage. CX Codex +1 174installs agent-web-search-setup agent-web-search-setup — a skill for Claude Code and other platforms diagnoses and fixes web search when proxies return empty responses. CX Codex +1 162installs macos-permissions macos-permissions is a Claude Code skill that diagnoses TCC denials, Local Network alerts, and stuck Keychain prompts. Fixes broken grants in background LaunchAgents. CX Codex +1 152installs tech-selection tech-selection — a skill for Claude Code helps choose or reassess a library, framework, storage option, or architecture. It runs before a technical choice is finalized. CX Codex +1 151installs report-with-html report-with-html is a Claude Code skill that builds standalone visual HTML reports, dashboards, and review workbenches. Activates on requests for browser-based reports or interactive data views. CX Codex +1 143installs financial-router financial-router is a Claude Code skill that routes financial queries to specialist instructions. It directs tasks involving US fundamentals, A-share filings, Bigdata APIs, and Gangtise configuration. CX Codex +1 136installs claude-code-ops-router claude-code-ops-router is a Claude Code skill that selects a specialist skill for the requested operation. It distinguishes usage analysis from setting a one-time alert for a quota reset. CX Codex +1 135installs ghostty-use ghostty-use is a Claude Code skill that saves local Codex and Claude CLI sessions in Ghostty before a reboot and helps reopen selected tabs afterward. CX Codex +1 118installs

Project sponsors

Companies that keep this analytics open