Chat Summarization Va 标志

Chat Summarization Va

组织
Happy-Technologies-LLC
chat-summarization-va

Summarize virtual agent chat sessions with topic classification, resolution status, handoff context, and actionable insights for agent productivity

概览

发布者Happy-Technologies-LLC
代码仓库happy-platform-skills
技能名称chat-summarization-va
星标数
41
复刻数
14
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Happy-Technologies-LLC 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Chat Summarization Va AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/chat-summarization-va
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/genai/chat-summarization-va .claude/skills/chat-summarization-va
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Chat Summarization Va,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Chat Summarization Va。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Chat Summarization Va 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Chat Summarization - Virtual Agent

Overview

This skill generates concise, structured summaries of virtual agent chat sessions to improve agent handoff quality, enable trend analysis, and create audit trails. Each summary includes topic classification, resolution status, captured data, and handoff context.

  • Extract key information from virtual agent conversation transcripts
  • Classify conversations by topic, intent, and outcome
  • Determine resolution status: self-served, escalated, abandoned, or unresolved
  • Build handoff context packages for seamless live agent takeover
  • Identify captured slots and missing information for follow-up
  • Generate batch summaries for trend reporting and quality analysis

When to use: When live agents need quick context on escalated chats, when management needs conversation analytics, or when building audit trails for virtual agent interactions.

Prerequisites

  • Roles: admin, va_admin, itil, or conversation_designer
  • Plugins: com.glide.cs.chatbot (Virtual Agent), com.glide.interaction (Agent Workspace)
  • Access: Read on sys_cs_conversation, sys_cs_message, sys_cs_topic, sys_cb_topic, sys_cb_action, sys_cs_context_entry
  • Knowledge: Familiarity with your Virtual Agent topic catalog and escalation paths
  • Data: Active virtual agent deployment with conversation history

Procedure

Step 1: Select Conversations for Summarization

Query conversations by status, date range, or topic.

Using MCP (Claude Code/Desktop):

Tool: SN-Query-Table
Parameters:
  table_name: sys_cs_conversation
  query: sys_created_onONLast 24 hours@javascript:gs.daysAgoStart(1)@javascript:gs.daysAgoEnd(0)
  fields: sys_id,number,topic,state,channel,opened_at,closed_at,close_reason,user,queue_time,handle_time,assigned_to
  limit: 50

Using REST API:

bash
GET /api/now/table/sys_cs_conversation?sysparm_query=sys_created_onONLast 24 hours@javascript:gs.daysAgoStart(1)@javascript:gs.daysAgoEnd(0)&sysparm_fields=sys_id,number,topic,state,channel,opened_at,closed_at,close_reason,user,queue_time,handle_time,assigned_to&sysparm_limit=50

For escalated conversations specifically:

Tool: SN-Query-Table
Parameters:
  table_name: sys_cs_conversation
  query: close_reason=escalated^sys_created_onONLast 24 hours@javascript:gs.daysAgoStart(1)@javascript:gs.daysAgoEnd(0)
  fields: sys_id,number,topic,state,channel,opened_at,closed_at,close_reason,user
  limit: 50

Step 2: Retrieve Full Message History

Get all messages for the conversation in chronological order.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_cs_message
  query: conversation=[conversation_sys_id]^ORDERBYsys_created_on
  fields: sys_id,body,type,sender_type,sys_created_on,is_hidden,formatted_body
  limit: 200

Using REST API:

bash
GET /api/now/table/sys_cs_message?sysparm_query=conversation=[conversation_sys_id]^ORDERBYsys_created_on&sysparm_fields=sys_id,body,type,sender_type,sys_created_on,is_hidden,formatted_body&sysparm_limit=200

Step 3: Extract Context and Captured Data

Retrieve all context entries (slot values) captured during the conversation.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_cs_context_entry
  query: conversation=[conversation_sys_id]
  fields: sys_id,name,value,source
  limit: 50

Using REST API:

bash
GET /api/now/table/sys_cs_context_entry?sysparm_query=conversation=[conversation_sys_id]&sysparm_fields=sys_id,name,value,source&sysparm_limit=50

Step 4: Identify Topic and Intent

Map the conversation to its designed topic and determine user intent.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_cb_topic
  query: sys_id=[topic_sys_id]
  fields: sys_id,name,description,goal,category
  limit: 1

Using REST API:

bash
GET /api/now/table/sys_cb_topic?sysparm_query=sys_id=[topic_sys_id]&sysparm_fields=sys_id,name,description,goal,category&sysparm_limit=1

Classify the conversation outcome:

OutcomeCriteriaCode
Self-servedUser issue resolved by bot without escalationSS
Escalated - RequestedUser explicitly asked for a live agentER
Escalated - AutomatedBot could not handle request, auto-escalatedEA
AbandonedUser left conversation before resolutionAB
UnresolvedConversation closed without clear resolutionUR

Step 5: Generate the Summary

Build a structured summary with the following template:

=== CHAT SESSION SUMMARY ===
Conversation: [number]
Date: [opened_at] - [closed_at]
Duration: [handle_time]
Channel: [channel]
User: [user display_value]

TOPIC & INTENT:
  Topic: [topic name]
  Primary Intent: [extracted user intent]
  Secondary Intents: [any topic switches during conversation]

CONVERSATION FLOW:
  1. [User initiated with: brief description of first message]
  2. [Bot identified topic: topic name]
  3. [Data collection: list of slots captured]
  4. [Resolution attempt: what the bot tried]
  5. [Outcome: resolution or escalation point]

CAPTURED DATA:
  - [slot_name]: [value]
  - [slot_name]: [value]
  - [slot_name]: [value]

MISSING DATA:
  - [required slot not captured]

RESOLUTION STATUS: [Self-Served | Escalated | Abandoned | Unresolved]
RESOLUTION DETAIL: [Brief description of how it was resolved or why it was not]

HANDOFF CONTEXT (if escalated):
  Issue: [concise problem statement]
  What was tried: [bot actions taken]
  What is needed: [next steps for live agent]
  Sentiment: [user sentiment at handoff point]

KEY QUOTES:
  - User: "[most relevant user statement]"
  - User: "[any frustration or clarification]"

Step 6: Check for Related Records

Identify any incidents, requests, or interactions created from this conversation.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: interaction
  query: conversation=[conversation_sys_id]
  fields: sys_id,number,type,state,assigned_to,opened_at
  limit: 5

Using REST API:

bash
GET /api/now/table/interaction?sysparm_query=conversation=[conversation_sys_id]&sysparm_fields=sys_id,number,type,state,assigned_to,opened_at&sysparm_limit=5

Step 7: Store the Summary

Write the summary to the conversation record or a related work note.

Using MCP:

Tool: SN-Update-Record
Parameters:
  table_name: sys_cs_conversation
  sys_id: [conversation_sys_id]
  data:
    work_notes: "[generated summary]"

Using REST API:

bash
PATCH /api/now/table/sys_cs_conversation/{sys_id}
Content-Type: application/json

{
  "work_notes": "[generated summary]"
}

Step 8: Generate Batch Analytics

Summarize patterns across multiple conversations for reporting:

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_cs_conversation
  query: sys_created_onONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)
  fields: sys_id,topic,close_reason,handle_time,queue_time
  limit: 500

Produce aggregate metrics:

MetricValueTrend
Total conversations487+12% WoW
Self-service rate62%+3% WoW
Escalation rate24%-2% WoW
Abandonment rate14%-1% WoW
Avg handle time4.2 min-0.3 min WoW
Top escalation topicVPN Issues31 escalations

Tool Usage

ToolPurposeWhen to Use
SN-Query-TableRetrieve conversations, messages, context, topicsCore data gathering
SN-Natural-Language-SearchFind conversations by natural language criteriaAd-hoc investigation
SN-Update-RecordStore summaries on conversation recordsPersisting results
SN-Add-Work-NotesDocument summaries as work notesAudit trail
SN-Get-Table-SchemaDiscover conversation table structuresSetup and exploration

Best Practices

  1. Summarize at escalation -- generate summaries immediately when a conversation is escalated for fastest agent handoff
  2. Keep summaries concise -- aim for 10-15 lines maximum; agents need quick context, not transcripts
  3. Highlight missing data -- explicitly call out required slots not captured so the agent knows what to ask
  4. Include user sentiment -- note frustration, urgency, or confusion to help agents calibrate their approach
  5. Exclude hidden messages -- filter out is_hidden=true messages as they contain system-internal data
  6. Batch summarize daily -- run aggregate summaries for trend reporting and topic optimization
  7. Preserve original transcripts -- summaries complement but never replace the full message history
  8. Tag summaries consistently -- use standard outcome codes (SS, ER, EA, AB, UR) for reliable analytics

Troubleshooting

"Conversation has no messages"

Cause: User connected but never sent a message, or messages are in a linked table Solution: Check sys_cs_message with the conversation sys_id. If empty, classify as abandoned and note "No user messages recorded."

"Topic field is empty on conversation"

Cause: User disconnected before intent was matched, or the conversation used a fallback flow Solution: Attempt to infer topic from the first few user messages. Classify as "Unmatched Intent" if no topic is identifiable.

"Context entries do not match expected slots"

Cause: Topic design was updated after the conversation occurred, or slots were captured under different names Solution: Cross-reference with the topic version active at conversation time. Use sys_cs_context_entry.source to trace slot origin.

"Summary is too long for work_notes field"

Cause: Conversation had many turns and the summary exceeds field limits Solution: Truncate to key sections: Topic, Resolution Status, Handoff Context. Store the full summary as an attachment if needed.

Examples

Example 1: Self-Served Password Reset

Conversation: CS0089001 - 6 turns, 2.1 minutes

Summary:

Topic: Password Reset | Status: SELF-SERVED
User requested password reset for corporate account. Bot verified identity
via security questions (3/3 correct), sent reset link to registered email.
User confirmed receipt and successful reset.
Captured: username=jsmith, email=jsmith@company.com, verification=passed
No missing data. No escalation needed.

Example 2: Escalated Software Installation

Conversation: CS0089002 - 14 turns, 8.3 minutes

Summary:

Topic: Software Request | Status: ESCALATED (User Requested)
User requested installation of Adobe Creative Suite. Bot collected
justification and manager approval details but user asked for live agent
after bot could not confirm license availability.
Captured: software=Adobe Creative Suite, justification=marketing deliverables,
manager=Jane Doe
Missing: cost_center, license_type
Handoff Context: User needs license availability check. Sentiment: mildly frustrated.

Example 3: Abandoned HR Inquiry

Conversation: CS0089003 - 3 turns, 0.8 minutes

Summary:

Topic: PTO Balance | Status: ABANDONED
User asked about remaining PTO balance. Bot requested employee ID for
lookup. User did not respond after 5 minutes. Session timed out.
Captured: none
Missing: employee_id
No handoff context. Recommend: add PTO lookup via SSO identity.

Related Skills

  • genai/conversation-evaluator - Evaluate conversation quality before summarizing
  • csm/chat-recommendation - Recommend responses during live chat
  • itsm/incident-triage - Triage incidents created from escalated conversations
  • genai/now-assist-qa - Quality assurance for AI-assisted conversations
  • knowledge/content-recommendation - Find KB articles referenced in conversations

常见问题

Chat Summarization Va AI 技能有什么作用?

Summarize virtual agent chat sessions with topic classification, resolution status, handoff context, and actionable insights for agent productivity

为什么在 TypingMind 中使用 Chat Summarization Va?

因为您只需安装一次,就能搭配任何模型使用。Chat Summarization Va 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Chat Summarization Va?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/chat-summarization-va。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Chat Summarization Va?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Chat Summarization Va 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Chat Summarization Va 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Chat Summarization Va AI 技能免费吗?

是的。Happy-Technologies-LLC 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇