Search

PythonReactSEOPDF
OpenClaw

Expanso Text Summarize

text summarize

aronchick0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install aronchick/expanso-text-summarize

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

text-summarize

Summarize text into 3-5 bullet points using AI

Requirements

  • Expanso Edge installed (expanso-edge binary in PATH)
  • Install via: clawhub install expanso-edge

Usage

CLI Pipeline
# Run standalone
echo '<input>' | expanso-edge run pipeline-cli.yaml
MCP Pipeline
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
Deploy to Expanso Cloud
expanso-cli job deploy https://skills.expanso.io/text-summarize/pipeline-cli.yaml

Files

File Purpose
skill.yaml Skill metadata (inputs, outputs, credentials)
pipeline-cli.yaml Standalone CLI pipeline
pipeline-mcp.yaml MCP server pipeline

Source information

Source
github
Repository
openclaw/skills
Path
skills/aronchick/expanso-text-summarize
Version
—
Commit
56a7150075e4ef27b93401bceda30e1df7a9c0ec
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

text-summarize

Summarize any text into 3-5 bullet points while keeping your API keys local.

This is the "Hello World" of Expanso + OpenClaw skills. It demonstrates the core value proposition:

  • Your API keys stay local - ${OPENAI_API_KEY} is resolved on your machine
  • Validated pipelines - This skill passes expanso-cli job validate
  • Full audit trail - Every invocation is logged with input hash and trace ID
  • Backend flexibility - Use OpenAI or Ollama without code changes

Quick Start

CLI Mode (for shell scripting)
# Set your API key
export OPENAI_API_KEY=sk-...

# Summarize text from stdin
echo "Your long article or document text here..." | \
  expanso-edge run pipeline-cli.yaml

# Or pipe a file
cat my-article.txt | expanso-edge run pipeline-cli.yaml
MCP Mode (for OpenClaw integration)
# Start the skill server
PORT=8080 expanso-edge run pipeline-mcp.yaml &

# Call from curl (or OpenClaw MCP)
curl -X POST http://localhost:8080/summarize \
  -H "Content-Type: application/json" \
  -d '{"text": "Your long article or document text here..."}'

Configuration

Environment Variable Required Description
OPENAI_API_KEY Yes* OpenAI API key
PORT No HTTP port for MCP mode (default: 8080)

*Not required if using Ollama backend locally.

Example Output

{
  "summary": "• Key insight from the text\n• Another important point\n• Action item or recommendation\n• Supporting detail\n• Conclusion or next steps",
  "metadata": {
    "skill": "text-summarize",
    "mode": "cli",
    "model": "gpt-4o-mini",
    "input_hash": "a1b2c3d4e5f6...",
    "input_length": 2847,
    "trace_id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-01-31T12:00:00Z"
  }
}

Using with Ollama (Local, No API Key)

For complete privacy, you can use Ollama instead of OpenAI. Edit the pipeline to replace openai_chat_completion with `o...

Extracted content

SKILL.md
# text-summarize

Summarize text into 3-5 bullet points using AI

## Requirements

- Expanso Edge installed (`expanso-edge` binary in PATH)
- Install via: `clawhub install expanso-edge`

## Usage

### CLI Pipeline
```bash
# Run standalone
echo '<input>' | expanso-edge run pipeline-cli.yaml
```

### MCP Pipeline
```bash
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
```

### Deploy to Expanso Cloud
```bash
expanso-cli job deploy https://skills.expanso.io/text-summarize/pipeline-cli.yaml
```

## Files

| File | Purpose |
|------|---------|
| `skill.yaml` | Skill metadata (inputs, outputs, credentials) |
| `pipeline-cli.yaml` | Standalone CLI pipeline |
| `pipeline-mcp.yaml` | MCP server pipeline |
README
# text-summarize

> Summarize any text into 3-5 bullet points while keeping your API keys local.

This is the "Hello World" of Expanso + OpenClaw skills. It demonstrates the core value proposition:

- **Your API keys stay local** - `${OPENAI_API_KEY}` is resolved on your machine
- **Validated pipelines** - This skill passes `expanso-cli job validate`
- **Full audit trail** - Every invocation is logged with input hash and trace ID
- **Backend flexibility** - Use OpenAI or Ollama without code changes

## Quick Start

### CLI Mode (for shell scripting)

```bash
# Set your API key
export OPENAI_API_KEY=sk-...

# Summarize text from stdin
echo "Your long article or document text here..." | \
  expanso-edge run pipeline-cli.yaml

# Or pipe a file
cat my-article.txt | expanso-edge run pipeline-cli.yaml
```

### MCP Mode (for OpenClaw integration)

```bash
# Start the skill server
PORT=8080 expanso-edge run pipeline-mcp.yaml &

# Call from curl (or OpenClaw MCP)
curl -X POST http://localhost:8080/summarize \
  -H "Content-Type: application/json" \
  -d '{"text": "Your long article or document text here..."}'
```

## Configuration

| Environment Variable | Required | Description |
|---------------------|----------|-------------|
| `OPENAI_API_KEY` | Yes* | OpenAI API key |
| `PORT` | No | HTTP port for MCP mode (default: 8080) |

*Not required if using Ollama backend locally.

## Example Output

```json
{
  "summary": "• Key insight from the text\n• Another important point\n• Action item or recommendation\n• Supporting detail\n• Conclusion or next steps",
  "metadata": {
    "skill": "text-summarize",
    "mode": "cli",
    "model": "gpt-4o-mini",
    "input_hash": "a1b2c3d4e5f6...",
    "input_length": 2847,
    "trace_id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-01-31T12:00:00Z"
  }
}
```

## Using with Ollama (Local, No API Key)

For complete privacy, you can use Ollama instead of OpenAI. Edit the pipeline to replace `openai_chat_completion` with `o...

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.