Replies: 5 comments 2 replies
-
|
+1, forcing the use of specific commands instead of others seem like a common use case for hooks. |
Beta Was this translation helpful? Give feedback.
-
|
+1 to me it also can help with security to make sure the agent is not performing certain tasks like git push for instance. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
If you check the release notes for 2.9.0, it contains
🥳 How to use this doesn't seem to be documented anywhere yet, but Vibe itself managed to generate a decent summary, which seems accurate after testing it myself: How to use experimental hooks (❌ Outdated as of 2.15.0, cf. comment below!)Prerequisites:
Configuration Format: [[hooks]]
name = "lint" # Unique hook name (required)
type = "post_agent_turn" # Hook type (required, currently only option)
command = "eslint --quiet ." # Shell command to execute (required)
timeout = 30.0 # Seconds before timeout (default: 30)
description = "Run ESLint" # Optional descriptionCurrently Available Hook Types:
How Hooks Execute:
Exit Code Semantics:
Retry Mechanism: My conclusions after playing around with this:
|
Beta Was this translation helpful? Give feedback.
-
|
+1, and JetBrains Rider now support hooks to use IDE tools to help agent to provide better results (https://blog.jetbrains.com/dotnet/2026/06/08/rider-2026-2-code-quality-check-hooks-for-ai-agents/). Can be good to have more documentation so we can configure it, and maybe ask JetBrains to add it directly like they did for claude code. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Component
CLI
Problem statement
I would want to run pre-defined shell commands based on events in Vibe, like Claude Code Hooks.
Use cases would be for example trigger run of a linter or adding extra guardrail pre/post tool call.
Proposed solution
Allow users to specify in the configuration a shell command to run after or before certain events in Vibe CLI.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions