Agent Skills
› Companion-Inc/feynman
› preview
preview
GitHub利用 pandoc 将 Markdown 或 LaTeX 渲染为 HTML 或 PDF,支持预览和导出报告。适用于审查文档、查看渲染结果及格式转换任务。
Trigger Scenarios
用户希望预览 Markdown 或 LaTeX 文档的渲染效果
需要将研究文档导出为 HTML 或 PDF 格式
Install
npx skills add Companion-Inc/feynman --skill preview -g -y
SKILL.md
Frontmatter
{
"name": "preview",
"description": "Render Markdown or LaTeX research artifacts to HTML or PDF with pandoc. Use when the user wants to review a written artifact, export a report, or view a rendered document."
}
Preview
Render Markdown or LaTeX artifacts with pandoc through the shell. feynman setup preview checks for pandoc, and feynman doctor reports whether it is available.
pandoc outputs/<slug>.md -s -o outputs/<slug>.html # HTML
pandoc outputs/<slug>.md -o outputs/<slug>.pdf # PDF (needs a LaTeX engine)
open outputs/<slug>.html # macOS; xdg-open on Linux
Rendered HTML and PDF files are previews; the Markdown artifact stays canonical. If pandoc or a LaTeX engine is missing, say so and leave the Markdown artifact as the deliverable.
Version History
-
9ac3955
Current 2026-09-28 01:37
移除不存在的 autoresearch 工具和 alpha patches 引用,明确仅列出可用的命令和工具,当前版本使用 pandoc 进行渲染。
- 54d08a3 2026-07-25 07:16


