AI Agent Hub
Back to skills
Summarize CLI icon

Summarize CLI

Knowledge Management Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_dd0cd521/cn20260415 in your AI assistant.

About this skill

Problem

When summarizing web pages, local files, or YouTube content for indexing, comparison, or downstream automation, the hard part is often inconsistent input formats, anti-scraping limits, unreliable transcript retrieval, and uneven output length. Summarize-1.0 puts these sources behind one CLI: generate model summaries and emit machine-readable results with --json, which fits scripts, ingestion pipelines, and knowledge-management workflows.

How It Works

  • Inputs: supports URLs, local files, and YouTube links, making it useful for extracting key points from heterogeneous sources.
  • Model access: set OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, or GEMINI_API_KEY for your provider; the default model is google/gemini-3-flash-preview.
  • Length control: use --length short|medium|long|xl|xxl and --max-output-tokens to tune summary granularity.
  • Extraction and fallback: --extract-only handles URL content only; --firecrawl auto|off|always can use FIRECRAWL_API_KEY for restricted sites; --youtube auto enables Apify fallback when APIFY_API_TOKEN is configured.
  • Output format: --json makes results easier to parse, store, or compare in batch.

Boundaries and Notes

This skill focuses on summary generation rather than full crawling or long-term memory. Highly dynamic pages, login-gated content, or paywalled material may still depend on external extraction services, and YouTube fallback depends on token and third-party availability. If downstream use requires auditing, keep the source URL, capture time, or local file path alongside the summary.

Use Cases

  • Summarize competitor pages, tech blogs, and local docs into uniform notes for meetings.
  • Batch-process local Markdown and URLs in a script, then store JSON summaries for indexing.
  • Generate summaries for YouTube tutorials while keeping source links for team review.
  • Compare summary granularity on the same page with --length to pick the version for storage.

Best For

  • Analysts who need competitor pages and docs condensed into uniform notes
  • Engineers maintaining document indexes and converting Markdown into JSON summaries
  • Editors curating technical tutorials with YouTube summaries and source links
  • Pipeline engineers who need standardized URL summaries for knowledge bases