WorkLensDocs
    Studio
    reference

    Domain recipes

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

    Last updated 2026-09-13 · Generated from examples/packs/domains/*.json · Markdown

    Summary

    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.

    Promptpayroll with tax and super
    AI assistantdrafts it through MCP
    Recipeyours, committed
    Datagenerated 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

    {
      "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.