Agent skill · alirezarezvani
ar-loop
Use for /ar-loop, or to run an autoresearch experiment on a schedule (10 min to monthly) with CronCreate.
What it needs
About 2k tokens when loaded.
What this skill does
/ar-loop — Autonomous Experiment Loop Start a recurring experiment loop that runs at a user-selected interval. Usage What It Does Step 1: Resolve experiment If no experiment specified, list experiments and let user pick. Step 2: Select interval If interval not provided as argument, present options: Map to cron expressions: Interval Cron Expression Shorthand ---------- ---------------- ----------- 10 minutes /10 10m 1 hour 7 1h Daily 57 8 daily Weekly 57 8 1 weekly Monthly 57 8 1 monthly Step 3: Create the recurring job Use CronCreate with this prompt (fill in the experiment details): Step 4: Store loop metadata Write to .autoresearch/{domain}/{name}/loop.json: Step 5: Confirm to user Stopping a Loop When user runs /ar-loop stop {experiment}: 1. Read .autoresearch/{domain}/{name}/loop.json to get the cron ID 2. Call CronDelete with that ID 3. Delete loop.json 4. Confirm: "Loop stopped for {experiment}. {n} experiments completed." Important Limitations 3-day auto-expiry: CronCreate jobs expire after 3 days. For longer experiments, the user must re-run /ar-loop to restart. Results persist — the new loop picks up where the old one left off. One loop per experiment: Don't start multiple loops for the same experiment. Concurrent experiments: Multiple experiments can loop simultaneously ONLY if they're on different git branches (which they are by default — each experiment gets autoresearch/{domain}/{name}).
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills alirezarezvani/ar-loop