📋 Communication Tracker

13installs

Track and integrate external communications (emails, chat messages, screenshots) into project context with timeline management. Use when user mentions ”email”, ”message”, ”communication”, ”screenshot”, ”track”, ”import”, ”sync”, or wants to import external information sources into the project timeli

QUICK INSTALL
npx playbooks add skill legacybridge-tech/claude-plugins --skill communication-tracker

Communication Tracker instructions

Communication Tracker Skill

When to use this Skill

Activate when the user:

  • Mentions importing or tracking emails, messages, or communications
  • Uses keywords: "email", "message", "communication", "screenshot", "chat log", "track", "import"
  • Provides image files (screenshots of emails/chats)
  • Wants to record external communication updates
  • Mentions "import communication", "track message", "record email"
  • References specific communication sources (Slack, Teams, Gmail, etc.)
  • Asks to add timeline entries from external sources
  • Pastes email content or chat logs

Tools Available

This Skill uses the following tools for content extraction:

  • mu: Email indexer for reading email content from local maildir
  • Claude Vision: Direct image reading for screenshots
  • markitdown: Convert various file formats to markdown (PDF, DOCX, XLSX, etc.)

Workflow

Phase 0: First-Time Configuration (One-Time Setup)

Objective: Configure communication tracking preferences on first use.

Trigger: This phase activates only if communications/config.yaml does not exist.

Steps:

  1. Detect first-time use:
   ls communications/config.yaml

If file doesn't exist → Proceed with configuration Q&A.

  1. Ask configuration questions using AskUserQuestion tool:

Question 1: Timeline Tracking:

   Timeline Configuration

   Should I create a dedicated timeline tracking file?
   This helps maintain chronological order of all communications.

   Options:
   1. Yes, create timeline.yaml (structured, machine-readable)
   2. Yes, create timeline.md (human-readable markdown)
   3. Yes, create both formats (Recommended)
   4. No, embed timeline in individual files only

Question 2: Original Data Backup:

   Original Data Backup

   Should I backup original source data?
   This preserves unprocessed content for reference.

   Options:
   1. Yes, always backup originals in raw/ subdirectory (Recommended)
   2. Yes, only for images/attachments
   3. No, extract content only (no backup)

Question 3: Default Source Types:

   Communication Sources

   What types of communications do you typically track?
   (Select all that apply)

   - Email (Gmail, Outlook, etc.)
   - Chat (Slack, Teams, Discord)
   - Screenshots (any visual capture)
   - Voice/Meeting transcripts
   - Documents

Question 4: Timestamp Handling:

   Timestamp Handling

   How should I handle communications without clear timestamps?

   Options:
   1. Always ask user for the timestamp
   2. Use current time with "[estimated]" marker
   3. Try to infer from content, ask if uncertain (Recommended)
  1. Generate config.yaml:
   # communications/config.yaml
   # Generated by ProjectMaster communication-tracker Skill

   timeline:
     enabled: true
     format: both  # yaml|md|both|none
     file: timeline

   backup:
     enabled: true
     mode: all  # all|attachments|none
     directory: raw/

   sources:
     - email
     - chat
     - screenshot
     - document

   timestamp_handling:
     mode: infer  # ask|estimate|infer
     marker_for_estimated: "[estimated]"

   # Auto-generated
   created: YYYY-MM-DD
   last_updated: YYYY-MM-DD
  1. Create directory structure:
   mkdir -p communications/raw communications/by-source communications/by-date
  1. Create initial files:
  • communications/README.md - Index of all communications
  • communications/timeline.yaml - Machine-readable timeline
  • communications/timeline.md - Human-readable timeline
  1. Report configuration complete:
   Communication Tracker Configured!

   Structure created:
   communications/
   ├── config.yaml (your preferences)
   ├── README.md (index)
   ├── timeline.yaml (chronological tracking)
   ├── timeline.md (human-readable timeline)
   ├── raw/ (original data backup)
   ├── by-source/ (organized by source type)
   └── by-date/ (organized by date)

   Ready to track communications! Try:
   - "Track this email: [paste content]"
   - "Import screenshot [provide image path]"
   - "Record communication from Slack about [topic]"

Phase 1: Context Discovery & Source Detection

Objective: Understand project context and identify communication source type.

Steps:

  1. Read project RULE.md:
   ls RULE.md
   Read RULE.md

Extract communication tracking preferences if defined.

  1. Read communications/config.yaml:
   Read communications/config.yaml

If not found → Trigger Phase 0 first.

  1. Detect source type from user input:

| Input Pattern | Source Type | Detection Method |
|--------------|-------------|------------------|
| Image file path (.png, .jpg, .gif) | screenshot | File extension detection |
| mu output or email headers (From:, To:, Date:, Subject:) | email | Header pattern matching |
| Text with chat format (timestamps + usernames) | chat | Timestamp/username patterns |
| Markdown/text file | document | File content structure |
| PDF, DOCX, XLSX | document | File extension + markitdown |
| User describes source | manual | Ask for clarification |

  1. Route to appropriate extraction workflow:
  • Source: screenshot → Phase 2A (Image Processing)
  • Source: email → Phase 2B (Email Processing)
  • Source: text/chat → Phase 2C (Text Processing)
  • Source: file → Phase 2D (File Processing)

Example:

User: "Track this email from the client about project updates"

Detected:
- Source type: email
- Content: [email text provided by user]
- Related: project updates
→ Route to Phase 2B (Email Processing)

Phase 2A: Image Processing (Screenshots)

Objective: Extract information from screenshot images.

Steps:

  1. Read image using Claude's vision:
   Use Read tool with image file path
   Claude will analyze the image content
  1. Extract structured information:
  • Source platform: (Gmail, Slack, Teams, WhatsApp, LINE, etc.)
  • Participants: (sender, recipients, @mentions)
  • Timestamp: (look for date/time in image)
  • Subject/Topic: (email subject, channel name, etc.)
  • Key content: (main message body)
  • Attachments mentioned: (if visible)
  • Thread context: (is this a reply? part of conversation?)
  1. Handle timestamp extraction:
   If timestamp clearly visible in image:
     → Extract and validate format
   If timestamp partially visible or ambiguous:
     → Show extracted timestamp, ask user to confirm
   If no timestamp visible:
     → Check config.yaml timestamp_handling mode
     → If "ask": Ask user for timestamp
     → If "estimate": Use current time with [estimated] marker
     → If "infer": Try to infer from context, ask if uncertain
  1. Confirm extraction with user:
   Screenshot Analysis Complete

   I extracted the following information:

   Source: [Platform - e.g., Gmail]
   From: [Sender]
   To: [Recipients]
   Date: [Timestamp or "Unable to determine - please provide"]
   Subject: [Topic]

   Content Summary:
   [Key points from the communication]

   Is this correct? Any corrections needed?
   [If timestamp missing: "When was this communication from?"]
  1. Backup original image (if config.yaml backup.enabled):
   cp [image_path] communications/raw/YYYY-MM-DD_source_filename.png

Phase 2B: Email Processing

Objective: Extract and structure email content.

Steps:

  1. Determine email source:
  • If user provides raw text → Parse directly
  • If user mentions mu → Use mu command to fetch
  • If user provides file path (.eml) → Read file
  1. Use mu for email fetching (if applicable):
   # Search for specific email
   mu find subject:[search term] --format=sexp

   # View specific email
   mu view [message-id]
  1. Extract email metadata:
   from: [sender email and name]
   to: [recipient list]
   cc: [cc list]
   date: [email date from headers]
   subject: [subject line]
   message_id: [unique identifier]
   thread_id: [conversation thread]
   attachments: [list of attachments]
  1. Extract email body:
  • Convert HTML to markdown (if HTML email)
  • Preserve formatting and links
  • Extract inline images references
  1. Identify key information:
  • Action items mentioned
  • Decisions communicated
  • Questions asked
  • Deadlines mentioned
  • People referenced (@mentions, names)
  1. Backup original (if configured):
   # Save raw email to backup
   mu view [message-id] > communications/raw/YYYY-MM-DD_email_subject-slug.eml

Phase 2C: Text/Chat Processing

Objective: Process plain text or chat message content.

Steps:

  1. Detect chat format:
  • Slack format: [timestamp] username: message
  • Teams format: username timestamp message
  • Discord format: username timestamp message
  • LINE format: YYYY/MM/DD HH:MM name message
  • Generic: timestamps + usernames
  1. Parse conversation:
   platform: [detected or ask]
   channel_dm: [if identifiable]
   participants: [list of usernames]
   date_range:
     start: YYYY-MM-DDTHH:MM
     end: YYYY-MM-DDTHH:MM
   messages:
     - timestamp: [time]
       sender: [username]
       content: [message]
  1. Handle multi-message threads:
  • Group related messages
  • Identify thread starts and replies
  • Extract thread summary
  1. Ask for missing context if needed:
   I parsed this chat conversation but need clarification:

   - Platform: [Ask if not detected]
   - Channel/Context: [Ask if not clear]
   - Date: [Ask if timestamps are relative like "yesterday"]

Phase 2D: File Processing (markitdown)

Objective: Process various file formats using markitdown.

Steps:

  1. Identify file type:
  • PDF documents
  • Word documents (.docx)
  • Excel spreadsheets (.xlsx)
  • Other supported formats
  1. Use markitdown for conversion:
   markitdown [file_path]
  1. Extract metadata from converted content:
  • Document title
  • Author (if available)
  • Creation/modification date
  • Key content sections
  1. Handle conversion errors:
  • If markitdown fails, report error
  • Suggest alternative approaches
  • Offer to save original file as-is

Phase 3: Timestamp Validation & Normalization

Objective: Ensure all communications have valid, normalized timestamps.

Steps:

  1. Normalize timestamp format:
  • Target format: YYYY-MM-DDTHH:MM:SS+TZ (ISO 8601)
  • Preserve original timezone if available
  • Convert relative times ("yesterday", "2 hours ago") to absolute
  1. Validate timestamp:
  • Not in the future (unless explicitly stated)
  • Within reasonable range for source type
  • Consistent with thread context
  1. If timestamp uncertain (based on config.yaml timestamp_handling):
   Timestamp Clarification Needed

   I couldn't determine an exact timestamp from the content.

   The communication appears to be from approximately:
   [Best guess based on context]

   Please provide the actual date/time, or confirm this estimate:
   - Exact: "2025-12-10 14:30"
   - Approximate: "last Tuesday afternoon"
   - Confirm estimate: "yes, that's correct"
  1. Store timestamp with confidence level:
   timestamp:
     value: 2025-12-10T14:30:00+08:00
     confidence: exact|inferred|estimated
     original_format: "[as found in source]"

Phase 4: Content Structuring

Objective: Structure extracted content into standardized format.

Steps:

  1. Generate communication document:

Filename convention:
YYYY-MM-DD_HH-MM_source_subject-slug.md

Document structure:

   ---
   id: comm-{uuid}
   type: email|chat|screenshot|document
   source: [platform/origin]
   timestamp: YYYY-MM-DDTHH:MM:SS+TZ
   timestamp_confidence: exact|inferred|estimated
   participants:
     from: [sender]
     to: [recipients]
   subject: [topic/subject]
   related_sprint: [sprint-number or null]
   related_milestone: [milestone-id or null]
   related_communications: [list of related comm-ids]
   tags: [auto-generated tags]
   backup_file: [path to original if backed up]
   ---

   # [Subject/Topic]

   **Date**: [Human readable timestamp]
   **Source**: [Platform/Origin]
   **From**: [Sender]
   **To**: [Recipients]

   ## Content

   [Extracted/converted content in markdown]

   ## Key Points

   - [Automatically extracted key points]
   - [Important decisions or updates]
   - [Action items mentioned]

   ## Context

   [How this relates to the project]

   ## References

   - Related Sprint: [link if applicable]
   - Related Milestone: [link if applicable]
   - Previous Communication: [link if part of thread]

   ---
   *Tracked by ProjectMaster communication-tracker Skill*
   *Original backup: [path or "not backed up"]*
  1. Auto-extract key points:
  • Action items (look for "need to", "please", "todo", etc.)
  • Decisions (look for "decided", "will proceed", "agreed", etc.)
  • Questions (look for "?" or question patterns)
  • Deadlines (look for dates, "by Friday", etc.)
  1. Auto-generate tags:
  • Based on content analysis
  • Project-specific keywords from RULE.md
  • People mentioned
  • Topics detected

Phase 5: Timeline Integration

Objective: Add communication to project timeline.

Steps:

  1. Read current timeline files:
   Read communications/timeline.yaml
   Read communications/timeline.md
  1. Add entry to timeline.yaml:
   timeline:
     - id: comm-{uuid}
       timestamp: 2025-12-10T14:30:00+08:00
       timestamp_confidence: exact
       type: email
       source: Gmail
       subject: "Project Update from Client"
       from: client@example.com
       summary: "Client approved Phase 2 designs with minor revisions"
       file: communications/by-date/2025-12/2025-12-10_14-30_email_project-update.md
       related:
         sprint: sprint-05
         milestone: beta-release
         thread: comm-previous-id
       tags: [client, approval, design]
       key_points:
         - "Design approved with 3 minor revisions"
         - "Deadline: Dec 15 for revisions"
       action_items:
         - "Implement revision 1: color scheme update"
         - "Implement revision 2: font size adjustment"
  1. Add entry to timeline.md (human-readable):
   ## 2025-12-10

   ### 14:30 - Email from Client

   **Subject**: Project Update from Client
   **From**: client@example.com
   **Summary**: Client approved Phase 2 designs with minor revisions
   **File**: [View full communication](by-date/2025-12/2025-12-10_14-30_email_project-update.md)
   **Related**: Sprint 5, Beta Release Milestone
  1. Maintain chronological order:
  • Insert new entry in correct position (sorted by timestamp)
  • Update surrounding entries if needed for context
  1. Cross-reference with existing communications:
  • If part of email thread → Link to previous
  • If same topic as recent → Note relationship
  • If references project artifacts → Add links

Phase 6: Save and Organize

Objective: Save communication to appropriate locations.

Steps:

  1. Determine file locations:
  • Primary: communications/by-date/YYYY-MM/filename.md
  • Index reference: communications/by-source/{source}/README.md
  • Backup: communications/raw/ (if configured)
  1. Create directory structure if needed:
   mkdir -p communications/by-date/2025-12
   mkdir -p communications/by-source/email
  1. Save communication document:
   Write communications/by-date/2025-12/2025-12-10_14-30_email_project-update.md
  1. Update by-source index:

Add to communications/by-source/email/README.md

  1. Verify save successful:
   ls -la communications/by-date/2025-12/2025-12-10_14-30_email_project-update.md

Phase 7: Governance Update

Objective: Update README.md indexes and project documentation.

Steps:

  1. Update communications/README.md:
   ## Recent Communications

   ### December 2025

   | Date | Type | Subject | From | File |
   |------|------|---------|------|------|
   | 2025-12-10 14:30 | Email | Project Update from Client | client@example.com | [View](by-date/2025-12/2025-12-10_14-30_email_project-update.md) |

   [Previous entries...]

   ---
   Last updated: 2025-12-10
  1. Update project root README.md:

Add to Recent Activity:

   ## Recent Activity

   - 2025-12-10: Communication tracked - Client approval email for Phase 2
  1. Update related artifacts (if applicable):
  • If communication mentions sprint → Update sprint document references
  • If communication contains decision → Create/update decision record
  • If communication has action items → Optionally create tasks
  1. Execute custom workflows from RULE.md:

Read and execute any project-specific workflows for communications.

Phase 8: Report

Objective: Confirm completion and provide summary.

Report format:

Communication Tracked Successfully!

Type: [Email/Chat/Screenshot/Document]
Timestamp: YYYY-MM-DD HH:MM [confidence level]
From: [Sender]
Subject: [Topic]

Saved to:
- communications/by-date/YYYY-MM/filename.md
- Timeline updated (timeline.yaml, timeline.md)
[If backed up:]
- Original backed up: communications/raw/filename.ext

Related to:
- Sprint: [Sprint N or "None"]
- Milestone: [Milestone or "None"]
- Thread: [Previous communication or "New thread"]

Key Points Extracted:
- [Key point 1]
- [Key point 2]
- [Action items if any]

Governance Updated:
- communications/README.md
- Project README.md
[If linked to sprint/milestone:]
- sprints/sprint-N/sprint-plan.md

Tips:
- View timeline: "Show communication timeline"
- Search communications: "Find communications about [topic]"
- Track another: "Track this email: [content]"

Special Cases

Case 1: Batch Import

If user provides multiple communications at once:

User: "Import all these emails about the project"
[Multiple email contents or file paths]

Process:

  1. Identify all items (emails/messages/files)
  2. Process each individually (Phase 2-5)
  3. Maintain thread relationships
  4. Update timeline once with all entries
  5. Report batch summary:
   Batch Import Complete!

   Imported 5 communications:
   - 3 emails (Dec 5, Dec 7, Dec 10)
   - 2 chat threads (Dec 6, Dec 9)

   Timeline updated with 5 new entries
   Thread relationships established

   [List of created files]

Case 2: Thread/Conversation Tracking

If communication is part of ongoing thread:

Process:

  1. Detect thread indicators (Re:, Fwd:, reply chains)
  2. Search existing communications for thread
  3. If found: Link as continuation
  4. If not found: Ask if should create new thread
  5. Update thread visualization in timeline:
## Email Thread: Project Budget Discussion
├── 2025-12-05 09:00: Initial proposal [From: PM]
├── 2025-12-06 14:30: Questions from finance [From: CFO]
├── 2025-12-08 10:15: Revised proposal [From: PM]
└── 2025-12-10 16:00: Approval [From: CFO] ← NEW

Case 3: Mixed Media Communication

If communication contains multiple media types:

User: "Track this email with the attached screenshot"

Process:

  1. Process email content (Phase 2B)
  2. Process attachment (Phase 2A for screenshot)
  3. Create linked documents:
  • Main: email document
  • Attachment: screenshot analysis
  1. Cross-reference in both documents
  2. Single timeline entry with attachments noted

Case 4: Urgent/Priority Communication

If communication marked as urgent or contains deadlines:

Process:

  1. Detect urgency markers ("URGENT", "ASAP", deadline dates)

2.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.