Armory
Source
Browse
Hooks

universal-pre-tool

Universal PreToolUse dispatcher using hierarchical config.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install universal-pre-tool --cli claude

writes the file to.claude/hooks/universal-pre-toolListed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/universal-pre-tool
# then register it in your settings.json "hooks" block.

↳ Add the hook entry to settings.json, then restart the harness.

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

A Claude Code hook from decider/claude-hooks. Universal PreToolUse dispatcher using hierarchical config.

When to use it

Universal PreToolUse dispatcher using hierarchical config.

How to install / invoke

# wire the script into .claude/settings.json hooks for the matching event
curl -sL https://github.com/decider/claude-hooks/raw/main/hooks/universal-pre-tool.py -o .claude/hooks/universal-pre-tool.py

Notes

Extracted from hooks/universal-pre-tool.py. See the repo for the settings.json wiring and full implementation.

Source docstring: Universal PreToolUse dispatcher using hierarchical config.

Related

HooksPreview

check-package-age

Claude Code Hook: Prevent installation of outdated packages.

Harnessclaude
hookdecider
Details
HooksPreview

portable-quality-validator

Portable code quality validator - main handler.

Harnessclaude
hookdecider
Details