Skip to content
Development
Skill

/summarize

Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video.

From plugin
swarmclaw
63611 skills
Install
$ npx -y skills add swarmclawai/swarmclaw --skill summarize --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ†’
  • You can call itInvoke it directly when you want it.
  • Slash command/summarize

Context preview

The summary Claude sees to decide when to auto-load this skill.

Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video.

SKILL.md

summarize.SKILL.md
name: summarize
description: Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video.
metadata:
  {
    "openclaw":
      {
        "emoji": "๐Ÿงพ",
        "requires": { "bins": ["summarize"] },
        "install":
          [
            {
              "id": "brew",
              "kind": "brew",
              "formula": "steipete/tap/summarize",
              "bins": ["summarize"],
              "label": "Install summarize (brew)",
            },
          ],
      },
  }

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
Read more
Ships withswarmclaw

The self-hosted AI agent runtime and multi-agent framework for autonomous agents. Open-source agent swarms with durable agent memory, MCP tools, skills, delegation, schedules, and 23+ LLM providers โ€” a practical Claude Code and LangChain alternative.

Get the whole plugin

Other skills on swarmclaw.