Invoke writer in draft-outreach mode.
Invocation
- Use the exact agent name
writer. Retry once with the same name if invocation fails.
Workflow
Application data uses the split layout defined in references/tracker-schema.md — read it before any read or write.
- Prior communication history (enrichment — default for named recipients): Outreach to a specific person or known contact at a company should be grounded in real mail/calendar context when the host allows—not guesswork.
1. If a ContactContextBrief is already in chat → use it as-is (full block to writer).
2. Else if Gmail/M365 inbox and/or calendar tools appear in this session → run contact-context end-to-end before invoking writer, unless the user explicitly says to skip history (“no prior thread,” “brand-new contact,” “template only”) or the ask is purely generic with no named recipient yet. Do not invent threads.
3. Else (no mail/calendar tools in session) → still invoke writer, but pass a single line: Prior communication: not retrieved — inbox/calendar tools not available in this session; do not imply prior email or meetings.
If the user says they sent mail but the address was wrong or search is empty, follow contact-context “User said they sent”; email_address_notes carries address candidates. Include calendar_notes, upcoming_meetings, and warm_networking in the handoff when present—if upcoming_meetings is non-empty, outreach should not read as a cold first touch.
- Read
{user_dir}/CareerNavigator/profile.mdand{user_dir}/CareerNavigator/voice-profile.md(create stub if missing). - Voice preflight: If
voice-profile.mdhas no user-pasted block under## User writing samplesor## User writing samples (launch)(substantive excerpts), ask before invokingwriter: paste 2–5 LinkedIn posts or short professional writing; mention optional launch voice harvest (résumé/CV/cover text from disk); user may reply skip (low voice match). If they paste, append a dated## User writing samplessection. If samples already exist, skip this ask. - From conversation, capture: channel, recipient archetype (title/company if known), objective (info chat, referral check-in, post-event ping), and any StrategistHandoff, ContactContextBrief, or facts the user pasted.
- Pass a structured brief to
writerindraft-outreachmode. Required: include the full## ContactContextBriefmarkdown block when available, or thePrior communication:fallback from step 0.writermust thread summary, open_loops, hooks_for_writer, calendar_notes, upcoming_meetings, and warm_networking into the draft when present—seeagents/writer/AGENT.md. Do not draft final copy in this skill—delegate. - Present
writeroutput (variants if offered). Remind: connectors support warm threading when available. - Sent confirmation + auto-track: After presenting the copy, say:
> "Let me know when you've sent this and I'll log it to your tracker."
When the user confirms (e.g. "sent", "I sent it", "done", "sent it just now"), write the multi-file transaction from references/tracker-schema.md — never update one file and leave the others stale:
- Read
{user_dir}/CareerNavigator/tracker.json(summary rows only) and find a row for the same company - If a matching row exists, load
{user_dir}/CareerNavigator/+ itscontacts_file(contacts/<company-slug>.json) — take the path from the row, never derive the slug yourself. Find the entry whosenamematches the recipient and whoseapplicationequals the row'sapplicationlabel, and append to that contact'sinteractions[]:
```json
{ "date": "YYYY-MM-DD", "type": "linkedin | email", "notes": "Sent outreach: {one-line summary of message objective}" }
```
If the row has no contacts_file, or the person is not in it yet, add the contact per the schema's Adding or updating a contact rules (create contacts/<slug>.json if needed, set application to the row's label, recompute contact_count in both the file and the row).
Also append to notes[] in {user_dir}/CareerNavigator/ + the row's detail_file (applications/<application_id>.json): { "date": "YYYY-MM-DD", "text": "Outreach sent via {channel} to {recipient} — {objective}" }, then set the row's notes_count to the new array length
Update the summary row's next_step to "Await response"
- If no matching application exists but the recipient is at a target company: offer to log a new networking entry in
networking.jsonundernetworking[] - Confirm:
Logged: outreach to {recipient} at {company} ({channel}) — {date}
Notes
- If the user only has strategy questions, point them to
networking-strategy/network-mapfirst, then return here for copy.