--- name: agent-team-restart description: Restart the whole outreach agent team in a fresh Claude Code session. Starts the browsers, checks each account is signed in, and recreates every scheduled agent job from outreach/agents/schedule.json. Use when the user types /agent-team-restart or asks to restart, resume or bring back the agents, the outreach, or "the jobs we had running". --- # Restart the agent team Everything lives on disk in `outreach/`. Claude Code scheduled jobs are session-only and expire after 7 days, so recreate them in every new session and at least weekly. Do the steps in order, then report in a few lines. ## 1. Start the browsers Run `outreach/agents/tools/start-browsers.ps1` (PowerShell). It starts each Chrome profile only if its CDP port is not already answering. ## 2. Check logins (read-only; never sign out, never switch accounts) - For each browser, open the account's home page in an existing tab and confirm the signed-in profile is the expected one (for example the X sidebar profile link, or the inbox address in Gmail). - If something is signed out, tell the user which window to sign into. Passwords are never stored on disk; never type one. ## 3. Recreate the jobs 1. List existing scheduled jobs first; do not duplicate any. 2. Read `outreach/agents/schedule.json`. For every item in `recurring`, create a recurring scheduled job with cron = item.cron and prompt = item.prompt. 3. For `one_shots`, create only those whose time is still in the future. 4. Skip everything under `disabled`. ## 4. Report 4 to 6 lines: browsers up, logins OK or what needs signing in, jobs recreated (ids), the latest dashboard numbers (last entry of `dashboard/history.json`), and a reminder that jobs die when the window closes and expire after 7 days. ## Where things live - `outreach/agents/schedule.json`: the live job list. If you change a role's timing or prompt, change it here too, or the next restart brings back the old version. - `outreach/agents/README.md` + `agents//ROLE.md` + `NOTES.md`: role instructions (top headers override older text). - `outreach/VOICE.md`, `PLAYBOOK.md`; every action logged in `outreach/posts.json`.