Docs Join alpha
Skills

Next-session planner

Read yesterday's analyzer card, pick tomorrow's topic, author the next canvas + journal.

file_download Download next-session-planner.md
StatusPairs withNouns
TemplateAutonomous loopSkill

What it does

The planner half of a self-improving loop. Each morning, reads the most recent analyzer card, picks the next topic, invokes the canvas skill + journal skill with those inputs. Ships tomorrow's work without your involvement.

How to use it

Author the skill. Schedule via heartbeat.create. Pair with Journal analyzer running the evening before.

The spec

This is the raw .md content. Download as file or copy below.

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 }
})

Autonomous loop

Was this page helpful?