Skip to main content

Cross-agent / automations guide

Schedule recurring work with a clear stopping point

Schedule a reporting or PR-producing job with explicit instructions, limits and a reviewed first result.

4 min readUpdated Start the guide

Repeated work is useful when its outcome is clear: a morning report, a check after a release, or a bounded maintenance PR. A saved automation gives that job a schedule and history instead of relying on you to remember the same prompt.

Choose reporting or code work deliberately. An unattended agent cannot depend on you answering a question during each run.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • Owner access to the app's Automations page.
  • A job with a specific done condition and instructions for a quiet or empty result.
  • The connections, eligible agent and usage or run limits the selected mode requires.
The app automation editor with report/work modes and scheduling controls.
The app automation editor separates report and work modes, scheduling and usage policy. Example configuration, not an enabled automation. Open full-size screenshot
Step 1 of 6

Choose the job's authority

Open the app's Automations page and start a new automation. Select Write a report for observations, or Do the work and open a pull request when the task should produce reviewed code. Use the available capability explanation to check prerequisites. A request to release production unattended is outside the work automation's supported scope.

Step 2 of 6

Write instructions that can run without clarification

Name the target, scope, expected output and what to do when nothing needs attention. For work mode, fill in the completion and nothing-to-do conditions and choose an available agent where the account supplies its own. Keep the job bounded enough that the first run can be assessed.

Example scheduled maintenance job
Once a week, inspect this app for outdated documentation links. Fix only links with a verified replacement, add or update an appropriate check, and open one PR. Done means the relevant checks pass and the PR explains each replacement. If no verified fix is needed, report nothing to do and stop. Do not merge or deploy.
Step 3 of 6

Set the schedule in the displayed time zone

Choose the supported cadence and review the workspace time zone beside it. For an event trigger, read which tracked event starts a run and any conditions. Do not assume an arbitrary external webhook is connected merely because the prompt names it. Save as a draft while timing or scope is still undecided.

Step 4 of 6

Set usage, run and notification limits

Read the mode's cost summary. Report mode offers a stopping threshold for new runs; work mode also has a monthly run limit. Choose attention-only notifications for quiet runs, and set limits that reflect the job's value.

Step 5 of 6

Review the definition and rehearse code work

For a report, review the cadence and expected outcome before activation. For work mode, use Check this automation and Save and go to rehearsal. Run one real rehearsal, inspect its task, checks and PR, then activate only when the recorded result demonstrates the intended job. A preview of event matching does not validate the work itself.

Step 6 of 6

Inspect activity and pause when the job changes

Read the first real report or PR and confirm the instructions produce useful output. Pause the automation when it needs a different scope or connection. Changes to its work definition can require another rehearsal. Keep the merge and production-release decision in the normal review path after a work run opens its PR.

Check the result

  • The saved job has a clear mode, schedule, limits and expected output.
  • A report or rehearsed PR demonstrates the intended work, with activity and pause controls available.

Troubleshooting

The automation says it needs setup.

Read its capability reasons and complete the named connection or agent prerequisite, then rehearse again. Do not remove requirements solely to make the capability check pass.

A work run ends needing its owner.

Inspect its task for a question, permission prompt, failed check or ambiguous result. Narrow the instruction or correct setup. Unattended work should not automatically answer a consequential question.

Availability and limits

  • Work automations open PRs and do not automatically merge, resolve conflicts or release production.
  • Supported agents and connected-service requirements vary. Scheduled work does not establish uniform controls across all harnesses.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.