---
name: miyo-parse
description: Parse a local PDF or EPUB file into Markdown/text with the local Miyo CLI. Use this for document reading when Miyo is the selected Document Processor. The file can be anywhere on the filesystem and does not need to be indexed or copied into the vault.
metadata:
copilot-enabled-agents: claude, codex, opencode
Use Miyo to extract Markdown/text from one PDF or EPUB. Parsing runs locally,
works for files anywhere on the filesystem, and does not require the Miyo
service to be running.
Find the absolute path to this SKILL.md file, then run the adjacent wrapper
with exactly one quoted file path.
On macOS or Linux:
sh "/absolute/path/to/this/skill/directory/miyo-parse.sh" "/absolute/path/to/document.pdf"
On Windows PowerShell:
& "/absolute/path/to/this/skill/directory/miyo-parse.cmd" "C:\absolute\path\to\document.pdf"
The wrapper prints the parsed Markdown/text to stdout. Use that output to
answer the user's question.
Report the error clearly and stop parsing that document. Never fall back tocopilot-read-pdf or any other cloud document parser: selecting Miyo is an
explicit local-processing choice. Do not retry in a loop.
If it reports that the Miyo CLI is not installed, say that pointing Copilot at a
remote Miyo server does not help here, and that the user's options are to
install Miyo on this machine or switch Settings → Copilot → Miyo → Document
Processor to Plus.