summarize

summarize is a skill for Claude Code, Codex from mitsuhiko/agent-stuff. It costs 35 tokens per session (549 once invoked), scanned A, original, Apache-2.0.

A document converter that turns URLs and local files such as PDFs, Word documents, PowerPoints, HTML, and text into Markdown. Markdown is plain text with simple formatting that is easy to inspect and process.

In plain words
What is it for?
Use it to fetch a web page, convert a local document, save the resulting Markdown, or produce a short summary.
Why use it?
It gives different document types one consistent text format, making their contents easier to read, quote, analyze, or summarize.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch a web page, convert a local document, save the resulting Markdown, or produce a short summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mitsuhiko/agent-stuff/summarize
About the project

Agent Stuff is a personal package of reusable skills, extensions, prompt commands, themes, and utilities for the Pi Coding Agent. Its author uses these tools across projects, and the catalogue entries are components from this package that support that workflow.

mitsuhiko/agent-stuff · 3,192 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mitsuhiko/agent-stuff --skill summarize
Clone the repo
git clone --depth 1 https://github.com/mitsuhiko/agent-stuff

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for summarize

README.md
[![agentmods](https://agentmods.dev/badge/skills/mitsuhiko/agent-stuff/summarize/github.svg)](https://agentmods.dev/skills/mitsuhiko/agent-stuff/summarize)
Your own site
<a href="https://agentmods.dev/skills/mitsuhiko/agent-stuff/summarize"><img src="https://agentmods.dev/badge/skills/mitsuhiko/agent-stuff/summarize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for summarize

Your own site · 80×15
<a href="https://agentmods.dev/skills/mitsuhiko/agent-stuff/summarize"><img src="https://agentmods.dev/badge/skills/mitsuhiko/agent-stuff/summarize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Excessive Agency · line 59
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium MCP Rug Pull · line 3
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00549
Opus 5.5 $0.00014 $0.00220
Sonnet 5.5 $0.00007 $0.00110
Haiku 4.5 $0.00003 $0.00055

Measured 1mo ago against content hash 3100cd6a8b45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

summarize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (to-markdown.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/summarize/SKILL.md · 60 lines

What it actually says

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:

uvx --from 'markitdown[pdf]' markitdown <url-or-path> > /tmp/doc.md

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

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:

  1. convert to Markdown via uvx --from 'markitdown[pdf]' 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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 60 lines · 35 tokens per session scan A 3100cd6a8b45

Subscribe to this mod's changes

summarize is a skill published in the GitHub repository mitsuhiko/agent-stuff (3,192 stars, last pushed 21d ago), licensed Apache-2.0. It adds 35 tokens to every session and 549 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Fetches URLs and PDFs, then summarizes or returns clean Markdown; can also search the web through DeepSeek when built-in search is thin. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.

tw93/Waza · 61 tokens