summarize by mitsuhiko/agent-stuff
npx skills add https://github.com/mitsuhiko/agent-stuff --skill summarize将“事物”(URL、PDF、Word 文档、PowerPoint、HTML 页面、文本文件等)转换为 Markdown,以便它们可以像普通文本一样被检查/引用/处理。
markitdown 可以自行获取 URL;此技能主要包装它以方便保存和摘要。对于 PDF 输入,请使用 markitdown[pdf] 额外包(或下面的包装器,它现在会自动执行此操作)。
在以下情况下使用此技能:
从 此技能文件夹 运行(代理应首先 cd 到此目录):
uvx --from 'markitdown[pdf]' markitdown <url-or-path>
要将 Markdown 写入临时文件(打印路径),请使用包装器:
node to-markdown.mjs <url-or-path> --tmp
提示:进行摘要时,脚本将 始终 将完整转换后的 Markdown 写入临时 .md 文件,并 打印带有路径的最终“提示”行(以便您可以打开/检查完整内容)。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
将 Markdown 写入特定文件:
uvx --from 'markitdown[pdf]' markitdown <url-or-path> > /tmp/doc.md
仅当您提供 想要提取的内容 和 受众/目的 时,摘要才有用。
node to-markdown.mjs <url-or-path> --summary --prompt "总结关注点 X,面向受众 Y。提取 Z。"
或者:
node to-markdown.mjs <url-or-path> --summary --prompt "关注安全影响和待办事项。"
这将:
uvx --from 'markitdown[pdf]' markitdown 转换为 Markdown.md 文件,并将其路径作为“提示”行打印出来pi --model claude-haiku-4-5(无工具,无会话)以使用您的额外提示进行摘要每周安装量
85
仓库
GitHub 星标数
1.9K
首次出现
2026年2月7日
安全审计
安装于
codex74
opencode65
claude-code62
amp62
gemini-cli53
github-copilot52
Turn “things” (URLs, PDFs, Word docs, PowerPoints, HTML pages, text files, etc.) into Markdown so they can be inspected/quoted/processed like normal text.
markitdown can fetch URLs by itself; this skill mainly wraps it to make saving + summarizing convenient. For PDF inputs, use the markitdown[pdf] extra (or the wrapper below, which now does this automatically).
Use this skill when you need to:
Run from this skill folder (the agent should cd here first):
uvx --from 'markitdown[pdf]' markitdown <url-or-path>
To write Markdown to a temp file (prints the path) use the wrapper:
node to-markdown.mjs <url-or-path> --tmp
Tip: when summarizing, the script will always write the full converted Markdown to a temp .md file and will always print a final "Hint" line with the path (so you can open/inspect the full content).
Write Markdown to a specific file:
uvx --from 'markitdown[pdf]' markitdown <url-or-path> > /tmp/doc.md
Summaries are only useful when you provide what you want extracted and the audience/purpose.
node to-markdown.mjs <url-or-path> --summary --prompt "Summarize focusing on X, for audience Y. Extract Z."
Or:
node to-markdown.mjs <url-or-path> --summary --prompt "Focus on security implications and action items."
This will:
uvx --from 'markitdown[pdf]' markitdown.md file and print its path as a "Hint" linepi --model claude-haiku-4-5 (no-tools, no-session) to summarize using your extra promptWeekly Installs
85
Repository
GitHub Stars
1.9K
First Seen
Feb 7, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex74
opencode65
claude-code62
amp62
gemini-cli53
github-copilot52
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
46,600 周安装