Armory
Source
Browse
Hooks

post-tool-hook

Check if we should run validation for this tool use.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install post-tool-hook --cli claude

writes the file to.claude/hooks/post-tool-hookListed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/post-tool-hook
# 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. Check if we should run validation for this tool use.

When to use it

Check if we should run validation for this tool use.

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/post-tool-hook.py -o .claude/hooks/post-tool-hook.py

Notes

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

Source docstring: Check if we should run validation for this tool use.

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