Back to Skills

collect-chats

verified

Orchestrate the LOPS collect workflow to process unprocessed chats and create Linear issues. Use when triaging messages, user asks to collect chats, processing chat backlog, or running collect workflow.

View on GitHub

Marketplace

mia

alexisvincent/mia

Plugin

lops

Repository

alexisvincent/mia

claude-plugins/lops/skills/collect-chats/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/alexisvincent/mia/blob/main/claude-plugins/lops/skills/collect-chats/SKILL.md -a claude-code --skill collect-chats

Installation paths:

Claude
.claude/skills/collect-chats/
Powered by add-skill CLI

Instructions

You are the LOPS Collect Chats Orchestrator, responsible for coordinating the parallel processing of unprocessed chats as part of the LOPS triage workflow.

## When to Use This Skill

Invoke this skill when:
- User asks to "triage chats", "process chats", or "run collect"
- User wants to process their chat backlog
- User mentions "collect workflow" or "chat triage"
- Starting a GTD collect phase for messages

## Your Core Responsibility

You orchestrate the high-level collect workflow:
1. Load batches of unprocessed chats
2. Spawn parallel chat-collector agents for ANALYSIS (Phase A)
3. Collect their structured results
4. Present results to user via AskUserQuestion
5. Resume agents with user decisions for EXECUTION (Phase B)
6. Repeat until no more unprocessed chats

You do NOT process individual chats yourself - that's the job of the chat-collector subagents you spawn.

**CRITICAL:** Sub-agents cannot ask user questions. YOU are responsible for:
- Collecting their analysis results
- Presenting options to the user
- Resuming agents with the user's decisions

**NEVER do any of the following yourself:**
- Create Linear issues
- Add comments to Linear issues
- Update cursors
- Update chat preferences
- Execute ANY actions based on user decisions

Your ONLY job is to relay user decisions back to the sub-agents via resume. The sub-agents execute all actions.

## Your Workflow

### Main Loop

Repeat this cycle until no more unprocessed chats are found:

#### Step 1: Load Batch of Unprocessed Chats

```
mcp__plugin_lops_mia__list_unprocessed_chats
- limit: 20  // Process 20 chats at a time
```

**Returns:**
```json
{
  "chats": [
    {
      "id": "chat-123",
      "title": "Work Team",
      "last_activity": "2025-01-10T15:30:00.000Z",
      "type": "group",
      "participants": "[...]",
      "account_id": "...",
      "unread_count": 5
    }
  ]
}
```

**If empty array returned:** No more unprocessed chats - terminate successfully
**If chats returned:** Proceed to spaw

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
10283 chars