SessionStart
01Hook Claude Code
Runs when a session starts, running ctg clean -qqq. From sayanarijit/cottage.
47 4d ago A
tokens not measured
original Apache-2.0
Hook Claude Code
Runs when a session starts, running ctg clean -qqq. From sayanarijit/cottage.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running ctg clean -qqq. From sayanarijit/cottage.
Hook Claude Code
Runs before the agent uses a tool for Read, Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing deny-secrets.py via python3 with --show-toplevel. From sayanarijit/cottage.
Settings file Claude Code
Agent settings declaring 3 hook events (SessionStart, UserPromptSubmit, PreToolUse).
Cursor rule Cursor
Deny ctg/ctgx command execution and secret file access.