The whole hunk
from line 154, old and new numbered
/
lines
from line 154
154154
155155<Steps>
156156 <Step title="Open the routine for editing">
157 Go to [claude.ai/code/routines](https://claude.ai/code/routines), click the routine you want to trigger via API, then click the pencil icon to open **Edit routine**.
157 Go to [claude.ai/code/routines](https://claude.ai/code/routines), click the routine you want to trigger via API, then open the menu next to the routine's name and select **Edit**.
158158 </Step>
159159
160160 <Step title="Add an API trigger">
from line 228
228228
229229<Steps>
230230 <Step title="Open the routine for editing">
231 Go to [claude.ai/code/routines](https://claude.ai/code/routines), click the routine, then click the pencil icon to open **Edit routine**.
231 Go to [claude.ai/code/routines](https://claude.ai/code/routines), click the routine, then open the menu next to the routine's name and select **Edit**.
232232 </Step>
233233
234234 <Step title="Add a GitHub event trigger">
from line 295
295295From the routine detail page you can:
296296
297297* Click **Run now** to start a run immediately without waiting for the next scheduled time. You can optionally supply run-specific text, which reaches the routine the same way as the API trigger's `text` field.
298* Use the toggle in the **Repeats** section to pause or resume the schedule. Paused routines keep their configuration but don't run until you re-enable them.
299* Click the pencil icon to open **Edit routine** and change the name, prompt, repositories, environment, connectors, or any of the routine's triggers. The **Select a trigger** section is where you add or remove schedules, API tokens, and GitHub event triggers.
300* Click the delete icon to remove the routine. Past sessions created by the routine remain in your session list.
298* Use the on/off switch at the top of the page to pause or resume the schedule. Paused routines keep their configuration but don't run until you re-enable them.
299* Open the menu next to the routine's name and select **Edit** to change the name, prompt, repositories, environment, connectors, or any of the routine's triggers. The **Select a trigger** section is where you add or remove schedules, API tokens, and GitHub event triggers.
300* Open the same menu and select **Delete** to delete the routine.
301301
302302### Manage routines from the CLI
303303
from line 337
337337
338338<Steps>
339339 <Step title="Open the routine for editing">
340 On the routine's detail page, click the pencil icon to open **Edit routine**.
340 On the routine's detail page, open the menu next to the routine's name and select **Edit**.
341341 </Step>
342342
343343 <Step title="Open the environment selector">