# Agent skills

> The skills Flow ships for coding agents (settings, snooze, schedules, notebooks, trash, sync, tools, babysit-prs), what each does and how to enable it.

Flow ships a set of **skills**: playbooks that teach a coding agent how to do one job in Flow correctly, such as changing a setting, snoozing a session or cleaning up worktrees. Each is a `SKILL.md` file in `~/.flow/skills/NAME/`. The Flow agent reads them automatically; any other agent can be pointed at them.

## Where skills live

Skills live in `~/.flow/skills/`, one folder per skill:

```text
~/.flow/skills/
  settings/SKILL.md
  settings/MANIFEST.md
  snooze/SKILL.md
  …
```

A skill is the standard `SKILL.md` shape: a frontmatter block between `---` lines with `name:` and `description:`, then Markdown instructions.

Flow writes its built-in skills into this folder when Settings › Advanced › Flow agent skills is shown and each time a Flow agent starts. It only writes a `SKILL.md` that is missing, so **your edits are kept**, and a built-in skill you delete comes back the next time. Files Flow generates beside a skill (the settings skill's `MANIFEST.md`) are not yours to edit: Flow rewrites them whenever they differ from the running version.

## Use skills with the Flow agent

1. Turn on the Flow agent: Settings › Experiments › **Flow agent** (`features.flow`).
2. Open it with `⌃⌘J` (the `toggle_flow` shortcut, system-wide while the agent is on).
3. Ask in plain words: "rebind split to ⇧⌘K", "snooze this until CI passes", "which worktrees can I delete?".

The agent's prompt lists every skill's name, description and path, and the agent reads a skill's `SKILL.md` in full before following it. An edit to a skill therefore applies on the agent's next turn. The prompt also carries the full `flow-cli` reference.

Settings › Advanced › **Flow agent skills** shows the skills folder with **Open folder**, and one row per skill with **Open** for its `SKILL.md`.

## Use skills with another agent

The skills are plain Markdown, and every skill drives Flow through `flow-cli`, which works from any Flow pane. To use one with Claude Code or another agent running in Flow, point it at the file, for example: "read ~/.flow/skills/snooze/SKILL.md and snooze this session until CI passes".

## Add your own skill

1. Create `~/.flow/skills/NAME/SKILL.md`.
2. Start it with frontmatter:

   ```markdown
   ---
   name: deploy
   description: Deploy the current branch to staging. Use when the user asks to deploy or ship to staging.
   ---
   ```

3. Write the steps below it. The Flow agent sees the new skill the next time it starts.

## The built-in skills

### settings

Reads and changes any Flow setting the way the Settings window does: rows by id, shortcuts, experiments, terminal and sidebar themes, and per-repository overrides, and explains where a value comes from. Use it for "turn off the minimap", "rebind …", "why is my merge method rebase here?".

- Ships `MANIFEST.md` beside it: every Settings row (id, place, control, default, keys, scope) and every per-repository key, generated from the running app.
- Changes settings with `flow-cli settings apply / reset / repo-set / repo-unset` and shows them with `flow-cli reveal-setting`; never hand-edits `settings.json`; asks before broad changes.
- Needs nothing extra. See [Settings](https://flow.worldbreakstudios.com/docs/configuration/settings.md) and [Settings scopes](https://flow.worldbreakstudios.com/docs/configuration/settings-scopes.md).

### snooze

Snoozes a session until something happens: a time, the agent's next message, a PR verdict or review comment, CI finishing or failing, any shell command exiting 0, or until woken by hand. It chooses what may wake the session early, and writes the named **watch** commands that wake it. It also edits the ignore lists and which CI checks count.

- Uses `flow-cli snooze`, `snooze-wake`, `snooze-checks` and `wake`; proposes the condition or command and confirms before setting it.
- Needs nothing extra. See [Notifications and snooze](https://flow.worldbreakstudios.com/docs/workspace/notifications-and-snooze.md).

### schedules

Sets up, changes and looks after scheduled commands and reminders with you: the cron, the command, what happens to runs missed while the Mac slept, and what needs approval. It reads run logs and handles the Inbox.

- Uses `flow-cli schedule-*` and `read schedules / schedule-inbox / schedule-runs`; always proposes, confirms, then creates.
- Schedules only run while the **Automations** experiment (`features.automations`) is on. See [Schedules](https://flow.worldbreakstudios.com/docs/features/schedules.md).

### notebooks

Builds interactive notebooks in a session's Notes tab: runnable Python, JavaScript and shell cells with inline outputs, input sliders, fields, selects and toggles that re-run the cells using them, and native charts and tables.

- Writes the page's Markdown, then runs and checks it with `flow-cli notes-run-cell`, `notes-set-input` and `read notebook`.
- Needs the **Notebooks** experiment (`features.notebooks`, Alpha). The skill asks before turning it on, since it lets pages run code as you. See [Notebooks](https://flow.worldbreakstudios.com/docs/features/notebooks.md).

### trash

Cleans up old git worktrees with you through the Trash page: reads which worktrees are safe to delete, on this Mac or on a paired device, and deletes the safe ones, never without your yes.

- Uses `flow-cli read trash` (verdicts `safe`, `pushed`, `loses_work`, `in_use`) and `flow-cli trash-delete`.
- Needs nothing extra. See [Trash](https://flow.worldbreakstudios.com/docs/features/trash.md) and [drop](https://flow.worldbreakstudios.com/docs/cli/drop.md).

### babysit-prs

Watches the sessions you name and keeps each one's coding agent moving toward a mergeable draft PR: marks them babysat, checks in on a timer, reads every pane, nudges idle agents with short instructions, and brings questions that need a human back to the Flow chat. It never edits a repository, runs its tests or changes a PR itself.

- The set of babysat sessions is app state (each session's babysit flag, set from its row menu or the **Babysit/stop babysitting group** action, `toggle_babysit`); a babysat session's Dashboard card wears a marching-ants outline and its sidebar row a dashed ring.
- Made for the Flow agent (`features.flow`), which reports back in its chat.

### sync

Reads and acts on what Flow syncs across your paired devices: which devices are live, another device's sessions and tabs, a tool's shared rows. It writes this device's rows and sends intents to another device (close or rename a session there), then follows an intent through the outbox.

- Uses `flow-cli sync status / schema / query / mutate / intent`.
- Needs the **Puddles** experiment (`features.remote`) and a paired device. See [Sync overview](https://flow.worldbreakstudios.com/docs/sync/overview.md).

### tools

Builds a flow tool end to end with you: a small CLI or TUI whose data syncs across your devices. It scaffolds the tool, designs its sync schema, generates a typed client, writes the program, proves it on a simulated puddle with `sink sim`, and installs it.

- Uses `sink tool new / check / codegen / run`, `sink sim` and `flow-cli tool check / open`.
- See [Custom tools](https://flow.worldbreakstudios.com/docs/cli/custom-tools.md).

## Limits

- The Flow agent needs the Flow agent experiment; with it off, Settings › Advanced still lists the skills and says the agent is disabled.
- A skill can only do what `flow-cli` can; skills that touch Notebooks, Schedules or sync need those experiments on.
- Flow restores a deleted built-in skill; to change one, edit it instead.
