BrowseHook
Sample Hooks Config
Example Cursor hooks.json for running scripts on agent events like before shell commands or after file edits.
#hooks #automation #cursor
Snippet
{
"version": 1,
"hooks": {
"beforeShellExecution": [],
"afterFileEdit": []
}
}
Where it installs
Default config location for each supported agent.
- Cursor
.cursor/hooks.json
Best for
CursorGeneral