ai-sdk hooks

3 tagged ai-sdk, measured the same way as everything else here.

UserPromptSubmit

01

youdotcom-oss/dx-toolkit

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running .claude/hooks/UserPromptSubmit. From youdotcom-oss/dx-toolkit.

not rated 25 14d ago A tokens not measured original MIT

PreCompact

02

carmentacollective/carmenta

Hook Claude Code

One of 3 in settings.json

Runs before the context is compacted, executing save-worktree-state.py via python3. From carmentacollective/carmenta.

not rated 2 2mo ago A tokens not measured

SessionStart

03

carmentacollective/carmenta

Hook Claude Code

One of 3 in settings.json

Runs when a session starts on compact, executing restore-worktree-context.py via python3. From carmentacollective/carmenta.

not rated 2 2mo ago A tokens not measured