微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📝

智能对话摘要一键生成助手

conversation-summary · vv1.0.1
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 S 级 作者 lyue82665-droid 公开目录收录
629 下载 135 安装 2.9k 收藏 13.5k 浏览

简介

基于腾讯 AI 服务的对话摘要工具,支持增量更新,可快速提炼会话核心要点,提升信息整理效率。

原始描述

会话小结 - 输入对话内容,调用API返回会话摘要,支持增量更新历史摘要。

通过你的 Agent 添加

安装目录:conversation-summary/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/conversation-summary/
Codex CLI~/.codex/skills/conversation-summary/
DeepSeek Harness~/.agents/skills/conversation-summary/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Conversation Summary 是一款基于腾讯云会话摘要 API 的智能对话总结工具。用户通过 summarize_conversation 工具提交 JSON 格式的对话历史,即可获得结构化的内容摘要。该技能支持增量更新模式——可将前次摘要作为 history_summary 参数传入,实现动态追加总结,避免重复处理完整对话。

调用方式为本地执行 Python 脚本:

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

返回 JSON 包含 status、summary 及可选的 error 字段,便于程序化集成。

显著优点

维度 优势
功能设计 增量更新机制高效实用,适合长时对话场景
安全基线 通过 6 维度安全扫描(95/95/98/90/92/95),综合评分 S 级
代码质量 无危险函数(eval/exec/system),无敏感信息硬编码,依赖纯净
传输安全 HTTPS + TLS 1.2+ 加密,30 秒超时控制,错误处理完备
生态兼容 MIT 开源协议,Python 3 跨平台,requests 库普及度高

潜在缺点与局限性

  1. 数据外泄风险:用户对话内容必须传输至腾讯云服务器处理,虽经加密且为功能必需,但存在数据离开本地环境的风险。处理敏感机密对话时需谨慎评估。
  2. 网络依赖性强:完全依赖外部 API,离线环境无法使用,网络波动时体验受影响。
  3. 隐私告知不足:当前 SKILL.md 未明确披露数据接收方为腾讯云,透明度有待提升。
  4. 本地化欠缺:错误信息中英文混合,缺乏多语言支持选项。

适合人群

  • 团队协作场景:需要快速回顾群聊、会议纪要的用户
  • 客服/销售从业者:需要总结客户沟通要点、生成跟进摘要
  • 知识管理用户:希望将长对话归档为结构化摘要的笔记爱好者
  • 开发者集成:需要对话摘要能力的 AI 应用/机器人开发者

常规风险

风险类型 等级 说明
数据隐私风险 中 对话内容上传至第三方云服务商
服务可用性风险 低 依赖腾讯云 SLA,需关注 API 稳定性
依赖安全风险 极低 requests 库成熟度高,当前无 CVE
误用风险 低 需确保输入为合法 JSON,否则报错

使用建议

  1. 敏感内容脱敏:处理含机密信息的对话前,建议手动脱敏或等待未来版本的自动脱敏功能
  2. 定期审查更新:关注依赖库安全公告,及时更新 requests 版本
  3. 本地备份摘要:重要对话摘要建议本地留存,降低云服务依赖

技能正文


name: conversation-summary description: Generate summaries for conversation content with incremental update support. emoji: 📝 author: lyue82665-droid version: 1.0.0 license: MIT requires: bins: - python3 pip: - requests tools:

  • name: summarize_conversation description: Generate a summary for conversation content. parameters: type: object properties: chat_list: type: string description: "JSON formatted conversation list, e.g., [{"role":"user","content":"hello"}]" history_summary: type: string description: "Previous summary for incremental update (optional)" required: [chat_list]

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

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

productivitycontent-mediaapiautomation

同类 Skill