Productivity hooks

2,047 tagged Productivity, measured the same way as everything else here.

Browse within: agentic-workflow 343agentic-coding 168agentic-engineering 91bash 72hooks 66workflow 64agent-orchestration 62ai-workflow 54claude-plugin 53claude-code-skills 51macos 49plugin 49agentic 46codex-cli 36

PostToolUse

01

n8n-io/n8n

Hook Claude Code

Runs after a tool call finishes for Skill tool calls, executing track-skill-usage.mjs via node. From n8n-io/n8n.

203k 2d ago A tokens not measured

PreToolUse

02

apache/superset

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From apache/superset.

75k yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

03

Yeachan-Heo/oh-my-claudecode

Hook

Runs when you submit a prompt, before the agent sees it, executing run.cjs via node (2 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

SessionStart

04

Yeachan-Heo/oh-my-claudecode

Hook

Runs when a session starts on init and maintenance, executing run.cjs via node (5 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

SessionEnd

05

Yeachan-Heo/oh-my-claudecode

Hook

Runs when a session ends, executing run.cjs via node (2 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

UserPromptExpansion

06

anthropics/claude-plugins-official

Hook

Runs to expand your prompt before the agent sees it for ^claude-security:claude-security$ tool calls, executing banner_hook.sh via sh. From anthropics/claude-plugins-official.

36k 3d ago A tokens not measured original Apache-2.0

SessionStart

07

ayghri/i-have-adhd

Hook

Runs when a session starts on startup, resume, clear and compact, executing always-on.mjs via node. From ayghri/i-have-adhd.

26k 6d ago A tokens not measured original MIT

SessionStart

08

coleam00/Archon

Hook Claude Code

Runs when a session starts, executing verify-task-list.sh. From coleam00/Archon.

23k yesterday A tokens not measured original MIT

UserPromptSubmit

09

coleam00/Archon

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From coleam00/Archon.

23k yesterday A tokens not measured original MIT

SubagentStop

10

coleam00/Archon

Hook Claude Code

Runs when a subagent finishes for rulecheck-agent tool calls, executing slack-notify.sh. From coleam00/Archon.

23k yesterday A tokens not measured original MIT

SessionStart

11

vectorize-io/hindsight

Hook

Runs when a session starts, executing session_start.py via python3. From vectorize-io/hindsight.

22k 2d ago A tokens not measured original MIT

Stop

12

vectorize-io/hindsight

Hook

Runs when the agent finishes a response, executing retain.py via python3. From vectorize-io/hindsight.

22k 2d ago A tokens not measured original MIT

PreToolUse

13

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

14

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

15

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

16

dagster-io/dagster

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running ERK_HOOK_ID=user-prompt-hook erk exec user-prompt-hook. From dagster-io/dagster.

16k 3d ago A tokens not measured original Apache-2.0

PreToolUse

17

dagster-io/dagster

Hook Claude Code

Runs before the agent uses a tool for ExitPlanMode tool calls, running ERK_HOOK_ID=exit-plan-mode-hook erk exec exit-plan-mode-hook. From dagster-io/dagster.

16k 3d ago A tokens not measured original Apache-2.0

PostToolUse

18

AgriciDaniel/claude-seo

Hook

Runs after a tool call finishes for Edit and Write tool calls, running node. From AgriciDaniel/claude-seo.

16k 6d ago A tokens not measured original MIT

SessionStart

19

open-metadata/OpenMetadata

Hook

Runs when a session starts, running an inline shell check. From open-metadata/OpenMetadata.

15k yesterday A tokens not measured original Apache-2.0

SessionStart

20

mindfold-ai/Trellis

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

PreToolUse

21

mindfold-ai/Trellis

Hook Claude Code

Runs before the agent uses a tool for Task and Agent tool calls, executing inject-subagent-context.py via python3 (2 commands). From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

UserPromptSubmit

22

mindfold-ai/Trellis

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-workflow-state.py via python3. From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

PreToolUse

23

telepresenceio/telepresence

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, running an inline shell check. From telepresenceio/telepresence.

7.3k 7d ago A tokens not measured original Apache-2.0

SessionStart

24

czlonkowski/n8n-skills

Hook

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh. From czlonkowski/n8n-skills.

6.2k 3d ago A tokens not measured original MIT