autoresearch-hooks

Insert custom scripts at autoresearch iteration boundaries.

7.5k|440|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/davebcn87/pi-autoresearch --skill autoresearch-hooks-davebcn87
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch-hooks
Source: https://github.com/davebcn87/pi-autoresearch/tree/main/skills/autoresearch-hooks
Command: npx skills add https://github.com/davebcn87/pi-autoresearch --skill autoresearch-hooks-davebcn87

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a flexible framework for inserting custom scripts before and after each autoresearch iteration, enabling users to automate external searches, notifications, and adaptive behaviors seamlessly.

Core Features & Use Cases

  • Custom Pre/Post Hooks: Write and execute scripts that run at iteration boundaries to fetch data, send alerts, or modify session state.
  • Automated External Search & Notifications: Integrate with search APIs or messaging platforms to inform or guide research workflows.
  • Use Case: For example, automatically search for related research papers before an iteration and notify team members after a successful run.

Quick Start

Copy provided example scripts into the autoresearch.hooks/ directory, make them executable, and they will run automatically during autoresearch iterations to customize behavior as needed.

Frequently Asked Questions about autoresearch-hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run custom scripts before and after automated research iterations?

You can run custom scripts at iteration boundaries by placing executable files into the autoresearch.hooks directory, which automatically triggers them during research iterations to fetch external data or send alerts.

What are pre/post hooks used for in automated research sessions?

Pre/post hooks are used to automate supplementary tasks during research sessions, enabling workflows like searching external APIs before an iteration and notifying team members after a successful run.

Can I integrate external search APIs and notifications into an autoresearch loop?

Yes, you can integrate external search APIs and messaging platforms by writing custom hook scripts that execute at iteration boundaries to fetch data and send notifications with minimal manual intervention.

How do I set up scripts to execute automatically during autoresearch iterations?

To set up scripts, copy the provided example scripts into the autoresearch.hooks directory, make them executable, and they will run automatically before or after each research iteration to customize session behavior.

Do I need any external dependencies to add notifications to my research workflow?

No external dependencies are required to add notifications, as the framework allows you to easily integrate and maintain custom executable scripts within the autoresearch directory to handle side effects like alerts.