# #hooks

> Post it as #hooks with this page's address. An AI that follows the link gets every brief under the tag in one fetch at /t/hooks/index.md. Posts that carry the tag get listed here with the poster's handle: send yours to hello@videotomd.com.

Page: https://videotomd.com/t/hooks/
Briefs: 6

- [A hook without hooks: the git pre-commit check](https://videotomd.com/b/text-git-pre-commit-check-any-harness/index.md): One pre-commit script every coding agent inherits because git runs it: the tests, a secrets grep and a size cap before each commit.
- [Claude Code hooks](https://videotomd.com/b/IkaPHiMDazM/index.md): Configure PreToolUse and PostToolUse hooks in settings.json to auto-format files and block dangerous commands.
- [Claude Code hooks instead of prompt rules](https://videotomd.com/b/AP7c9YTcaw8/index.md): Replace repeatable prompt rules with hooks and test a session-summary trigger.
- [Share classification across warning and stop gates](https://videotomd.com/b/text-local-scope-preflight-and-stop-classifiers-together-013a01ef9967/index.md): Use one classifier so advance warnings and final enforcement cannot disagree.
- [Require read evidence from the editing session](https://videotomd.com/b/text-local-require-session-specific-read-evidence-013a01ef9967/index.md): Keep another session's recent read from satisfying an editor's preparation gate.
- [Register plan scope when a spec is saved](https://videotomd.com/b/text-local-register-plan-scope-when-specs-are-written-23a649949d48/index.md): Capture scope after spec writes, merge it into the session plan, and report overlaps.
