# Examples

> Prompts to paste into Werker and change, for single agents, workflows of several steps and factories.

Source: https://werker.cloud/docs/examples (updated 2026-12-03)

<script>
  import PaletteShortcut from '#lib/components/docs/palette-shortcut.svelte';
</script>

# Examples

Open **Search…** (<PaletteShortcut />), choose **New**, and describe
the work in your own words. Try one of these examples as written or
change it to fit. Werker works out the agents, steps and schedule from
the text. It may ask a round of questions and shows a brief to approve
before it starts
([how](agents-and-workflows.md#questions-and-the-brief)). Change the
names, times and links to your own.

`/work` is the project: files saved there are kept for the next run
([projects](projects.md)). An agent that keeps files needs a sandbox
(Admin → Sandboxes). One that reads the web needs a sandbox network
that allows the sites, or a connected service that fetches or searches
pages ([connections](connections.md)).

## If Werker asks questions

Answer in the boxes, then press **Continue**. One that comes up is
**Which project or repository do you mean?** Give the full link:

```text
https://github.com/earendil-works/pi
```

**Just do it now** sends the answers as they are picked and starts,
with no brief to approve.

## Agents

One agent doing one job. A prompt that says when it repeats ("every
day at 8:00") also makes a schedule.

### Triage the issue inbox

```text
Triage the three newest open issues in werker-ai/werker. Which would you pick up first, and why? Link each issue and suggest its next action. Leave GitHub unchanged.
```

Open the linked issues to check the ranking. Substitute your
repository for `werker-ai/werker`.

### Check the till

Needs: a sandbox to save the note.

```text
The till started with £40. We took £23.50 and £16.25 in cash and gave a £4.75 cash refund. I counted £74 at close. Does that add up? Save me a note for the morning.
```

Check the morning note: £40 + £23.50 + £16.25 − £4.75 comes to £75.
With £74 in the drawer, the till is £1 short.

### Release watcher

Needs: sandbox, web.

```text
Every morning, tell me what’s new in Svelte, Vite and Pi. Link me to the releases worth reading and don’t repeat ones you’ve already told me about.
```

To check the next digest without waiting until morning, open the
finished run and choose **Run again**. Compare the two digests: a
release from the first one shouldn’t appear as new in the second.

### Site checker

Needs: sandbox, web.

```text
Every day at 7:00, check every page in https://example.com/sitemap.xml. Report broken links, pages with a missing title or description, and pages that took more than 2 seconds to load. Add one row per page to /work/history.csv.
```

### Model price watcher

Needs: sandbox, web.

```text
Every Monday at 9:00, collect the input and output prices of the models on the OpenAI, Anthropic and Google pricing pages. Save them as /work/prices.csv, compare them with last week's prices and show what changed as a table and a chart.
```

### Docs checker

Needs: sandbox with Git, web.

```text
Every Friday at 16:00, clone https://github.com/OWNER/REPO and check its README and docs folder. List every file path, command and link they mention that no longer exists, with the file and line.
```

## Workflows

Ordered steps, each done by one agent.

### Review the Renovate queue

```text
List the two newest open Renovate PRs in werker-ai/werker. Review each separately: did the build and tests pass for this version? Tell me which to merge and which to hold, with links. Don’t merge anything.
```

In the workflow builder, keep the first step to listing PRs and their
head and base commits. On the review step, switch on **Run once per
item the step before lists**. Each PR then gets its own job. Open the
jobs to see the verdicts: a passing Renovate age check is not a
passing build. This example reads existing CI; it does not start a
build or merge a PR. If a job finishes with **CI pending**, open its
GitHub Actions link for the final result. The finished job does not
resume when CI completes.

### Topic brief

Needs: sandbox, web, a search service.

```text
Every Monday at 8:00, in separate steps: search for last week's news about TOPIC, remove anything already covered in earlier briefs in /work/briefs, then write a one-page brief with a link for every claim and save it in /work/briefs.
```

### Weekly changelog

Needs: sandbox with Git, web.

```text
Every Friday at 15:00, in separate steps: collect the commits to main of https://github.com/OWNER/REPO from the last 7 days, group them into features, fixes and other, then write a changelog a user would understand and save it as markdown in /work.
```

### Issue triage

Needs: a GitHub connection, or web for a public repository.

```text
Every weekday at 9:00, in separate steps: list the open issues of OWNER/REPO that have no label, then for each suggest a label, a priority and any likely duplicate, with the reason. Report them as one table. Do not change anything on GitHub.
```

To give each issue its own job, open the saved workflow and switch on
"Run once per item the step before lists"
([workflow steps](agents-and-workflows.md#workflow-steps)).

## Factories

A saved team with a lead. Message the lead in a room and it hands work
to the members ([factories](factories.md)). A factory works when it is
messaged; it does not run on a schedule.

### Release desk

```text
Make me a release team for werker-ai/werker. I want to bring a proposed change to the lead and get a QA testing recommendation and a draft release note. Don’t publish anything.
```

Give the lead a real PR in the team room:

```text
For https://github.com/werker-ai/werker/pull/96, what would QA test before release, and does this need a user-facing note? Give me the recommendation here.
```

Bring the next PR to the same team. Ask which checks were actually run
and which are recommendations.

### Small web app team

Needs: sandbox.

```text
Make a factory that builds small web apps. A lead who plans the work, a builder, a tester who runs the app before it is called done, and a reviewer who checks accessibility and simplicity.
```

### Blog desk

Needs: sandbox, web, a search service.

```text
Make a factory that writes blog posts. A lead who agrees the outline, a researcher who finds sources, a writer, and a fact checker who links a source to every claim before a post is finished.
```

### Data desk

Needs: sandbox with Python and pandas ([images](sandboxes.md#images)).

```text
Make a factory that answers questions about CSV files. A lead, an analyst who works with pandas, one who makes the charts, and a sceptic who recalculates every number before it is reported.
```
