PreToolUse
01Hook Claude Code
One of 11 in hooks.json
Runs before the agent uses a tool for Agent and AskUserQuestion tool calls, executing AgentInvocation.hook.ts and TabState.hook.ts (2 commands). From danielmiessler/LifeOS.
⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.
Hook Claude Code
One of 11 in hooks.json
Runs before the agent uses a tool for Agent and AskUserQuestion tool calls, executing AgentInvocation.hook.ts and TabState.hook.ts (2 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs after a tool call finishes for Agent and AskUserQuestion tool calls, executing AgentInvocation.hook.ts, TabState.hook.ts, PostToolObserver.hook.ts and EventLogger.hook.ts (4 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when a session ends, executing WorkCompletionLearning.hook.ts, SessionCleanup.hook.ts, UpdateCounts.hook.ts, DocIntegrity.hook.ts and IntegrityCheck.hook.ts (5 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when you submit a prompt, before the agent sees it, executing SessionTitle.hook.ts, PromptProcessing.hook.ts, SatisfactionCapture.hook.ts, VersionDrift.hook.ts, DriftReminder.hook.ts, MemoryTurnStart.hook.ts, AlgorithmNudge.hook.ts, TimeContext.hook.ts, VoiceMode.hook.ts, ModelDriftGuard.hook.ts and…
Hook Claude Code
One of 11 in hooks.json
Runs when a tool call fails, executing EventLogger.hook.ts and AlgorithmNudge.hook.ts (2 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs on the ConfigChange event, executing EventLogger.hook.ts. From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when a session starts, executing HookHealer.hook.ts, KittyEnvPersist.hook.ts, LoadContext.hook.ts, FreshnessCache.ts and SettingsBackport.ts via bun with --quiet, --system, --user and --output (5 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when the agent finishes a response, executing LastResponseCache.hook.ts, TabState.hook.ts, VoiceCompletion.hook.ts, ISARenderOnStop.hook.ts, StopGates.hook.ts, MemoryReviewFire.hook.ts, TurnOutcome.hook.ts, MemoryHealthGate.hook.ts, VigilTaskSummary.hook.ts, MemoryIndexRefresh.hook.ts, MicroIntegrity.hook.ts and…
Hook Claude Code
One of 11 in hooks.json
Runs on the StopFailure event, executing EventLogger.hook.ts and TabState.hook.ts (2 commands). From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when the agent asks permission for an action, executing TabState.hook.ts. From danielmiessler/LifeOS.
Hook Claude Code
One of 11 in hooks.json
Runs when the agent sends a notification, executing BlockerText.hook.ts. From danielmiessler/LifeOS.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: