# Plan

> The Plan skill tells your assistant how to read, write and change your schedule in Pacado: read first, ask before big changes, undo for 30 days.

## What it does

This skill tells your assistant how to use Pacado's tools to read, write and change your schedule. It reads the schedule first, talks it through with you, then saves the workouts. A change that replaces or removes workouts across more than 7 days is put to you first. You can also set races, and any change can be undone for 30 days.

## When your assistant uses it

When you want to read, build or change your schedule or races. Your assistant reads again before every change, because you may have moved a workout in the schedule view.

## Sentences to try

- "Plan my week."
- "Show me next week."
- "Add my race to the schedule."
- "Undo the last change."

## Works well with

- [Check in](https://pacado.run/en/help/skills/check-in)
- [Races and the build](https://pacado.run/en/help/skills/race-and-build)

## The skill: SKILL.md

```markdown
---
name: plan
description: "Use when the athlete wants to read, build or change their training schedule or races through the schedule connector: how to read it first, write workouts in its format, ask before replacing more than a week, and set races."
---

# Plan

Use the schedule connector's tools to read, write and change the athlete's training schedule. You and
the athlete decide what goes in it; the connector stores it, shows it and sends workouts to Garmin.

## Read first

1. Call get_schedule. For a long schedule, call it with detail: "outline" to see every week in one
   line each, then read the weeks you need with from and to.
2. The athlete can move a workout or mark it in the schedule view. You see that only on a read, so
   read again before every change.

## Write workouts

1. Talk the schedule through with the athlete before you write it.
2. Send it with save_workouts. A whole schedule fits in one call. Its description gives the
   workout format and what Garmin accepts; follow it exactly.
3. To change a workout, send it again with its id: it is replaced in full. Without an id it is new.
   Leaving a workout out of a call never removes it; use remove_workouts for that.
4. If the call answers confirm_needed, tell the athlete how many workouts on which dates would be
   replaced or removed, and send the same call with confirmed: true only after they agree.
5. If the call answers invalid, fix each listed problem (index, step, field, reason) and send the
   whole call again. Nothing was saved.
6. Read the sending status in the answer. not_sent comes with a reason, such as an open-water swim
   or a step Garmin does not take; tell the athlete, and change the workout if they want it sent.
7. Use an "other" entry for anything that is not a workout, with a title and an optional duration.

## Races

Call set_races with the full list: it replaces the stored one. Give each race its id from
get_schedule to keep it. Priority is A or B.

## Phases

When the schedule covers several weeks and you name its parts to the athlete (or the athlete names
them), store them with set_phases in the same turn as the workouts, with the easier weeks you
marked. Send the full set again whenever the workouts or the race move: the stored phases do not
follow them. To show the whole build, call get_schedule with show: "overview"; do not draw a table.

## Undo

get_schedule lists recent_changes. undo_change puts back the state before a change, for 30 days,
and can itself be undone.

## Units

Metric in and out: metres, seconds, seconds per km, seconds per 100 m, bpm, watts, rpm, kg. Dates
are YYYY-MM-DD in the athlete's time zone, which get_schedule gives with today.

If a tool answers that the schedule is not available, say so in one line and stop.
```

---

This page for people: https://pacado.run/en/help/skills/plan

Claude, ChatGPT and Garmin are trademarks of their owners, as are the other product names on this site. Pacado is not made by or affiliated with Anthropic, OpenAI, Garmin or any of them.
