autoresearch-hooks

Installation
SKILL.md

autoresearch-hooks

Optional scripts that run at iteration boundaries in an autoresearch session. Two hooks, both transparent to the loop-running agent — their effect is a file on disk or a steer message.

.auto/hooks/
  before.sh    # fires before each iteration (prospective)
  after.sh     # fires after each log_experiment (retrospective)

Both files are optional. Files without the executable bit are silently ignored.


Contract

Stdin — before.sh

One JSON line. Parse with jq. Realistic example:

Installs
12
GitHub Stars
7.1K
First Seen
Apr 29, 2026
autoresearch-hooks — davebcn87/pi-autoresearch