ワンクリックで
analyze-thread
Analyze complete email thread with conversation context, timeline, participants, and attachments tracking.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze complete email thread with conversation context, timeline, participants, and attachments tracking.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Deep attachment analysis with extraction, importance classification, and content analysis for emails and threads.
Quick single email analysis - read metadata, content summary, and list attachments without extracting them.
| name | analyze-thread |
| description | Analyze complete email thread with conversation context, timeline, participants, and attachments tracking. |
Comprehensive analysis of an email thread including conversation flow, participant interactions, timeline, key points, and attachment evolution.
Use this skill when you need to:
Triggers:
English:
<message-id>"<message-id>"<message-id>"<message-id>"<message-id>"Chinese:
<message-id>"<message-id>"<message-id>"<message-id>"<message-id>"User: Analyze this email thread <E42FF77C-C563-466D-8544-3E0C16EA24EC@taler.net>
AI: [Proceeds to analyze immediately]
User: /analyze-thread
AI: 请提供线索中任意一封邮件的 Message-ID
User: <E42FF77C-C563-466D-8544-3E0C16EA24EC@taler.net>
AI: [Proceeds to analyze]
Note: Any message-id from the thread works. The system will find all related emails.
Get message-id (if not provided)
Please provide any Message-ID from the thread
💡 Quick method (recommended):
In Mail.app: Select email → Press shortcut (⌘⇧C) → Message-ID copied
See README "Setup Mail Quick Action" section if not configured
Read thread using MCP
thread_data = mcp__mail__read_thread(message_id)
Handle truncation checks
Check 1: Thread Result Oversized
Check 2: Individual Email Truncation
Analyze thread structure
Extract key information
Present structured output
🧵 Email Thread Analysis
### Thread Overview
- Total emails: [N]
- Time span: [start date] to [end date]
- Duration: [X days/weeks/months]
- Participants: [list of unique senders]
### Conversation Timeline
[Chronological summary of key emails]
1. [Date] - [Sender] - [Brief description]
2. [Date] - [Sender] - [Brief description]
...
### 💬 Main Topics
1. [Topic 1]
- [Brief summary]
2. [Topic 2]
- [Brief summary]
### ✅ Decisions Made
- [Decision 1]
- [Decision 2]
### ⚠️ Action Items
- [ ] [Action item] - [Owner] - [Deadline if any]
### 📎 Attachments Summary
[Total] attachments across thread:
- [filename] - [context/importance]
- [filename] - [context/importance]
### 📅 Important Dates
- [Date]: [Event/Deadline]
### ⚠️ Truncation Notice
[If applicable, warn about truncated emails]
CRITICAL: Thread reading has smart limits to prevent token overflow (1200 chars/email with quote stripping).
If thread is too large:
⚠️ **Thread Too Large** (estimated XXX KB)
This email thread is too large to load with current settings.
**Options:**
1. 🔄 **[Recommended]** Reduce limit and retry
- Current: 1200 chars/email
- Suggested: 800 chars/email
2. 📧 **Read individual emails**
- Use /analyze-email for specific messages
**Shall I automatically reduce the limit and retry?**
Implementation:
After loading, check for truncated emails:
truncated_emails = []
for email in thread['emails']:
if email.get('truncated'):
importance = assess_truncation_importance(email)
if importance in ['Critical', 'High']:
truncated_emails.append({
'message_id': email['message_id'],
'subject': email['subject'],
'original_length': email.get('original_length'),
'importance': importance
})
User Prompt (only if critical/high truncations found):
⚠️ **Detected Truncated Emails**
[Number] emails were truncated. Important ones:
1. [Subject] ([Importance])
- Original: [X] chars → Current: 1200 chars
- Has attachments: Yes/No
**Recommendation**: Read important emails individually using /analyze-email
User: /analyze-thread AI: 请提供线索中任意一封邮件的 Message-ID User: E42FF77C-C563-466D-8544-3E0C16EA24EC@taler.net AI: 🧵 Email Thread Analysis
Phase 1: Problem Identification (Jul 2-3)
Phase 2: Solution Development (Jul 3-4)
Phase 3: Business Completion (Jul 4-8)
Phase 4: Bug Discovery (Jul 8 - Dec 10)
SwiftUI Layout Problem
Solution Implementation
Ongoing Issue
9 attachments across thread:
User: Analyze this thread short@example.com AI: 🧵 Email Thread Analysis
1 attachment: project_timeline.pdf
/analyze-email - For single email analysis/analyze-attachments - For deep attachment analysisQuote Stripping: Thread reading automatically removes redundant quoted content while preserving context (first 10 lines of each quote block). This reduces token usage by ~80%.
Token Safety: Default 1200 chars/email limit ensures threads of up to ~50 emails can be analyzed safely within Claude Code's token limits.