30 lines
668 B
YAML
30 lines
668 B
YAML
name: summarize
|
|
version: "1.0.0"
|
|
description: "Summarize text using AI"
|
|
category: text-processing
|
|
tags:
|
|
- summarization
|
|
- text
|
|
- ai
|
|
arguments:
|
|
- name: max_length
|
|
flag: "--max-length"
|
|
default: "200"
|
|
description: "Maximum length of the summary in words"
|
|
- name: style
|
|
flag: "--style"
|
|
default: "neutral"
|
|
description: "Summary style: neutral, bullet, or executive"
|
|
steps:
|
|
- type: prompt
|
|
provider: "claude"
|
|
template: |
|
|
You are a helpful assistant that summarizes text.
|
|
Style: {style}
|
|
Max length: {max_length} words.
|
|
|
|
Summarize the following text:
|
|
{input}
|
|
output_var: summary
|
|
output: "{summary}"
|