Hooks run shell commands at specific points during a task. Configure them inDocumentation Index
Fetch the complete documentation index at: https://test-8862363a-tembo-update-docs-new-features-2026-03.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
.tembo.json at your repository root.
Available hooks
postClone - Runs after Tembo clones your repo, before it starts working.
prePush - Runs after Tembo makes changes, before pushing and opening a PR.
Example
Auto-fix
Set"autoFix": true to let Tembo analyze hook failures and attempt to fix issues before retrying.
Details
- Commands run sequentially in the repository root
- If a command fails, the hook stops
- Hooks run in the same sandbox as the task
- Shell features (piping, redirects,
&&) are supported