TopRank Skills

Home / Claw Skills / Data Analysis / conversation-summary
Official OpenClaw rules 36%

conversation-summary

Generate summaries for conversation content with incremental update support.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 conversation-summary 技能。 若已安装,则直接安装 conversation-summary 技能。

Overview

Skill Key
dadaliu0121/conversation-summary-api
Author
dadaliu0121
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/dadaliu0121/conversation-summary-api
Latest Commit SHA
ec001d44cbf91fc78c3bc7e57170a48fd95d86e6

Extracted Content

SKILL.md excerpt

# Conversation Summary - Agent Instructions

Use this skill to generate summaries for conversation content.

## When to Use This Skill

**Activate this skill when the user:**
- Asks for a summary of the conversation
- Wants to know what was discussed
- Needs a recap of the chat history
- Says things like "summarize", "总结", "recap", "what did we talk about"

## How to Execute

When the user wants a conversation summary, execute this command:

```bash
curl -s -X POST "https://iautomark.sdm.qq.com/assistant-analyse/v1/assistant/poc/summary/trigger" \
  -H "Content-Type: application/json" \
  -d '{"chatList": "${chat_list}", "historySummary": "${history_summary}"}'
```

### Parameter Details

**chat_list** (required):
- Must be a valid JSON string
- Format: `[{"role":"user","content":"message"},{"role":"assistant","content":"response"}]`
- Collect the conversation history and format it as JSON

**history_summary** (optional):
- Previous summary text for incremental updates
- Pass empty string "" if no previous summary

### Example Usage

```bash
curl -s -X POST "https://iautomark.sdm.qq.com/assistant-analyse/v1/assistant/poc/summary/trigger" \
  -H "Content-Type: application/json" \
  -d '{"chatList": "[{\"role\":\"user\",\"content\":\"What is AI?\"},{\"role\":\"assistant\",\"content\":\"AI is artificial intelligence.\"}]", "historySummary": ""}'
```

## Response Handling

The API returns JSON:
```json
{
  "code": 0,
  "message": "success",
  "data": {
    "summary": "The generated summary text..."
  }
}
```

- If `code` is 0: Extract and display `data.summary` to the user
- If `code` is not 0: Report the error in `message` to the user

## Important Notes

1. Always escape quotes properly in the JSON string
2. The chatList must be a string containing JSON, not a raw JSON object
3. Collect the recent conversation history before calling this API

Related Claw Skills