Back to Skills

summarize

swarmclawai
Updated 6 days ago
560
113
560
View on GitHub
Designgeneral

About

The `summarize` skill extracts and summarizes content from URLs, local files, and YouTube videos via CLI. It can generate summaries or full transcripts, particularly useful for articles, videos, and podcasts. Developers need the `summarize` binary installed to use this skill within Claude.

Quick Install

Claude Code

Recommended
Primary
npx skills add swarmclawai/swarmclaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/swarmclawai/swarmclaw
Git CloneAlternative
git clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/summarize

Copy and paste this command in Claude Code to install this skill

Documentation

Summarize

Fast CLI to summarize URLs, local files, and YouTube links.

Quick Start

summarize "https://example.com" --model google/gemini-3-flash-preview
summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto

YouTube: Summary vs Transcript

Best-effort transcript extraction (URLs only):

summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only

If the user asked for a transcript but it's very long, return a tight summary first, then ask which section or time range to expand.

Model + Keys

Set the API key for your chosen provider:

  • OpenAI: OPENAI_API_KEY
  • Anthropic: ANTHROPIC_API_KEY
  • xAI: XAI_API_KEY
  • Google: GEMINI_API_KEY (aliases: GOOGLE_GENERATIVE_AI_API_KEY, GOOGLE_API_KEY)

Default model is google/gemini-3-flash-preview if none is set.

Useful Flags

  • --length short|medium|long|xl|xxl|<chars> — control summary length
  • --max-output-tokens <count> — hard token limit
  • --extract-only — extract raw text without summarizing (URLs only)
  • --json — machine-readable output
  • --firecrawl auto|off|always — fallback extraction for blocked sites
  • --youtube auto — Apify fallback if APIFY_API_TOKEN is set

Config

Optional config file: ~/.summarize/config.json

{ "model": "openai/gpt-5.2" }

Optional services:

  • FIRECRAWL_API_KEY for blocked sites
  • APIFY_API_TOKEN for YouTube fallback

GitHub Repository

swarmclawai/swarmclaw
Path: skills/summarize
0
agent-frameworkagent-memoryagent-runtimeagent-swarmagentsai

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill