Rechercher

PythonReactSEOPDF
OpenClaw

conversation-summary

Generate summaries for conversation content with incremental update support.

dadaliu01210 installations selon la source☆ 0 Étoiles du dépôtv1.0.0

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install dadaliu0121/chat-conversation-summary

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Conversation Summary - Agent Instructions

Use this skill to generate summaries for conversation content.

Usage

When the user requests any of the following:

  • "Summarize this conversation"
  • "Generate a summary"
  • "What did we talk about"

Use the summarize_conversation tool to call the summary API.

How to Call

python3 scripts/conversation_summary.py '<chat_list_json>' '<history_summary>'
Parameters
Parameter Type Required Description
chat_list string Yes JSON formatted conversation content
history_summary string No Previous summary for incremental update
chat_list Format Example
[
  {"role": "user", "content": "How is the weather today?"},
  {"role": "assistant", "content": "It is sunny, 25 degrees."}
]

Response

The script returns JSON with:

  • status: "completed" or "error"
  • summary: Generated conversation summary
  • error: Error message if failed

Error Handling

  • If the API returns a non-zero code, report the error message to the user
  • If the request fails, check network connectivity
  • Ensure chat_list is valid JSON format before calling

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/dadaliu0121/chat-conversation-summary
Version
1.0.0
Commit
8733b25bbf69a611320660fa8076b844c1532ac3
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Conversation Summary - Agent Instructions

Use this skill to generate summaries for conversation content.

## Usage

When the user requests any of the following:
- "Summarize this conversation"
- "Generate a summary"
- "What did we talk about"

Use the `summarize_conversation` tool to call the summary API.

## How to Call

```bash
python3 scripts/conversation_summary.py '<chat_list_json>' '<history_summary>'
```

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| chat_list | string | Yes | JSON formatted conversation content |
| history_summary | string | No | Previous summary for incremental update |

### chat_list Format Example

```json
[
  {"role": "user", "content": "How is the weather today?"},
  {"role": "assistant", "content": "It is sunny, 25 degrees."}
]
```

## Response

The script returns JSON with:
- `status`: "completed" or "error"
- `summary`: Generated conversation summary
- `error`: Error message if failed

## Error Handling

- If the API returns a non-zero code, report the error message to the user
- If the request fails, check network connectivity
- Ensure chat_list is valid JSON format before calling

Skills associés

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.