---
name: qwen-summarize
description: Summarize long text content using Tongyi Qwen (通义千问) via DashScope API. This skill should be used when the user wants to condense articles, documents, or long passages into concise summaries.
---

# Qwen Summarize

Summarize text content using Tongyi Qwen LLM.

## Usage

```bash
python scripts/summarize.py "<text>" [max_length]
```

## Parameters

| Parameter  | Type   | Required | Description                              |
|------------|--------|----------|------------------------------------------|
| text       | string | Yes      | The text content to summarize            |
| max_length | int    | No       | Maximum summary length in characters (default: 200) |

## Behavior

- Sends the text to Qwen with a summarization prompt
- Returns a concise summary within the specified length
- Requires DASHSCOPE_API_KEY environment variable

## Notes

- For very long texts, split into chunks before summarizing
- Temperature is set to 0.3 for deterministic summaries
