xopcai

summarize

Summarize URLs, files, and YouTube videos.

xopcai 39 7 Actualitzat fa 1 mes
GitHub

Instal·la

npx skillscat add xopcai/xopc/summarize

Instal·la des del registre de SkillsCat.

SKILL.md

Summarize Skill

Summarize content from URLs, files, and YouTube videos.

Usage

Summarize a URL

Use the web_fetch tool to fetch and summarize web pages:

web_fetch url="https://example.com/article"

Summarize a File

read_file path="/path/to/file.md"

Summarize a YouTube Video

web_fetch url="https://yewtu.be/watch?v=VIDEO_ID"

Techniques

For Long Content

  1. Split into chunks (~2000 tokens each)
  2. Summarize each chunk
  3. Combine summaries

For Technical Docs

  1. Extract code examples
  2. Note prerequisites
  3. List key concepts/terms

Example Prompts

For a URL:
"Read the URL and summarize: Main topic, Key points (3-5 bullet points), Any actionable items"

For a file:
"Analyze this file and provide: File type and purpose, Key functions/classes, Dependencies"