ai-conversation-summary
بواسطة dadaliu0121
AI & LLMsموجز
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
Collect the full chat history and format it as a JSON array with role and content fields
- 2
Check if a previous summary exists to pass as historySummary for incremental mode
- 3
POST the payload to the summary API endpoint
- 4
Parse the response and verify code is 0
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.