{
  "version": 1,
  "newSession": [
    {
      "id": "watch-a-file",
      "label": "Watch a file",
      "icon": "file-text",
      "prompt": "Watch {{file}} for {{pattern}} and when it matches, {{what}}. Create the watcher with 00 watchers new, then confirm the file it wrote.",
      "inputs": {
        "file": { "kind": "file", "label": "the file to watch", "sources": ["workspace"] },
        "pattern": { "kind": "text", "label": "what to look for", "placeholder": "ERROR|Traceback", "max": 200 },
        "what": { "kind": "text", "label": "what you should do", "placeholder": "check the last deploy and tell me", "max": 300 }
      }
    },
    {
      "id": "watch-an-endpoint",
      "label": "Watch an endpoint",
      "icon": "world-search",
      "prompt": "Poll {{url}} and wake me when {{field}} changes. When it does, {{what}}. Create the watcher with 00 watchers new (a json rule on that field, not a regex), test it once, and tell me the file it wrote.",
      "inputs": {
        "url": { "kind": "text", "label": "the endpoint", "placeholder": "https://status.example.com/api", "max": 300 },
        "field": { "kind": "text", "label": "the field to watch", "placeholder": "status", "max": 100 },
        "what": { "kind": "text", "label": "what you should do", "placeholder": "tell me what is affected", "max": 300 }
      }
    },
    {
      "id": "digest-app-errors",
      "label": "Digest my app errors",
      "icon": "alert-triangle",
      "prompt": "Set up a digest watcher on the app-errors stream: mode digest, so it never wakes me — the errors fold into your next turn instead. Ten-minute window, three errors before it counts, and a body telling you to read the page's code under skills/ and say what you would change. Create it with 00 watchers new, test it, and tell me the file it wrote."
    }
  ]
}
