summarize

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
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.
将各类内容(URL、PDF、Word文档、PPT、HTML页面、文本文件等)转换为Markdown格式,以便像处理普通文本一样对其进行查看、引用或加工。
markitdown
本身即可获取URL内容;本Skill主要对其进行封装,让保存和生成摘要的操作更便捷。

When to use

适用场景

Use this skill when you need to:
  • pull down a web page as a document-like Markdown representation
  • convert binary docs (PDF/DOCX/PPTX) into Markdown for analysis
  • quickly produce a short summary of a long document before deeper work
在以下场景中可使用本Skill:
  • 将网页转换为类文档的Markdown格式
  • 将二进制文档(PDF/DOCX/PPTX)转换为Markdown以便分析
  • 在深入处理长文档前快速生成简短摘要

Quick usage

快速使用指南

Convert a URL or file to Markdown

将URL或文件转换为Markdown

Run from this skill folder (the agent should
cd
here first):
bash
uvx markitdown <url-or-path>
To write Markdown to a temp file (prints the path) use the wrapper:
bash
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:
bash
uvx markitdown <url-or-path> > /tmp/doc.md
请在本Skill所在文件夹中运行(Agent需先执行
cd
命令进入该文件夹):
bash
uvx markitdown <url-or-path>
若要将Markdown内容写入临时文件(会打印文件路径),请使用封装脚本:
bash
node to-markdown.mjs <url-or-path> --tmp
提示:生成摘要时,脚本始终会将完整的转换后Markdown内容写入临时
.md
文件,并且始终会在最后打印一条包含文件路径的“提示”行(方便你打开查看完整内容)。
将Markdown内容写入指定文件:
bash
uvx markitdown <url-or-path> > /tmp/doc.md

Convert + summarize with haiku-4-5 (pass context!)

结合claude-haiku-4-5进行转换+生成摘要(请传入上下文信息!)

Summaries are only useful when you provide what you want extracted and the audience/purpose.
bash
node to-markdown.mjs <url-or-path> --summary --prompt "Summarize focusing on X, for audience Y. Extract Z."
Or:
bash
node to-markdown.mjs <url-or-path> --summary --prompt "Focus on security implications and action items."
This will:
  1. convert to Markdown via
    uvx markitdown
  2. write the full Markdown to a temp
    .md
    file and print its path as a "Hint" line
  3. run
    pi --model claude-haiku-4-5
    (no-tools, no-session) to summarize using your extra prompt
只有当你提供需要提取的内容以及受众/用途时,摘要才会有实际价值。
bash
node to-markdown.mjs <url-or-path> --summary --prompt "Summarize focusing on X, for audience Y. Extract Z."
或者:
bash
node to-markdown.mjs <url-or-path> --summary --prompt "Focus on security implications and action items."
执行以上命令后会完成以下操作:
  1. 通过
    uvx markitdown
    将内容转换为Markdown格式
  2. 将完整的Markdown内容写入临时
    .md
    文件,并在“提示”行中打印其路径
  3. 运行
    pi --model claude-haiku-4-5
    (无工具、无会话模式),结合你提供的额外提示生成摘要