Summarize Data File: Unify webpage and local file summarization with the summarize CLI

Preface

When conducting research or writing documentation, materials are often scattered across web pages, PDFs, images, audio files, and YouTube links. The common approach is to have the Agent open links one by one or manually write extraction scripts, requiring a different workflow whenever the file type changes. The following introduces summarize data file on SkillHub (Coordinate @user_a71e4ceb/summarize-skill-02): it embeds the capabilities of the summarize command-line tool into an Agent Skill, allowing the assistant to invoke the CLI via standardized steps to summarize URLs or local paths.

What is this

summarize data file is a community-sourced (community) Agent Skill, version 1.0.0, categorized under knowledge-management, and maintained by the publisher user_a71e4ceb. The instructions embedded in the Skill point to the summarize CLI: used for quickly summarizing URLs, local files, and YouTube links; the supported input types listed in the official introduction are web, PDFs, images, audio, and YouTube.

The SkillHub page labels requires_api_key=true: a corresponding cloud provider’s API Key is required when actually invoking the model (see “Models and Keys” below).

Core Functions

Based on the SKILL.md within the Skill package, the verifiable capabilities include:

  1. URL Summarization: Performs summarization on web addresses, with an optional --extract-only flag to extract only the main text (URL only).
  2. Local File Summarization: Performs summarization on local paths (such as PDFs).
  3. YouTube: Summarizes links such as youtu.be; can use --youtube auto; if APIFY_API_TOKEN is configured, it can use Apify as a fallback when necessary.
  4. Output and Length: --length supports short|medium|long|xl|xxl or character count; --json outputs machine-readable results; --max-output-tokens limits generation length.
  5. Crawling Fallback: --firecrawl auto|off|always, working with FIRECRAWL_API_KEY to handle sites that are difficult to crawl directly.
  6. Optional Configuration: ~/.summarize/config.json can set default models, etc.

Runtime environment requirements: The summarize executable must be in the system PATH. The installation method provided in the Skill metadata is Homebrew:

brew install steipete/tap/summarize

Installation and Activation

1. Install SkillHub CLI (if not already installed)

Check and install according to the SkillHub installation documentation:

command -v skillhub && skillhub --version

If not installed, execute the full installation (recommended by documentation):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install summarize CLI

brew install steipete/tap/summarize

For environments not on macOS or not using Homebrew, you need to obtain the installation method matching your platform from summarize.sh; the Skill package only lists the brew formula above.

3. Install the Skill to the current Agent’s skills directory

SkillHub requires pointing --dir to the skills directory recognized by the current client during installation; otherwise, it defaults to ./skills/ and may not be loaded.

Cursor example:

skillhub install @user_a71e4ceb/summarize-skill-02 --dir ~/.cursor/skills/

Claude Code example:

skillhub install @user_a71e4ceb/summarize-skill-02 --dir ~/.claude/skills/

Codex example (choose either user-level or project-level):

skillhub install @user_a71e4ceb/summarize-skill-02 --dir ~/.codex/skills/

Alternatively, follow the prompt on the SkillHub page to let the AI read https://skillhub.cn/install/skillhub.md and then install @user_a71e4ceb/summarize-skill-02.

After installation is complete, restart or refresh the Skill list according to the requirements of your client.

4. Models and Keys

Set environment variables for the selected provider before invocation (excerpted from Skill instructions):

  • 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)

When no model is specified, the CLI defaults to google/gemini-3-flash-preview. Optional service keys: FIRECRAWL_API_KEY, APIFY_API_TOKEN (YouTube fallback).

Typical Usage

The following commands are from the Quick start within the Skill package and can be verified directly in the terminal; after enabling this Skill, the Agent should guide you or execute similar calls on your behalf.

Summarize a web page:

summarize "https://example.com" --model google/gemini-3-flash-preview

Summarize a local PDF:

summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview

Summarize YouTube (automatically select processing method):

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

When structured output is needed:

summarize "https://example.com" --json --length medium

Long-term default models can be written to ~/.summarize/config.json:

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

Use Cases and Notes

Who it is for: Developers who need to quickly turn various external materials (web pages, documents, audio/video, YouTube) into readable summaries; those who want the Agent to use the mature summarize toolchain rather than improvising crawlers.

Limitations and Notes:

  1. Depends on local CLI: The Skill does not replace the installation of summarize; container or remote Agent environments must ensure the binary is available independently.
  2. API Key: The tag requires_api_key=true aligns with the multi-vendor key requirements in the documentation; summarization will fail if keys are not configured.
  3. Platform Installation: The Skill metadata only declares the brew installation path; Linux users need to install it themselves according to the official website, and the package name is not speculated upon in this text.
  4. SkillHub Data: As of verification, the SkillHub display rating is 100000, with 986 downloads and an installation count of 0 (based on page and API metadata, subject to change over time).

Conclusion

summarize data file encapsulates the summarization capabilities of the summarize CLI into a standard Skill: providing a unified entry point to handle URLs and local files, and controlling length, JSON output, and crawling fallbacks via parameters. If you are organizing knowledge in clients like Cursor, you can first install the CLI and API Keys, then install the Skill via the coordinate.

  • SkillHub Page: https://www.skillhub.cn/skills/user_a71e4ceb/summarize-skill-02
  • API Metadata Address: https://api.skillhub.cn/user_a71e4ceb/summarize-skill-02
  • summarize Project Homepage: https://summarize.sh
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye