AI Agent Hub
Back to skills
Data File Summarizer icon

Data File Summarizer

Knowledge Management Updated 2026.08.30

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

Install @user_a71e4ceb/summarize-skill-02 into your AI assistant according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Summarizing web pages, local files, and YouTube content usually means juggling extraction, model choice, output length, and formatting. summarize data file reduces that to a single CLI workflow, which is useful for scripts, triage, and documentation cleanup.

How It Works

  • Inputs: URLs, local files, and YouTube links; --extract-only extracts URL content only.
  • Model setup: use OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, or GEMINI_API_KEY; the default model is google/gemini-3-flash-preview when none is set.
  • Output control: --length selects short through xxl, --max-output-tokens caps generation length, and --json produces machine-readable output.
  • Fallback extraction: --firecrawl supports auto, off, and always; --youtube can use the Apify fallback when APIFY_API_TOKEN is set.

Boundaries

This skill fits engineers who already have a model API key and want repeatable summaries. FIRECRAWL_API_KEY is for blocked sites, and APIFY_API_TOKEN is for YouTube fallback; local-file summarization does not require those extra services.

Use Cases

  • Summarize a long technical blog URL into a 200-word incident note
  • Read local Markdown files in a script and generate JSON summary fields
  • Compress a YouTube lecture link into a project background brief
  • Extract page text with Firecrawl fallback when direct fetch fails

Best For

  • Technical writers who turn web pages, docs, and YouTube links into report material
  • DevOps engineers who generate structured summaries in automation scripts
  • AI application engineers comparing summary quality across model providers
  • Researchers who need fast digests of local technical documents