./CC Hooks

Python SDK simplifying hook writing with clean API. Develop Claude Code hooks easily using Python with a well-designed SDK providing clean abstractions.

GowayLee
Development Tools
124
Python
124
Stars
9
Forks
0
Watch
#hooks#python#sdk

>README

>Overview

Strengths

  • +API integration
  • +Developer-focused
  • +Workflow integration

Considerations

  • !Python required
  • !Setup required

>Code Quality

TestsCI/CDDockerTypesSKILL.md

>File Structure

files
.github
workflows
build-check.yml
claude-code-review.yml
claude.yml
publish-package.yml
docs
api-reference.md
todo.md
what-is-cc-hook.md
scripts
fetch_docs.sh
src
cchooks
contexts
__init__.py
exceptions.py
output_utils.py
types.py
utils.py
tests
contexts
__init__.py
test_notification.py
test_post_tool_use.py
test_pre_compact.py
test_pre_tool_use.py
test_session_end.py
test_session_start.py
test_stop.py
test_subagent_stop.py
test_user_prompt_submit.py
fixtures
__init__.py
sample_data.py
integration
__init__.py
__init__.py
conftest.py
.agent-sync.toml
.crush.json
.gitignore
.python-version
AGENT_GUIDE.md
CLAUDE.md
CRUSH.md
LICENSE
Makefile
pyproject.toml
README.md
View on GitHub

>Technical Details

Language
Python
License
MIT
Created
Jul 16, 2025
Updated
Mar 31, 2026
install.sh

Clone the repository to your local machine

$git clone https://github.com/GowayLee/cchooks.git

Alternatives to CC Hooks

Compare features and choose the best fit for your workflow.

SkillMatchStarsLanguageUpdatedHealth
CC Hookscurrent
GowayLee
—124PythonThis year
CC Statusline
sirmalloc
Same category
44%6,364TypeScriptThis year
Claude Code Infrastructure Showcase
diet103
Same category
43%9,398ShellThis year
Buildwithclaude
davepoon
Same category. Both use Python
42%2,676PythonThis year