AI Agent Hub
Back to skills
Fast Summarization CLI icon

Fast Summarization CLI

Knowledge Management Updated 2026.08.30

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

Please install @user_4c214a56/summarize23 according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When summarizing web pages, local documents, or YouTube videos, the friction is often not just prompt wording: it is extracting readable content, handling different input types, and controlling output length. Copying raw pages into a model can miss the main article, subtitles, or accessibility constraints.

How it works

summarize23 is a CLI for three input types: URLs, local files, and YouTube links. It chooses an extraction path per input: ordinary URLs can be fetched and cleaned, YouTube links can use an automatic fallback, and local files are read directly. The extracted content is then sent to an LLM with a requested length and token cap.

Core capabilities:
- Multiple model providers: supports OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, and GEMINI_API_KEY; the default model is google/gemini-3-flash-preview.
- Output control: --length ranges from short to xxl, and --max-output-tokens caps generation.
- Structured output: --json emits machine-readable results for scripts.
- Extraction fallbacks: --firecrawl and --youtube can activate optional services such as FIRECRAWL_API_KEY or APIFY_API_TOKEN.

Boundaries

This fits lightweight extract-then-summarize workflows: reading public pages, organizing documents, and generating video takeaways. It is not a substitute for authentication, anti-bot handling, subtitle retrieval, or fact-checking when content is restricted or inaccurate. For engineers, it is closer to a content preprocessing pipeline than a full crawler system. Optional config lives in ~/.summarize/config.json.

Use Cases

  • A frontend engineer reads a public docs URL during debugging and generates a medium summary to locate behavior.
  • A research assistant summarizes local Markdown files with `--length short` and `--json` for batch output.
  • A content operator summarizes a YouTube tutorial using a long summary and checks automatic fallback support.
  • A data engineer extracts a restricted page with `--firecrawl auto` before summarizing the content.

Best For

  • Frontend engineers who need to turn public web pages into summaries for script-based debugging notes.
  • Research assistants who need to batch-process local Markdown or documents and emit JSON summaries.
  • Content operators who need to extract key points from YouTube videos for editorial planning.
  • Data engineers who need to extract restricted-site content before generating summaries.