Catalog of Claude Code hooks used across the FlexNetOS meta workspace.
A FlexNetOS hub: registry.json is the single source of truth, scripts/validate.py
keeps it consistent (CI-enforced), and this README mirrors it. Follows the
Hub Standard.
In scope: standalone Claude Code hooks, keyed by lifecycle event, plus reusable hook scripts.
Out of scope: hooks embedded inside a plugin → catalog the plugin in
plugin_hub.
No entries yet — this hub is at v0.1.0 (foundation set, population pending).
| Hook | Event | Category | Status | Doc |
|---|---|---|---|---|
| (none) |
Each hooks[] entry in registry.json looks like:
{
"id": "block-secret-writes",
"displayName": "Block secret writes",
"category": "guard",
"status": "beta",
"summary": "PreToolUse guard that denies Write/Edit when the payload matches secret patterns (.env, keys, tokens).",
"tags": ["security", "guard"],
"event": "PreToolUse",
"matcher": "Write|Edit",
"command": "python3 hooks/block_secret_writes.py",
"scriptPath": "snippets/block-secret-writes.py",
"blocking": true,
"language": "python",
"doc": "entries/block-secret-writes.md",
"snippet": "snippets/block-secret-writes.settings.json"
}snippet points at a settings.json hook fragment (the registrable hook config),
while scriptPath is the script the hook runs. Full field reference:
registry.schema.json.
Add an entry to registry.json, create entries/<id>.md (and a
snippets/<id>.settings.json fragment plus any hook script), add a Catalog row, then
run python3 scripts/validate.py. See the
Hub Standard.