Writing and docs hooks

1,018 tagged Writing and docs, measured the same way as everything else here.

Browse within: documentation 56adr 22agentic-workflow 17hooks 16ai-workflow 15context-engineering 15agentic 14claude-code-skills 14claude-plugin 14code-quality 14python 14Multi-Agent 13codex-cli 13academic-writing 12

PostToolUse

01

tw93/Pake

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing cli.js. From tw93/Pake.

61k 2d ago A tokens not measured GPL-3.0

PostToolUse

02

payloadcms/payload

Hook Claude Code

Runs after a tool call finishes for Write tool calls, executing post-write-format.sh. From payloadcms/payload.

44k 3d ago A tokens not measured original MIT

PreToolUse

03

rohitg00/agentmemory

Hook

Runs before the agent uses a tool for Edit, Write, Read, Glob and Grep tool calls, executing pre-tool-use.mjs via node. From rohitg00/agentmemory.

28k 8d ago A tokens not measured original Apache-2.0

PostToolUse

04

guillaumemeyer/watermarks-remover

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit and NotebookEdit tool calls, running node. From guillaumemeyer/watermarks-remover.

19k yesterday A tokens not measured original MIT

PreToolUse

05

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

06

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

PostToolUse

07

cocoindex-io/cocoindex

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing docs-build-check.sh and py-typecheck-flag.sh (2 commands). From cocoindex-io/cocoindex.

11k +15 today A tokens not measured copy · 42% Apache-2.0

Stop

08

cocoindex-io/cocoindex

Hook Claude Code

Runs when the agent finishes a response, executing docs-build-run.sh and py-typecheck-run.sh (2 commands). From cocoindex-io/cocoindex.

11k +15 today A tokens not measured copy · 50% Apache-2.0

PostToolUse

09

semantica-agi/semantica

Hook

Runs after a tool call finishes for Write, Edit, Write and Edit tool calls, running an inline shell check (2 commands). From semantica-agi/semantica.

11k yesterday A tokens not measured original MIT

PreToolUse

11

Imbad0202/academic-research-skills-codex

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing run_guard.sh via bash. From Imbad0202/academic-research-skills-codex.

9.6k 7d ago A tokens not measured

PreToolUse

12

open-gsd/gsd-core

Hook

Runs before the agent uses a tool for Write, Edit, Write, Edit, MultiEdit, Write, Agent and Task tool calls, executing gsd-prompt-guard.js, gsd-read-guard.js, gsd-worktree-path-guard.js, gsd-write-guard.js and gsd-agent-isolation-guard.js via node (5 commands). From open-gsd/gsd-core.

8.9k 2d ago A tokens not measured original MIT

PostToolUse

13

telepresenceio/telepresence

Hook Claude Code

Runs after a tool call finishes 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

PostToolUse

14

repowise-dev/repowise

Hook

Runs after a tool call finishes for Grep, Glob, Read, Edit, Write and mcp__.*[Rr]epowise.*__.* tool calls, running an inline shell check. From repowise-dev/repowise.

6.3k yesterday A tokens not measured AGPL-3.0

PreToolUse

15

uditgoenka/autoresearch

Hook

Runs before the agent uses a tool for Write, Bash, Glob, Grep, Read and Edit tool calls, executing node-hook-runner.sh via bash (7 commands). From uditgoenka/autoresearch.

6.0k 19d ago A tokens not measured original MIT

PreToolUse

16

Galaxy-Dawn/claude-scholar

Hook

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing security-guard.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured original MIT

SessionStart

17

Galaxy-Dawn/claude-scholar

Hook

Runs when a session starts, executing session-start.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured copy · 52% MIT

UserPromptSubmit

18

Galaxy-Dawn/claude-scholar

Hook

Runs when you submit a prompt, before the agent sees it, executing skill-forced-eval.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured original MIT

PostToolUse

19

Expensify/App

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From Expensify/App.

5.0k yesterday A tokens not measured original MIT

SessionStart

20

Norman-bury/research-writing-skill

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From Norman-bury/research-writing-skill.

3.1k 2mo ago A tokens not measured copy · 86% MIT

PreToolUse

21

rohitg00/pro-workflow

Hook

Runs before the agent uses a tool for tool == "Edit", tool == "Write", Read, Bash, tool == "Edit" and tool == "Write" tool calls, executing quality-gate.js, read-before-write.js, reread-tracker.js, tool-call-budget.js, git-blast-radius.js, pre-commit-check.js, commit-validate.js, pre-push-check.js and secret-scan.js…

2.8k 14d ago A tokens not measured

SessionStart

22

aaron-he-zhu/aaron-marketing-skills

Hook

Runs when a session starts on startup, resume, clear and compact, running bash. From aaron-he-zhu/aaron-marketing-skills.

2.7k yesterday A tokens not measured original Apache-2.0

PreToolUse

23

aaron-he-zhu/aaron-marketing-skills

Hook

Runs before the agent uses a tool for Write, Edit, NotebookEdit, Bash, PowerShell, Monitor and mcp__.* tool calls, running bash. From aaron-he-zhu/aaron-marketing-skills.

2.7k yesterday A tokens not measured original Apache-2.0

PostToolUseFailure

24

aaron-he-zhu/aaron-marketing-skills

Hook

Runs when a tool call fails for Write, Edit, NotebookEdit, Bash, PowerShell, Monitor and mcp__.* tool calls, running bash. From aaron-he-zhu/aaron-marketing-skills.

2.7k yesterday A tokens not measured original Apache-2.0