summarize

Convert URLs, PDFs, DOCX, and HTML into Markdown text.

2|Updated Nov 9, 2021
One-click install
npx skills add https://github.com/adampetrovic/dotfiles --skill summarize-adampetrovic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: summarize
Source: https://github.com/adampetrovic/dotfiles/tree/main/dot_pi/agent/skills/summarize
Command: npx skills add https://github.com/adampetrovic/dotfiles --skill summarize-adampetrovic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of converting various document formats (URLs, PDFs, DOCX, etc.) into Markdown, making them easily inspectable, quotable, and processable, with an optional summarization feature.

Core Features & Use Cases

  • Universal Conversion: Transforms web pages, local files (PDF, DOCX, PPTX), and HTML into Markdown.
  • On-Demand Summarization: Generates concise summaries of documents, focusing on user-specified aspects.
  • Use Case: Quickly get the gist of a long research paper or a complex web article by converting it to Markdown and then generating a summary tailored to your specific interests.

Quick Start

Convert the content of the URL 'https://example.com' to Markdown and save it to a temporary file.

Frequently Asked Questions about summarize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PDF to Markdown and summarize it?

To convert a PDF to Markdown and summarize it, this Skill transforms the PDF content into Markdown text and optionally generates a concise summary using the claude-haiku-4-5 model. You can specify a custom prompt to focus the summary on your specific interests.

Can I convert HTML and DOCX files to Markdown text?

Yes, you can convert HTML and DOCX files to Markdown text. This Skill supports universal conversion of web pages, local files including DOCX and PPTX, and HTML into Markdown, making the content easily inspectable and processable.

What is the best way to summarize long web pages from a URL?

The best way to summarize long web pages from a URL is converting the URL content to Markdown and then applying a custom summarization prompt. This Skill handles large documents by truncating input for summarization while preserving the full Markdown output.

Does converting large PDFs to Markdown result in truncated content?

Converting large PDFs to Markdown preserves the full document content in the output path. However, when generating an optional summary, the input is truncated to handle the document size limits of the claude-haiku-4-5 model.

How do I get a custom summary of a research paper?

To get a custom summary of a research paper, convert the document to Markdown and provide a specified summarization prompt. This Skill uses the prompt with the claude-haiku-4-5 model to generate a summary tailored to your specific aspects of interest.

Do I need any dependencies to convert URLs and local files to Markdown?

No external dependencies are required to convert URLs and local files to Markdown. This Skill operates independently using internal scripts to transform various input formats into Markdown text and optionally summarize them.