返回顶部
a

agent-readerAI文档美化

Document 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 和幻灯片。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.3.7
安全检测
已通过
357
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

agent-reader

Agent Reader

AI Agent 的文档美化引擎,把 Markdown 变成可交付的专业文档。

Tools / 工具

工具功能
rendermarkdownMarkdown → 带目录导航的样式化网页,支持代码高亮;可预生成 PDF/DOCX 文件
exportdocument
Markdown → 智能排版的 PDF 或 Word (.docx) 文档 | | create_slideshow | 图片 → 全屏幻灯片,支持键盘导航和自动播放 | | export_slideshow | 幻灯片 → PDF 或独立 HTML 文件 | | open_file | 智能打开 — 根据用户偏好自动选择格式 | | configureuserpreferences | 设置默认输出格式、主题等偏好 | | getuserpreferences | 读取当前偏好设置 |

When to use / 什么时候调用

  • - 用户需要格式化报告 → exportdocument (格式: pdf 或 docx)
  • 用户说做成网页 → rendermarkdown
  • 用户说导出为 Word/PDF → exportdocument
  • 用户有图片要做演示 → createslideshow 或 exportslideshow
  • 用户说打开这个文件 → openfile
  • 未指定格式 → open_file (根据偏好自动选择)

Setup / 接入

添加到你的 MCP 配置中 (Claude Desktop, Cline, OpenClaw 等):

json
{
mcpServers: {
agent-reader: {
command: npx,
args: [-y, agent-reader, mcp]
}
}
}

Quick examples / 快速示例

渲染网页

json { content: # My Report\n\nHello world..., theme: light }

预生成导出文件

json { content: # My Report\n\nHello world..., pre_export: [pdf, docx] }

导出 PDF

json { content: # My Report\n\n..., format: pdf }

导出 Word

json { content: # My Report\n\n..., format: docx }

图片做幻灯片

json { imagedir: /path/to/images, autoplay: 5 }

Key parameters / 关键参数

  • - content — 要渲染/导出的 Markdown 文本内容
  • format — pdf 或 docx (用于 exportdocument);pdf 或 html (用于 exportslideshow)
  • sourcepath — 原始 .md 文件路径,当 Markdown 引用本地图片时需要
  • theme — light (默认) 或 dark
  • preexport — 可选 [pdf] 或 [pdf, docx];返回文件路径时,MCP 默认预生成 PDF
  • return_content — 设为 true 可获取 base64/HTML 字符串而非文件路径 (适用于沙箱/Docker 环境)

Notes / 注意事项

  • - PDF 导出需要 Puppeteer (首次使用自动安装)
  • Word 导出无需 Pandoc 也能用,但使用 Pandoc 可获得更好的排版效果
  • returncontent: true 默认保持内联返回;显式传入 preexport 时会落盘输出
  • 所有输出写入 /tmp/agent-reader/ — 无副作用
  • 采用 MIT 开源协议

Links

  • - GitHub: https://github.com/ebbfijsf/agent-reader
  • npm: https://www.npmjs.com/package/agent-reader
  • Glama: https://glama.ai/mcp/servers/ebbfijsf/agent-reader

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-reader-1776071648 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-reader-1776071648 技能

通过命令行安装

skillhub install agent-reader-1776071648

下载

⬇ 下载 agent-reader v1.3.7(免费)

文件大小: 3.54 KB | 发布时间: 2026-4-14 15:56

v1.3.7 最新 2026-4-14 15:56
Fix PDF button and strikethrough rendering

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部