cchooks: A Python SDK for claude-code hooks

by GowayLee · Agent Tool · ★ 131

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

Featured in: Claude Code Hooks, Subagents & Statusline

How to install cchooks

pip install cchooks
uv add cchooks

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: CAUTION · quality 71/100

Flagged: sudo usage, spawns subprocesses. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

agentic-aiclaude-codehookspypi-package

Quick Facts

Stars131
Forks10
LanguagePython
CategoryAgent Tool
LicenseMIT
Quality Score71/100
Last Updated2026-04-08
Created2025-07-16
Platformsclaude-code, python
Est. Tokens~22k

About cchooks

cchooks Claude Code Hook SDK for Python A lightweight Python Toolkit that makes building Claude Code hooks as simple as writing a few lines of code. Stop worrying about JSON parsing and focus on what your hook should actually do. New to Claude Code hooks? Check the official docs for the big picture. Need the full API? See the API Reference for complete documentation.

Compatible Skills

These tools work well together with cchooks for enhanced workflows:

  • claude-prime — semantic(0.19)+complementary+same_lang+similar_pop+shared_platform (57%)
  • Clawd-Code — semantic(0.19)+complementary+same_lang+similar_pop+shared_platform (56%)
  • claude-agent-builder — semantic(0.32)+complementary+same_lang+similar_pop+shared_platform (56%)

cchooks alternative? Top 6 similar tools

Looking for a cchooks alternative? If you're comparing cchooks with other agent tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • claude-code-hooks by karanb192 · ⭐ 587

    🪝 Claude Code hooks + an installable plugin marketplace: safety, cost, observability, productivity.

  • mcp-ssh-manager by bvisible · ⭐ 546

    MCP server for SSH: let Claude Code, Codex and any MCP client run commands, transfer files and manage servers

  • plankton by alexfazio · ⭐ 379

    Write-time code quality enforcement system for Claude Code. Every file edit triggers automated formatting and

  • mcp-server-code-execution-mode by elusznik · ⭐ 343

    An MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Imp

  • claude-code-crash-course by emarco177 · ⭐ 192

    Hands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation.

  • claude-code by PaulDuvall · ⭐ 111

    Transform Claude Code into a complete development platform with AI-powered commands that automate your entire

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Agent Tool tools