跳到正文
TakoAPI
返回技能列表

ai-conversation-summary

由 dadaliu0121 提供

AI & LLMs
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Generate summaries for conversation.

描述

该技能的功能

Generates summaries of chat histories by calling an external summary API. Accepts a list of messages in JSON format and returns a concise overview. Supports incremental updates by passing a previous summary as context.

Incremental summary support means you can update an existing summary rather than reprocessing the entire conversation each time.

何时使用

  • Recap a long support chat before escalating to a human agent
  • Catch up on a conversation thread you left mid-way
  • Archive a key points summary after a project planning session
  • Summarize a multi-turn research session into a short brief
  • Generate a running summary as a conversation grows longer

示例工作流

输入

User asks: 'Give me a summary of our conversation'

智能体
  1. 1

    Collect the full chat history and format it as a JSON array with role and content fields

  2. 2

    Check if a previous summary exists to pass as historySummary for incremental mode

  3. 3

    POST the payload to the summary API endpoint

  4. 4

    Parse the response and verify code is 0

  5. 5

    Return data.summary to the user

输出

A short paragraph summarizing the key topics and decisions from the conversation

安装

clawhub install dadaliu0121/ai-conversation-summary

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接