text-summarizer

rscheiwe's avatarfrom rscheiwe

Summarizes long text into key bullet points

19stars🔀1forks📁View on GitHub🕐Updated Oct 19, 2025

When & Why to Use This Skill

The Text Summarizer skill is a high-performance NLP tool designed to distill lengthy documents into concise, actionable bullet points. By combining structural text analysis with key point extraction, it enables users to rapidly digest complex information while providing valuable readability statistics like word counts and sentence density for deeper content insights.

Use Cases

  • Academic & Market Research: Quickly extract core findings and essential arguments from long-form research papers, journals, or industry reports.
  • Business Intelligence: Transform lengthy meeting transcripts, internal memos, or project updates into clear, executive-level summaries.
  • Content Strategy: Generate brief summaries and meta-descriptions for blog posts, articles, and newsletters to enhance reader engagement.
  • Document Auditing: Use the built-in statistics report to analyze the complexity and length of technical documentation or legal drafts.
namestats
version1.0.0
entrypointscripts/main.py
descriptionStatistics about the text
- typeobject
optionaltrue
tags[nlp, summarization, text, processing]
allow_networkfalse
timeout_seconds30

Text Summarizer Skill

A more complex example that demonstrates text processing capabilities.

What it does

This skill takes a long piece of text and:

  1. Analyzes the text (word count, sentence count, etc.)
  2. Extracts key points
  3. Creates a bullet-point summary
  4. Generates a statistics report

Usage

Input

{
  "text": "Your long text here...",
  "max_points": 5
}

Output

{
  "summary": "• Point 1\n• Point 2\n• Point 3",
  "stats": {
    "word_count": 150,
    "sentence_count": 8,
    "avg_sentence_length": 18.75
  }
}

Artifacts

  • summary.md: Markdown file with the formatted summary
  • stats.json: JSON file with detailed statistics

Algorithm

This is a simple implementation that:

  1. Splits text into sentences
  2. Scores sentences by length and position
  3. Selects top N sentences as summary points

Note: This is a demonstration. For production use, consider using NLP libraries like spaCy or transformers.