# Domain recipes

> No domain recipe ships with WorkLens. Your AI assistant drafts one for your business through MCP; worked examples live in the repository.

Section: Packs · Type: reference · Last updated: 2026-09-13

A domain recipe — invoicing, payroll, banking, insurance, anywhere in the world — describes your tables, their fields and your business arithmetic: tax, contributions, surcharges. WorkLens ships none, because those rules are yours to state and keep current. Your AI assistant drafts the recipe from a prompt through the MCP server (get_recipe_schema, validate_recipe), and the engine generates exactly what it declares. The repository keeps worked Australian examples (au-banking, au-insurance, au-invoice, au-payroll, au-super) in examples/packs/domains/ to read and copy; no tool loads one by name.

## The picture

Prompt (payroll with tax and super) → AI assistant (drafts it through MCP) → Recipe (yours, committed) → Data (generated locally)

## Worked example recipes (not shipped)

- examples/packs/domains/au-banking.json — transaction (11 fields, 50 rows)
- examples/packs/domains/au-insurance.json — policy (11 fields, 50 rows)
- examples/packs/domains/au-invoice.json — invoice (9 fields, 50 rows)
- examples/packs/domains/au-payroll.json — employee (8 fields, 50 rows)

## Worked example value lists (not shipped)

- examples/packs/domains/au-super.json — provides domain:au-super.complaints, domain:au-super.rejections, domain:au-super.investment_options; datasets complaint_categories (10), complaint_templates (15), rejection_reasons (10), investment_options (12)

## Pass an example as the recipe

```json
{
  "name": "generate_synthetic_data",
  "arguments": {
    "schema": "<the JSON of examples/packs/domains/au-payroll.json>",
    "n_rows": 100,
    "seed": 42
  }
}
```

The recipe itself, as JSON — no tool takes a recipe by name.

## Common questions

**Where did the built-in invoice, payroll, banking and insurance packs go?**

They stopped shipping on 2026-09-21. A domain recipe carries a business’s own rules — GST, super rates, tax brackets, surcharges — which are the user’s to state and keep current, not WorkLens’s. They are worked examples in examples/packs/domains/ now; pass one to any tool as recipe JSON, or ask your AI assistant to draft your own.

## Related

- [Locale packs](https://theworklens.com/docs/packs/locale): Names, companies, streets, suburbs and bank codes for a region come from a locale pack you register. None ships with WorkLens; examples live in the repository.
- [Custom packs](https://theworklens.com/docs/packs/custom): Writing a pack of your own — the manifest every pack shares, provenance, tokens, and the agent loop that drafts one when a run is missing it.
- [Recipe schema](https://theworklens.com/docs/reference/recipe-schema): The 13 top-level keys of a recipe, the minimal example, and what the engine supports and does not — from the schema it serves to agents.

_← Previous: [Locale packs](https://theworklens.com/docs/packs/locale) · Next: [Custom packs](https://theworklens.com/docs/packs/custom) →_

_Example names, tables and datasets are read from the example files. Source: examples/packs/domains/*.json._

_Canonical: https://theworklens.com/docs/packs/domain · This copy: https://theworklens.com/docs/packs/domain.md_
