Jev Hook Guard — Data skill for Claude Code
What a Claude Code hook must do before it sends text to an external judgment API: mask secrets and personal data, refuse secret dumps, honour exclusion words and session pins, post safely, never block.
How to install Jev Hook Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tsetse012/jev-hook-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Jev Hook Guard does
What a Claude Code hook must do before it sends text to an external judgment API: mask secrets and personal data, refuse secret dumps, honour exclusion words and session pins, post safely, never block the session. Python, stdlib only.
Alternatives in Data
- Claudoscope — 29 Native macOS menu bar app for Claude Code session analytics 58 ★
- Jev Cookbook — Practical, tested recipes for TypeSafe's Jev decision model on OpenRouter: support triage, database indexing 28 ★
- Kakashi Mask — Mask sensitive data in a file using Kakashi (writes masked_ , agent-safe) 20 ★
README
**English** | [한국어](README.ko.md)
jev-hook-guard

**The checks a Claude Code hook runs before it sends text to an external judgment API.**
A Claude Code hook that asks a remote model for a judgment (TypeSafe Jev's `/v1/systemone`, or any HTTP judge) sends text from your session off your machine: the prompt you typed, a tool call, the last assistant message. That text carries API keys, phone numbers, client names and file paths. `jev_hook_guard.py` is one standard-library Python module that runs in front of that send. It stops sessions that touched topics you listed, refuses inputs that look like a secret dump, masks what is left, checks the result once more, and posts with no redirects and a hard time limit; a wrapper script keeps a broken hook from blocking your session. It is for anyone writing a Claude Code hook or an agent sidecar that calls a judgment API. It is not a guarantee: it is a set of regular-expression rules applied as the last step before the send, tested against 52 adversarial cases from two independent reviews, and every new kind of secret needs its own rule.
What leaves the machine, what never does
| Item | Where it goes |
|---|---|
Masked text, at most limit characters (600 by default) |
to the endpoint you set |
| Your question wording and the model name | to the endpoint you set |
| The API key | only in the Authorization header, only to an https endpoint (or http on 127.0.0.1, localhost, [::1]), never to a second host after a redirect |
| Unmasked text of any kind: the prompt, tool input, tool output | never |
| Anything from a session after an exclusion hit in user text, assistant text, the working directory or the transcript path | never, for the rest of that session |
| An input that looks like a secret dump: URL credentials, a secret label, two or more `NA |
Related Skills
Seed Secret
Registra un secreto nuevo post-greenfield en harness.config.json secrets[] (registro declarativo que itera el
Hotel Weekly Report
Automated weekly hotel performance reports: pulls last week’s data from Google Sheets, rates each hotel agains
Switch Profile
Switch the active kit profile (two-role pipeline autopilot free) — rewrite the CLAUDE.md import line and .ai/k
Find Compliance Issues
Find where the app breaks its own privacy and legal promises — policy retention periods the purge doesn't hono
Booking Agent
Conversational appointment booking in .NET 10: Claude Haiku tool-calling agent that can propose but never conf
AI Reels Editor Skill
Claude Code skill: turn a talking-head video into an edited Reel/TikTok/Short — silence cuts, word-timed kinet
Related Agents
Personal Ingest
Ingests personal/private material — meeting notes (Granola, pasted, hand-summarized), voice memos (.opus / .m4
Data Sovereignty Guard
Mandatory pre-commit egress guard — secrets, credentials, PII, plant/customer identifiers, raw data dumps, and
Secret Guard
MUST be used whenever the user asks to scan for secrets, API keys, credentials, or tokens before a commit or i