# Text Summarizer

> Summarize text from a file or inline input. Use for concise summaries and key-point extraction.

- **Type:** Skill
- **Install:** `agentstack add skill-datalayer-agent-skills-text-summarizer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [datalayer](https://agentstack.voostack.com/s/datalayer)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** BSD-3-Clause
- **Upstream author:** [datalayer](https://github.com/datalayer)
- **Source:** https://github.com/datalayer/agent-skills/tree/main/agent_skills/skills/text_summarizer
- **Website:** https://agent-skills.datalayer.tech

## Install

```sh
agentstack add skill-datalayer-agent-skills-text-summarizer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Text Summarizer Skill

## Required Environment Variables

- None required.

## Invocation Contract

- Call `run_skill_script` with:
  - `skill_name`: `text-summarizer`
  - `script_name`: `summarize`
- This script requires one input source, passed as `--file` or `--text`.
- Pass those options in `kwargs`.

## Script API

### `script_name: summarize`

- required input (exactly one):
  - `file`: path to text file, or
  - `text`: inline text to summarize
- optional `kwargs`:
  - `max_sentences`: integer
  - `method`: `extractive | key_points`

## `run_skill_script` Examples

- Summarize a file:

```json
{
  "skill_name": "text-summarizer",
  "script_name": "summarize",
  "kwargs": {
    "file": "document.txt",
    "max_sentences": 5,
    "method": "extractive"
  }
}
```

- Summarize inline text:

```json
{
  "skill_name": "text-summarizer",
  "script_name": "summarize",
  "kwargs": {
    "text": "Long text here",
    "method": "key_points",
    "max_sentences": 3
  }
}
```

## Direct CLI Examples

```bash
python agent_skills/skills/text_summarizer/scripts/summarize.py --file document.txt --max-sentences 5
python agent_skills/skills/text_summarizer/scripts/summarize.py --text "Long text here" --method key_points --max-sentences 3
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [datalayer](https://github.com/datalayer)
- **Source:** [datalayer/agent-skills](https://github.com/datalayer/agent-skills)
- **License:** BSD-3-Clause
- **Homepage:** https://agent-skills.datalayer.tech

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-datalayer-agent-skills-text-summarizer
- Seller: https://agentstack.voostack.com/s/datalayer
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
