Skip to content

Open source AI Employees. 8 scheduled business roles, 60 routines, on Claude Code and 10 other harnesses. They drive your browser the way you do and improve every run. You own the files.

1.0 KB
Raw Blame
:: «WEB_ROOT»\run\web-inventory-refresh.cmd
:: Copy this file to web-inventory-refresh.cmd (drop the .example), replace «WEB_ROOT» with your real folder, and check the
:: path to claude.exe: this is where the native installer puts it (where.exe claude shows yours).
:: Never point it at the Desktop app's bundled copy; Task Scheduler cannot see that path.
:: Section 10 of CAPABILITIES.md: a scheduled run must never wait on a prompt. If this routine stalls
:: or is refused a tool under acceptEdits, change it to bypassPermissions for this one file, knowing
:: what that grants. The guardrails live in the contract and the routine, not in this flag.
@echo off
cd /d "«WEB_ROOT»"
"%USERPROFILE%\.local\bin\claude.exe" -p "Read «WEB_ROOT»/routines/web-inventory-refresh/SKILL.md and follow it." --permission-mode acceptEdits --output-format json < nul > "«WEB_ROOT»\run\web-inventory-refresh.last.json"
if errorlevel 1 node "«WEB_ROOT»\scripts\runlog.mjs" --failed-run web-inventory-refresh --exit-code %errorlevel%