{
  "format": "cogitae-agent",
  "version": 1,
  "name": "Downloads Sorter",
  "description": "Moves each new download into a folder for its kind of file.",
  "prompt": "A file just arrived in ~/Downloads. Decide which kind it is (Documents, Images, Archives, Installers, Audio, Video or Other) and move it into the folder of that name under ~/Downloads/Sorted, creating the folder if needed. Leave partial downloads (.crdownload, .download, .part) alone. Then post a short notification saying where the file went.",
  "tools": ["fs", "notification"],
  "trigger": {
    "source": "fileSystem",
    "filter": { "pathPatterns": ["~/Downloads/*"] }
  },
  "modelSelection": { "taskType": "mechanical" },
  "actionPolicy": "askFirst",
  "limits": {
    "tokenBudget": 200000,
    "cooldownSeconds": 10,
    "maxActivationsPerHour": 30,
    "maxContinuations": 1
  },
  "workspaces": ["~/Downloads"],
  "author": "BitArts"
}
