← Back to Skills Marketplace
ebbfijsf

Agent Reader

by clare · GitHub ↗ · v1.3.7 · MIT-0
cross-platform ✓ Security Clean
392
Downloads
1
Stars
2
Active Installs
11
Versions
Install in OpenClaw
/install agent-reader
Description
Document beautifier for AI Agents. Converts Markdown to styled webpages, Word, PDF, and image slideshows — the 'last mile' rendering engine for AI output. 专为...
README (SKILL.md)

Agent Reader

Document beautifier engine for AI Agents. Turn raw Markdown into delivery-ready documents. AI Agent 的文档美化引擎,把 Markdown 变成可交付的专业文档。

Tools / 工具

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 读取偏好

When to use / 什么时候调用

  • User wants a report formatted → export_document (format: "pdf" or "docx")
  • User says "make it a webpage" → render_markdown
  • User says "export to Word/PDF" → export_document
  • User has images for a presentation → create_slideshow or export_slideshow
  • User says "open this file" → open_file
  • No format specified → open_file (auto-selects based on preferences)

Setup / 接入

Add to your MCP config (Claude Desktop, Cline, OpenClaw, etc.):

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

Quick examples / 快速示例

Render a webpage 渲染网页

{ "content": "# My Report\
\
Hello world...", "theme": "light" }

Render with pre-export 预生成导出文件

{ "content": "# My Report\
\
Hello world...", "pre_export": ["pdf", "docx"] }

Export to PDF 导出 PDF

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

Export to Word 导出 Word

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

Create slideshow from images 图片做幻灯片

{ "image_dir": "/path/to/images", "auto_play": 5 }

Key parameters / 关键参数

  • 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 返回文件路径时默认预生成 PDF
  • return_content — set true to get base64/HTML string instead of file path (for sandbox/Docker)

Notes / 注意事项

  • PDF export requires Puppeteer (auto-installed on first use) PDF 导出需要 Puppeteer
  • Word export works without Pandoc, but Pandoc produces better formatting Word 导出无需 Pandoc 也能用
  • return_content: true keeps inline HTML behavior unless pre_export is explicitly set return_content: true 默认保持内联返回;显式传 pre_export 时会落盘输出
  • All output writes to /tmp/agent-reader/ — no side effects 输出仅写入 /tmp
  • MIT licensed, open source 开源协议

Links

Usage Guidance
This skill appears coherent for converting Markdown to webpages, PDFs, DOCX and slides. Before installing or enabling it: 1) verify the npm package and GitHub repo linked in SKILL.md (review package contents and maintainers) because the setup uses `npx` which fetches and runs remote code; 2) be aware Puppeteer will download Chromium (large binary and additional network activity); 3) avoid passing sensitive system paths as source_path or image_dir — the tool can read local files and can return file content (base64/HTML) which could be exfiltrated if misused; 4) prefer pinning an explicit package version instead of always pulling latest, and if possible run the MCP server for this skill in a sandboxed environment (container) to limit filesystem/network exposure. If you want, I can check the npm package or GitHub repo for more details before you install.
Capability Analysis
Type: OpenClaw Skill Name: agent-reader Version: 1.3.7 The agent-reader skill is a document conversion utility designed to transform Markdown into PDF, DOCX, and HTML formats. The provided files (SKILL.md, schema.json) describe standard document processing functionality, with output restricted to /tmp/agent-reader/ and no evidence of data exfiltration, malicious execution, or prompt injection. While there is a discrepancy between the tools listed in the documentation and those defined in the schema (e.g., open_file is missing), this appears to be a development oversight rather than a malicious indicator.
Capability Assessment
Purpose & Capability
Name, description, tools table and schema all describe Markdown → HTML/PDF/DOCX/slideshow conversion; required inputs (content, source_path, image_dir) and outputs align with the stated purpose. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md stays within scope: it documents rendering/export APIs, mentions local source_path and image_dir (expected for images), and says output writes to /tmp/agent-reader. It does instruct adding an MCP config that uses `npx` to fetch/run the package — this causes remote code to be executed when installed, and the tool may read user-supplied local paths (source_path/image_dir), which is expected but should be used cautiously.
Install Mechanism
No install spec in the registry entry, but SKILL.md instructs using `npx -y agent-reader mcp` which will fetch the package from npm at runtime. The SKILL.md also warns Puppeteer will be auto-installed (and Puppeteer typically downloads a Chromium binary). These are normal for a rendering tool but do involve network downloads and running third-party code.
Credentials
The skill requests no environment variables or credentials. It accepts file paths (source_path, image_dir) which legitimately allow reading local files for conversion. Returning file content via base64/inline HTML is supported — this is expected but could leak sensitive data if misused.
Persistence & Privilege
Skill is not always-included, is user-invocable, and allows model invocation (normal). It does not request persistent system privileges or modify other skills' configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-reader
  3. After installation, invoke the skill by name or use /agent-reader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.7
Fix PDF button and strikethrough rendering
v1.3.6
Embed DOCX base64 in HTML for file:// download
v1.3.5
Fix file:// download CORS error
v1.3.4
Fix file:// download not triggering in Chrome
v1.3.3
Fix display name to Agent Reader
v1.3.2
Dramatically improved Word export quality: styled headings, tables with purple headers, blockquotes, code blocks with background. CLI and MCP now pre-generate PDF+DOCX by default. Fixed content loss and HTTP 500 bugs. Table cells center-aligned across all formats.
v1.3.1
Fix display name to Agent Reader
v1.3.0
Fix file:// protocol export buttons; add pre_export parameter for pre-generating PDF/DOCX alongside HTML
v1.2.2
- Updated skill version to 1.2.2. - SKILL.md now specifies MIT license and open source status in the Notes section. - Removed Glama AAA certification and "OpenClaw vetted" notices from documentation.
v1.2.1
Rewrite SKILL.md: bilingual (EN/CN), concise format, add security certifications (Glama AAA, OpenClaw vetted)
v1.2.0
- 新增详细功能列表和工具参数说明,介绍 Markdown 渲染、PDF/Word 导出、图片转幻灯片等能力 - 补充如何在 OpenClaw 接入,包括 MCP 直连与 CLI 调用示例 - 明确各工具的输入/输出字段及返回示例,方便集成和调试 - 标注常见错误类型和处理方法,提升易用性与可维护性 - 增加常用场景调用指引,让用户更易理解如何选择合适的工具
Metadata
Slug agent-reader
Version 1.3.7
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 11
Frequently Asked Questions

What is Agent Reader?

Document beautifier for AI Agents. Converts Markdown to styled webpages, Word, PDF, and image slideshows — the 'last mile' rendering engine for AI output. 专为... It is an AI Agent Skill for Claude Code / OpenClaw, with 392 downloads so far.

How do I install Agent Reader?

Run "/install agent-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Reader free?

Yes, Agent Reader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent Reader support?

Agent Reader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Reader?

It is built and maintained by clare (@ebbfijsf); the current version is v1.3.7.

💬 Comments