task icon Task

Extract Profile From Gmail Detective

Analyze discovery results and writing samples to extract comprehensive user facts

5

Extract user facts from discovery results following the extraction guidelines.

For each discovery category, read the FULL EMAIL BODIES and apply judgment.
Ask: Does this CONFIRM the fact, or just mention it? Is it the user's info?

Merge findings with existing uiUser Profile Facts (don't overwrite).
Add "From Gmail Detective:" attribution to new facts.

Write to: uiUser Profile Facts (files: personal.md, interests.md, goals.md) or uiWork Overview as appropriate.
Be selective—quality over quantity. Skip anything ambiguous.

6

Briefly confirm: 'Extracted [N] facts to your user profile.'

                    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. [Read Gmail Detective Extraction Guidelines]: Read the documentation in: `skills/sauna/[skill_id]/references/gmail.detective.extraction.md` (Signal vs noise guidance for all discovery categories)

2. [Read User Profile Facts]: Discover relevant information in the user's filesystem at `documents/user/profile/[file=personal|goals|interests|ideology].md`. (Existing profile to merge with - don't overwrite)

3. [Read Service Profiles]: Discover relevant information in the user's filesystem at `documents/user/services/*.md`. (Contains discovery results with FULL EMAIL BODIES grouped by category and tier (file: gmail.md))

4. [Read Gmail Detective Writing Samples]: Read the file at `session/detective-writing-samples.json` into context (Contains sent email content for work domain and interests extraction)

5. Extract user facts from discovery results following the extraction guidelines.

For each discovery category, read the FULL EMAIL BODIES and apply judgment.
Ask: Does this CONFIRM the fact, or just mention it? Is it the user's info?

Merge findings with existing `documents/user/profile/[file=personal|goals|interests|ideology].md` (don't overwrite).
Add "From Gmail Detective:" attribution to new facts.

Write to: `documents/user/profile/[file=personal|goals|interests|ideology].md` (files: personal.md, interests.md, goals.md) or `documents/work/overview.md` as appropriate.
Be selective—quality over quantity. Skip anything ambiguous.


6. Briefly confirm: 'Extracted [N] facts to your user profile.'