ai harness hooks

20 tagged ai harness, measured the same way as everything else here.

Browse within: augmentation 11humans 11intent-engineering 11hallucination-prevention 5non-developer 5

PreToolUse

01

danielmiessler/LifeOS

Hook

Runs before the agent uses a tool for Bash, Skill, Agent, AskUserQuestion, Bash, Write, Edit and MultiEdit tool calls, executing ContextReduction.hook.sh, AgentInvocation.hook.ts, TabState.hook.ts and PreToolGuard.hook.ts (4 commands). From danielmiessler/LifeOS.

19k 17d ago A tokens not measured original MIT

PostToolUse

02

danielmiessler/LifeOS

Hook

Runs after a tool call finishes for Agent, WebFetch, WebSearch, mcp__.*, ToolSearch, AskUserQuestion, Read, Write, Edit, MultiEdit and Bash tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISAStaleWriteGuard.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts, ConfigEvalFire.hook.ts…

19k 17d ago A tokens not measured original MIT

UserPromptSubmit

03

danielmiessler/LifeOS

Hook

Runs when you submit a prompt, before the agent sees it, executing PromptProcessing.hook.ts, SatisfactionCapture.hook.ts, ReminderRouter.hook.ts, VersionDrift.hook.ts, MemoryTurnStart.hook.ts, DriftReminder.hook.ts, AlgorithmNudge.hook.ts, TimeContext.hook.ts and ModelRungGuard.hook.ts (9 commands). From…

19k 17d ago A tokens not measured original MIT

UserPromptSubmit

04

Global-mindee/WAY

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-keyword-injector.js and svop-injector.js via node (2 commands). From Global-mindee/WAY.

11 1mo ago A tokens not measured copy · 39% MIT

Stop

05

Global-mindee/WAY

Hook Claude Code

Runs when the agent finishes a response, executing context-usage-monitor.js, full-loop-driver.js and svop-auditor.js via node (3 commands). From Global-mindee/WAY.

11 1mo ago A tokens not measured copy · 47% MIT

PreCompact

06

Global-mindee/WAY

Hook Claude Code

Runs before the context is compacted, executing context-usage-monitor.js via node with --precompact. From Global-mindee/WAY.

11 1mo ago A tokens not measured original MIT

PreToolUse

07

FlavioZanoni/minos

Hook

Runs before the agent uses a tool for Bash tool calls, executing cli.js via node. From FlavioZanoni/minos.

5 1mo ago A tokens not measured original Apache-2.0

PostToolUse

08

FlavioZanoni/minos

Hook

Runs after a tool call finishes for Edit and Write tool calls, executing cli.js via node. From FlavioZanoni/minos.

5 1mo ago A tokens not measured original Apache-2.0

SessionStart

09

EndogenAI/dogma

Hook Claude Code

Runs when a session starts, executing prune_scratchpad.py via uv with --init. From EndogenAI/dogma.

2 7d ago A tokens not measured original Apache-2.0

PreCompact

10

EndogenAI/dogma

Hook Claude Code

Runs before the context is compacted, executing prune_scratchpad.py via uv with --check-size. From EndogenAI/dogma.

2 7d ago A tokens not measured original Apache-2.0