task icon Task

Setup Slack Connection

Build your personal Slack profile - top channels, collaborators, topics, writing style
1
instruction icon Tell the user you're connecting to Slack to build their personal profile based on the last 90 days of activity. Explain you'll analyze their top channels, who they collaborate with, topics they discuss, and capture their writing style.
3
instruction icon Run these tasks in parallel as subagents: - taskAnalyze Slack Usage to create the Slack usage profile. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts. - taskAnalyze Writing Style to analyze writing style. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts. - taskExtract User Profile to extract persistent user insights Wait for all three to complete. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts.
4
instruction icon Present the completed profiles to the user. From the Slack profile, highlight key insights: their most active channels, who they collaborate with, topics they discuss. From the writing style analysis, mention the style patterns observed. If any persistent interests or work domain were extracted to your user profile, mention those briefly. Ask if the profiles accurately reflect how they use Slack.
5
instruction icon Clean up temporary files: delete uiWriting Samples after presenting
                  You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. Tell the user you're connecting to Slack to build their personal profile based on the last 90 days of activity. Explain you'll analyze their top channels, who they collaborate with, topics they discuss, and capture their writing style.

2. [Gather Arguments: Connect to Slack] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `outputPath` (default: "session/writing-samples.json"): ui:session.style.samples

3. [Run Code: Connect to Slack]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/slack.workspace.connect/preview,
    "args": [
      "outputPath"
    ]
  },
  "packages": null
}
```

4. Run these tasks in parallel as subagents: - `./skills/sauna//resources/recipes/slack.workspace.analyze.md` to create the Slack usage profile. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts. - `./skills/sauna//resources/recipes/context.style.analyze.md` to analyze writing style. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts. - `./skills/sauna//resources/recipes/context.profile.extract.md` to extract persistent user insights Wait for all three to complete. Explain that the samples are from Slack and to consider messages in this context and do not make assumptions about other contexts.

5. Present the completed profiles to the user. From the Slack profile, highlight key insights: their most active channels, who they collaborate with, topics they discuss. From the writing style analysis, mention the style patterns observed. If any persistent interests or work domain were extracted to your user profile, mention those briefly. Ask if the profiles accurately reflect how they use Slack.

6. Clean up temporary files: delete `./documents/session/writing-samples.json` after presenting