A desktop home for your CLI agent. Wraps claude / copilot / codex / aider in a clean Electron window with PTY, MCP, drag-drop context, sessions, voice, and a live status panel. PAI reasoning bundled.
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 DorShaer/Husk.
Runs after a tool call finishes for Agent, WebFetch, WebSearch, AskUserQuestion, Write, Edit and MultiEdit tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts and EventLogger.hook.ts (11 commands). From DorShaer/Husk.
Runs when a session ends, executing WorkCompletionLearning.hook.ts, SessionCleanup.hook.ts, UpdateCounts.hook.ts, MemoryHealthGate.hook.ts, DocIntegrity.hook.ts and IntegrityCheck.hook.ts (6 commands). From DorShaer/Husk.
Runs when you submit a prompt, before the agent sees it, executing PromptProcessing.hook.ts, SatisfactionCapture.hook.ts, ReminderRouter.hook.ts and MemoryTurnStart.hook.ts (4 commands). From DorShaer/Husk.
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 DorShaer/Husk.
Runs when the agent finishes a response, executing LastResponseCache.hook.ts, TabState.hook.ts, VoiceCompletion.hook.ts, ISARenderOnStop.hook.ts, StopGates.hook.ts and MemoryReviewFire.hook.ts (6 commands). From DorShaer/Husk.
Runs when the agent asks permission for an action for Write, Edit, MultiEdit, Bash and mcp__.* tool calls, executing Safety.hook.ts (2 commands). From DorShaer/Husk.