Agent skill

text-summarizer

Generate extractive summaries from long text documents. Control summary length, extract key sentences, and process multiple documents.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill text-summarizer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/text-summarizer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Text Summarizer Create concise summaries from long text documents using extractive summarization. Identifies and extracts the most important sentences while preserving meaning. ## Quick Start ```python from scripts.text_summarizer import TextSummarizer # Summarize text summarizer = TextSummarizer() summary = summarizer.summarize(long_text, ratio=0.2) # 20% of original print(summary) # Summarize file summary = summarizer.summarize_file("article.txt", num_sentences=5) ``` ## Features - **Extractive Summarization**: Selects key sentences from original text - **Length Control**: By ratio, sentence count, or word count - **Multiple Algorithms**: TextRank, LSA, frequency-based - **Key Points**: Extract bullet-point summaries - **Batch Processing**: Summarize multiple documents - **Preserve Structure**: Maintains sentence order option ## API Reference ### Initialization ```python summarizer = TextSummarizer( method="textrank", # textrank, lsa, frequency language="english" ) ``` ### Summarization ```python # By ratio (20% of original length) summary = summarizer.summarize(text, ratio=0.2) # By sentence count summary = summarizer.summarize(text, num_sentences=5) # By word count summary =

What's inside
Steps it walks through
  1. Quick Start
  2. Features
  3. API Reference
  4. Initialization
  5. Summarization
  6. Key Points Extraction
  7. Batch Processing
  8. Options
  9. CLI Usage
  10. CLI Arguments
  11. Examples
  12. News Article Summary
  13. Research Paper Abstract
  14. Meeting Notes Summary
Ships with 1 file
  • metadata.json
Commands it runs
Summarize text file
python text_summarizer.py --input article.txt --ratio 0.2
Specific sentence count
python text_summarizer.py --input article.txt --sentences 5
Extract key points
python text_summarizer.py --input article.txt --points 5
Batch process
python text_summarizer.py --input-dir ./docs --output-dir ./summaries --ratio 0.3
Output to file
python text_summarizer.py --input article.txt --output summary.txt --ratio 0.2
More from claude-skill-registry
All skills →
About this skill
What does the text-summarizer skill do?

Generate extractive summaries from long text documents. Control summary length, extract key sentences, and process multiple documents.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill text-summarizer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going