Skip to content

Turns URLs and local documents like PDF, DOCX, and HTML into Markdown, with optional Haiku-based summaries.

CCM score
62 of 100
skills.sh installs
266
GitHub stars
3.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers converting web pages and binary documents such as PDF, DOCX, and PPTX into Markdown for inspection
  • Provides the to-markdown.mjs wrapper, which writes full output to a temp file with --tmp and prints a path hint
  • Supports --summary and --prompt to pass audience and focus instructions to a Haiku summarization step
  • Designed for quick analysis of long documents before deeper work, or for saving pages to Markdown

Install

$ npx -y skills add mitsuhiko/agent-stuff --skill summarize -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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).

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

Quick usage

Convert a URL or file to Markdown

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:

Details

Repository
github.com/mitsuhiko/agent-stuff
Categories
Office Files & Slides, Research & Academic, Productivity & Notes
First seen
Jun 3, 2026

Questions

What does the summarize skill do?

The summarize skill fetches a URL or converts a local file such as a PDF, DOCX or HTML page into Markdown using uvx markitdown. It can also produce a short summary of the converted document, guided by a prompt you provide.

How do I install the summarize skill?

Run npx -y skills add mitsuhiko/agent-stuff --skill summarize -y in your project. Once installed, the agent can convert URLs and documents into Markdown for inspection, quoting or further processing.

Which tools does the summarize skill need to run?

The skill runs markitdown through uvx, so uv must be available, and PDF inputs use the markitdown[pdf] extra. Its summary mode calls the pi CLI with a Claude Haiku model, so that tool is needed for summaries.

Where does the summarize skill stand in Office Files & Slides?

Within the Office Files & Slides category, summarize sits alongside skills such as slideshow and several lark document skills. It differs by focusing on turning any URL or document into Markdown and summarizing it.

More from mitsuhiko/agent-stuff

All 6

Similar to Summarize

More Office Files & Slides