{"adoption": {"forks": 639, "observed_at": "2026-08-28T04:08:28.694395+00:00", "stars": 3905}, "canonical_url": "https://ross.abutalabs.com/products/claude-code-hooks-mastery", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Master Claude Code Hooks", "domain": ["artificial-intelligence", "developer-tools", "tutorials"], "enriched": true, "function": ["agent-framework", "developer-tools", "cli", "workflow-automation", "boilerplate"], "health_score": 62, "homepage": null, "language": "Python", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["disler/claude-code-hooks-mastery"], "name": "disler/claude-code-hooks-mastery", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-03-04T18:16:25+00:00", "repo": "disler/claude-code-hooks-mastery", "stars": 3905, "tags": ["claude-code", "claude-code-hooks", "anthropic", "ai-coding-agent", "hook-lifecycle", "sub-agents", "meta-agent", "team-based-validation", "output-styles", "status-line", "astral-uv", "elevenlabs", "mcp-server", "example-code", "ai-agents", "command-line", "automation"], "topics": [], "urls": [], "use_cases": ["learn how claude code hooks work", "automatically run formatters after claude edits files", "block or approve tool calls before claude executes them", "add text-to-speech notifications to my ai coding agent", "orchestrate sub-agents and team-based validation with claude code", "customize claude code status line and output styles", "find starter templates for hook scripts in python"], "what_it_is": "A tutorial repository and runnable example collection for mastering Claude Code hooks, Anthropic's mechanism for adding deterministic (and non-deterministic) control over the Claude Code CLI agent's behavior. It ships Python hook scripts covering all 13 hook lifecycle events with JSON payloads, plus demos of sub-agents, a meta-agent, team-based validation, output styles, and custom status lines.", "when_to_avoid": ["You need a production framework with a stable, versioned API rather than tutorial example scripts", "You don't use Claude Code or Anthropic's tooling", "You require a clearly licensed codebase for commercial redistribution, since the repo has no license", "You want a general-purpose agent framework unrelated to Claude Code"], "when_to_choose": ["You want hands-on, runnable examples for every Claude Code hook lifecycle event", "You are building deterministic guardrails or automation around the Claude Code CLI", "You want starter templates for hooks, sub-agents, and agent orchestration workflows", "You prefer lightweight single-file Python scripts orchestrated with Astral UV"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/claude-code-hooks-mastery", "repo": "disler/claude-code-hooks-mastery", "role": "main", "score": 50}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:28.694395+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:25:07.263575+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3715265f926d97d0f558aa6a58d7d3fb2ff12ec08274a36efd5378678971a11", "fetched_at": "2026-08-28T04:08:28.694395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/disler/claude-code-hooks-mastery"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 70, "longevity": 30, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 424, "days_push": 182, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 50, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}