Is PreToolUse safe to install?

Yes — PreToolUse is safe to install, on this review. Fable 5.1 read every file PreToolUse ships from huggingface/OpenEnv on 7 September 2026 and found nothing that acts against the person installing it; the static scan of its 26 rules grades it A.

Reviewed by Fable 5.1 on 7 September 2026 · a grade is what a scan and a reading found, not a guarantee · how this works

What the reviewer found

PreToolUse runs .claude/hooks/pre-commit-check.sh (stderr reminder on git commit in TDD mode), .claude/hooks/pre-pr-check.sh (git fetch origin, then blocks gh pr create from a stale branch or from main) and .claude/hooks/no-direct-code.sh (blocks src/*.py edits while TDD mode is active). Local guards; the fetch only talks to the project's own git remote.

What was read

The hook definition and the 3 scripts it runs, fetched from huggingface/OpenEnv:

What the static scan said

The 26-rule scan found nothing in this file; the review read it anyway.

How this review was made

Fable 5.1 read the files above on 7 September 2026 and answered three questions: is it dangerous to whoever installs it, is each scanner finding real, and what should the installer know. The verdict is bound to the file's hash; when the file changes, it is scanned afresh and reviewed again. A script that changes while the definition does not is not re-reviewed — that is a known gap. How the scan and the review work.

Produced by agentmods.dev · Fable 5.1 · 7 September 2026

← Back to PreToolUse