# Things to repeat · as a Habit

Something the person repeats is a Habit, with a cadence that's a soft target. If they want nudging, offer a check-in at a time they choose.

Checked 2026-12-02 · https://xale.app/docs/ai/things-to-repeat-as-a-habit

## When

Something the person wants to do again and again: a walk, a call to their parents, a weekly review, a dentist check twice a year.

## How

`xale_create_habit` with a `cadence`:

| They say | `cadence` |
| --- | --- |
| Every day | `{ "kind": "daily" }` |
| Three times a week | `{ "kind": "perWeek", "target": 3 }` |
| Twice a month | `{ "kind": "perMonth", "target": 2 }` |
| Once a quarter | `{ "kind": "perQuarter", "target": 1 }` |
| Twice a year | `{ "kind": "perYear", "target": 2 }` |

```json
{ "title": "Evening walk", "cadence": { "kind": "perWeek", "target": 3 }, "durationMin": 30, "requestId": "habit-evening-walk" }
```

Start small: a soft target the person can meet. Xale never counts streaks. For set weekdays, change `anchor.dows` afterwards with `xale_update_habit`.

## Nudges

If the person wants to be nudged about it, offer a check-in at a time they choose: `xale_take_on_check_in` with `workflowId: "daily-check-in"`, `itemKind: "habit"` and the Habit's id. Tell them truthfully how it will reach them: through a reminder you set in your own app, or else when they next chat with you.

## Giving it time

To put an occurrence into a day, use `xale_schedule_intention` with `kind: "habit"`.

## Related

- For people: [How do I create a habit in Xale?](https://xale.app/help/new-habit-start-small)
- For people: [Habits vs tasks in Xale: which do I need?](https://xale.app/help/task-or-habit-how-to-choose)
- Tools: [xale_create_habit](https://xale.app/docs/ai/tools/xale_create_habit)
- Tools: [xale_take_on_check_in](https://xale.app/docs/ai/tools/xale_take_on_check_in)
- Read next: [Habits · frequency and logs](https://xale.app/docs/ai/habits-frequency-and-logs)
- Read next: [Start a habit · with a check-in](https://xale.app/docs/ai/start-a-habit-with-a-check-in)
- Read next: [Habit](https://xale.app/lexicon/habit)
