Install
openclaw skills install agent-readerDocument beautifier for AI Agents. Converts Markdown to styled webpages, Word, PDF, and image slideshows — the 'last mile' rendering engine for AI output. 专为 AI Agent 设计的文档美化引擎,一键把 Markdown 变成漂亮网页、Word、PDF 和幻灯片。
openclaw skills install agent-readerDocument beautifier engine for AI Agents. Turn raw Markdown into delivery-ready documents. AI Agent 的文档美化引擎,把 Markdown 变成可交付的专业文档。
| Tool | What it does |
|---|---|
render_markdown | Markdown → styled webpage with sidebar TOC, code highlighting; can pre-generate PDF/DOCX files 带目录导航的网页,可预生成 PDF/DOCX |
export_document | Markdown → PDF or Word (.docx) with smart formatting 导出 PDF/Word |
create_slideshow | Images → full-screen slideshow with keyboard nav & auto-play 图片幻灯片 |
export_slideshow | Slideshow → PDF or standalone HTML 导出幻灯片 |
open_file | Smart open — auto-picks format based on user preferences 智能打开 |
configure_user_preferences | Set default output format, theme, etc. 设置偏好 |
get_user_preferences | Read current preferences 读取偏好 |
export_document (format: "pdf" or "docx")render_markdownexport_documentcreate_slideshow or export_slideshowopen_fileopen_file (auto-selects based on preferences)Add to your MCP config (Claude Desktop, Cline, OpenClaw, etc.):
{
"mcpServers": {
"agent-reader": {
"command": "npx",
"args": ["-y", "agent-reader", "mcp"]
}
}
}
{ "content": "# My Report\n\nHello world...", "theme": "light" }
{ "content": "# My Report\n\nHello world...", "pre_export": ["pdf", "docx"] }
{ "content": "# My Report\n\n...", "format": "pdf" }
{ "content": "# My Report\n\n...", "format": "docx" }
{ "image_dir": "/path/to/images", "auto_play": 5 }
content — Markdown text to render/export Markdown 内容format — "pdf" or "docx" (for export_document); "pdf" or "html" (for export_slideshow)source_path — original .md file path, needed if Markdown references local images 原始文件路径(有本地图片时需要)theme — "light" (default) or "dark"pre_export — optional ["pdf"] or ["pdf", "docx"]; when returning a file path, MCP defaults to pre-generating PDF 可选预生成导出文件;MCP 返回文件路径时默认预生成 PDFreturn_content — set true to get base64/HTML string instead of file path (for sandbox/Docker)return_content: true keeps inline HTML behavior unless pre_export is explicitly set return_content: true 默认保持内联返回;显式传 pre_export 时会落盘输出/tmp/agent-reader/ — no side effects 输出仅写入 /tmp