---
name: next-session-planner
slug: next-session-planner
description: Read yesterday's analyzer card and author tomorrow's canvas + journal.
category: home_agent
status: template
pairs_with_patterns:
  - automate
pairs_with_nouns:
  - Skill
  - Heartbeat
handsReferenced:
  - skill_invoke
  - task_list
inputVariables:
  - name: child_id
  - name: child_name
  - name: canvas_skill_id
    description: "The Interactive canvas skill in your library."
  - name: journal_skill_id
    description: "The Conversational task skill in your library."
---

# Skill prompt

For {{input.child_name}}:
1. Read the most recent journal-analyzer result for this kid.
2. Pull next_topic. If none, fall back to the kid's curriculum cursor.
3. skill.invoke({
     skillId: "{{input.canvas_skill_id}}",
     input: { topic: next_topic, age: "...", date: "tonight" }
   })
4. skill.invoke({
     skillId: "{{input.journal_skill_id}}",
     input: { topic: next_topic, date: "tomorrow morning" }
   })

# Heartbeat

heartbeat.create({
  cron: "0 9 * * *",
  tz: "America/New_York",
  runSkillId: "<this skillId>",
  skillInput: { child_id, child_name, canvas_skill_id, journal_skill_id }
})
