This is the thin worker that lets each Grok bot act on the vault without any Obsidian plugin. Save as `_scripts/agent_run.py`. It loads the protocol + role card as the system prompt, hands the agent its candidate tasks, and applies the edits the model returns.