anti hallucination hooks

19 tagged anti hallucination, measured the same way as everything else here.

Browse within: ai-assistant 7ai-memory 7fair-source 7gemini 7

Setup

01

HthSolid/claude-dejavu

Hook

Runs once when the project is set up, executing dejavu-hook.py via python. From HthSolid/claude-dejavu.

6 3mo ago A tokens not measured

SessionStart

02

HthSolid/claude-dejavu

Hook

Runs when a session starts, executing dejavu-hook.py via python (2 commands). From HthSolid/claude-dejavu.

6 3mo ago A tokens not measured

Stop

03

HthSolid/claude-dejavu

Hook

Runs when the agent finishes a response, executing dejavu-hook.py via python. From HthSolid/claude-dejavu.

6 3mo ago A tokens not measured

PreToolUse

04

roomi-fields/paper-trail

Hook

Runs before the agent uses a tool for Write and Edit tool calls, executing precheck_sota_wikilinks.py and pre_save_sota_check.py via python3 (2 commands). From roomi-fields/paper-trail.

5 9d ago A tokens not measured original MIT

PostToolUse

05

roomi-fields/paper-trail

Hook

Runs after a tool call finishes for Write and Edit tool calls, executing post_edit_ref_check.py and post_edit_sota_check.py via python3 (2 commands). From roomi-fields/paper-trail.

5 9d ago A tokens not measured original MIT

SessionEnd

06

roomi-fields/paper-trail

Hook

Runs when a session ends, executing session_end_doctor.py via python3. From roomi-fields/paper-trail.

5 9d ago A tokens not measured copy · 77% MIT

PostToolUse

07

KumnXi/patent-aid

Hook Claude Code

Runs after a tool call finishes for Write tool calls, running echo '文件已更新: $CLAUDE_FILE_PATH'. From KumnXi/patent-aid.

2 8d ago A tokens not measured original MIT

Stop

08

Imtylerrrrrr/second-brain

Hook

Runs when the agent finishes a response, executing sync.sh via bash. From Imtylerrrrrr/second-brain.

1 1mo ago A tokens not measured copy · 44% MIT

SessionStart

09

azmym/gemini-plugin

Hook

Runs when a session starts on startup, executing session-start-risk-map.sh. From azmym/gemini-plugin.

1 18d ago A tokens not measured original MIT

PreToolUse

10

azmym/gemini-plugin

Hook

Runs before the agent uses a tool for Bash and ExitPlanMode tool calls, executing pre-destructive-bash.sh and plan-complete.sh (2 commands). From azmym/gemini-plugin.

1 18d ago A tokens not measured original MIT

SubagentStop

11

azmym/gemini-plugin

Hook

Runs when a subagent finishes for gemini-validator, gemini-challenger, gemini-researcher, gemini-summarizer and gemini-reviewer tool calls, executing subagent-verdict-handler.sh. From azmym/gemini-plugin.

1 18d ago A tokens not measured original MIT