SkillsGrove
SkillsGrove/Vídeo corto y creadores/jholhewres/devclaw-skills/summarize

summarize

Instalación

$npx skills add https://github.com/jholhewres/devclaw-skills --skill summarize
$git clone --depth 1 https://github.com/jholhewres/devclaw-skills.git /tmp/devclaw-skills && mkdir -p ~/.claude/skills && cp -r /tmp/devclaw-skills/skills/summarize ~/.claude/skills/summarize
Instala por favor esta Agent Skill por mí: https://github.com/jholhewres/devclaw-skills/tree/0177c36eb6dcdfe3f891fd332ef538a3d84cc693/skills/summarize. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · MITSummarize URLs, articles, YouTube videos, podcasts, and files
El SKILL.md siguiente se reproduce de jholhewres/devclaw-skills (commit 0177c36) bajo la licencia MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 DevClaw. Licencia: LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

Summarize

You can summarize content from various sources: web pages, articles, YouTube videos, and files.

Setup

yt-dlp (for YouTube transcripts):

  • macOS: brew install yt-dlp
  • Ubuntu: sudo apt install yt-dlp (or pip install yt-dlp)

pdftotext (for PDF extraction):

  • macOS: brew install poppler
  • Ubuntu: sudo apt install poppler-utils

readable (optional, better web extraction): npm install -g @mozilla/readability-cli

Summarizing a web page

  1. Fetch the page content:
# Method 1: curl + HTML strip (works everywhere)
curl -sL "URL" | sed 's/<script[^>]*>.*<\/script>//g' | sed 's/<style[^>]*>.*<\/style>//g' | sed 's/<[^>]*>//g' | sed '/^[[:space:]]*$/d' | head -500

# Method 2: readability-cli (better extraction, if installed)
readable "URL" 2>/dev/null | head -500
  1. Then summarize the extracted text using your reasoning capabilities.

YouTube video transcripts

# Get auto-generated subtitles (requires yt-dlp)
yt-dlp --write-auto-subs --skip-download --sub-lang pt,en -o "/tmp/%(id)s" "VIDEO_URL" 2>/dev/null
cat /tmp/*.vtt 2>/dev/null | grep -v "^[0-9]" | grep -v "^$" | grep -v "WEBVTT" | grep -v "^NOTE" | grep -v "\-\->" | sort -u

# Alternative: get video info first
yt-dlp --print title --print duration_string --print description "VIDEO_URL" 2>/dev/null

PDF files

# Extract text from PDF (requires pdftotext)
pdftotext /path/to/file.pdf - | head -500

# Alternative with python
python3 -c "
import subprocess
text = subprocess.check_output(['pdftotext', '/path/to/file.pdf', '-']).decode()
print(text[:5000])
"

Summarization guidelines

When summarizing, follow these best practices:

  1. Brief summary (default): 3-5 bullet points with the key takeaways.
  2. Detailed summary: Structured with sections, preserving important details.
  3. TL;DR: One sentence capturing the essence.

Always:

  • Preserve key facts, names, dates, and numbers.
  • Maintain the original language unless the user asks otherwise.
  • For technical content, keep important code snippets and terminology.
  • Mention the source URL/title in your summary.
  • Ask the user what level of detail they want if not specified.

Tips

  • Combine with web-search to find content, then summarize it.
  • For very long content, break into sections and summarize each.
  • Use head -N or tail -N to limit input when content is too large.
  • If yt-dlp is not installed: pip install yt-dlp or brew install yt-dlp.

Triggers

summarize, summary, transcribe, transcript, what does this video say, read and summarize, tl;dr, resumir, resumo, transcrever

Ver el texto completo de la licencia (MIT)
MIT License

Copyright (c) 2026 DevClaw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.