# reaction-tracker

A Clawpilot skill that tracks who reacted to a specific Microsoft Teams chat message with a specific emoji. Returns a name + email list for each responder and writes a CSV snapshot. Repeatable for any message and any reaction. This is the "lobster list" pattern, generalized.

## Why this exists

Teams shows reactions on a message but doesn't give you an easy export. If you ever asked "who hit it with the lobster?" or "which people responded with a thumbs-up?", this skill gives you a clean list, on demand, as often as you want.

## Install

1. Copy `reaction-tracker.md` to your Clawpilot skills folder:
   - Windows: `C:\Users\<you>\.copilot\m-skills\reaction-tracker\reaction-tracker.md`
   - Or import via Clawpilot Settings then Skills then Add local skill.
2. Restart Clawpilot (or reload skills) so the new skill is picked up.

There are no placeholders to fill in. The skill saves CSVs into the current workspace directory by default.

## Use

In a Clawpilot chat:

```
/reaction-tracker <Teams message permalink> <emoji>
```

Or just paste a Teams message link and ask something like:

- "who reacted with 🦞 to this message?"
- "track reactions for this message: <link>, emoji 👍"
- "lobster list for <link>"

Optional modifiers in natural language:

- "save the CSV to `<some other folder>`"
- "include people who reacted with anything, not just <emoji>"

## Output

- A CSV at `reaction-tracker-<emoji-name>-<messageId>.csv` with columns `name,email,userId,reactedAt`, sorted by reaction time.
- A short summary in chat: total count, the list of names, the saved path, and a one-line breakdown of any other reactions on the same message.

## Requirements

- Clawpilot with Microsoft 365 tools enabled (`m365_list_chat_messages`, `m365_get_chat`).
- Signed in to Microsoft 365 in your Clawpilot session.
- You must already have access to the chat that contains the message.

## License

Provided as-is. No warranty. Do whatever you like with it.
