DorShaer/Husk

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.

12Stars on the repository
70Mods indexed here, across every type
5d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

PreToolUse

01

DorShaer/Husk

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 DorShaer/Husk.

12 5d ago A tokens not measured

PostToolUse

02

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured

SessionEnd

03

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured

UserPromptSubmit

04

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured

PostToolUseFailure

05

DorShaer/Husk

Hook

Runs when a tool call fails, executing EventLogger.hook.ts and AlgorithmNudge.hook.ts (2 commands). From DorShaer/Husk.

12 5d ago A tokens not measured

TaskCreated

06

DorShaer/Husk

Hook

Runs on the TaskCreated event, executing TaskGovernance.hook.ts. From DorShaer/Husk.

12 5d ago A tokens not measured

ConfigChange

07

DorShaer/Husk

Hook

Runs on the ConfigChange event, executing EventLogger.hook.ts. From DorShaer/Husk.

12 5d ago A tokens not measured

SessionStart

08

DorShaer/Husk

Hook

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.

12 5d ago B tokens not measured

Stop

09

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured

StopFailure

10

DorShaer/Husk

Hook

Runs on the StopFailure event, executing EventLogger.hook.ts. From DorShaer/Husk.

12 5d ago A tokens not measured

PermissionRequest

11

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured