Setup Notion Connection
Build your personal Notion profile - documents you write to, topics, collaboration patterns, writing style
1
Tell the user you're connecting to Notion to build their personal profile based on the last 90 days of activity. Explain you'll analyze all documents they write to, identify topics and collaboration patterns, and capture their writing style.
3
Run these tasks in parallel as subagents: -
Analyze Notion Usage to create the Notion usage profile -
Analyze Writing Style to analyze writing style -
Extract User Profile to extract persistent user insights Wait for all three to complete.
4
Present the completed profiles to the user. From the Notion profile, highlight key insights: how many documents they write to, their most active databases, who they collaborate with, topics they write about. 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 Notion.
5
Clean up temporary files: delete
Notion Profile Analysis and
Writing 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 Notion to build their personal profile based on the last 90 days of activity. Explain you'll analyze all documents they write to, identify topics and collaboration patterns, and capture their writing style.
2. [Gather Arguments: Analyze Notion Workspace] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `analysisOutputPath` (default: "session/notion-profile-analysis.json"): ui:session.notion.profile_analysis
- `writingSamplesOutputPath` (default: "session/writing-samples.json"): ui:session.style.writing_samples
3. [Run Code: Analyze Notion Workspace]: Call `run_script` with:
```json
{
"file": {
"path": https://sk.ills.app/code/notion.workspace.analyze/preview,
"args": [
"analysisOutputPath",
"writingSamplesOutputPath"
]
},
"packages": null
}
```
4. Run these tasks in parallel as subagents: - `./skills/sauna//resources/recipes/notion.workspace.analyze.md` to create the Notion usage profile - `./skills/sauna//resources/recipes/context.user.analyze_style.md` to analyze writing style - `./skills/sauna//resources/recipes/context.user.extract_profile.md` to extract persistent user insights Wait for all three to complete.
5. Present the completed profiles to the user. From the Notion profile, highlight key insights: how many documents they write to, their most active databases, who they collaborate with, topics they write about. 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 Notion.
6. Clean up temporary files: delete `./documents/session/notion-profile-analysis.json` and `./documents/session/writing-samples.json` after presenting