Skip to content
Back to skills

Hooks Management

ASecurity

Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

  • 470 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 7, 2026
ai-agentspythongoshellsecurityperformancedocumentation

Works with

  • claude code

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill hooks-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hooks Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hooks Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-hooks-management/badge)](https://www.skillsdirectory.com/skills/aiskillstore-hooks-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hooks-management
description: Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations
---

**Goal**: Create, update or troubleshoot Claude Code hook scripts

## Workflow

- Read hook documentation from `.claude/skills/hooks-management/references/hooks.md`
- Read hook input patterns from `.claude/skills/hooks-management/references/input-patterns.md`
- Review existing hooks in `.claude/hooks/` and settings in `.claude/settings.local.json`
- Create or update the hook script following the input patterns
- Troubleshoot the hook script if needed
- Verify hook execution using `echo` to pipe JSON input
- Review for security and performance issues
- Provide report to main agent

## Rules

- **NEVER** hardcode credentials or modify critical system files
- **NEVER** write hooks that can cause infinite loops
- **NEVER** bypass security validations
- **DO NOT** use multiline comments in hook scripts. Only use single line comments.
- **MUST** include proper error handling
- **MUST** prefer readability over performance
- **MUST** prefer Python over shell scripts
- **MUST** write semantic and idiomatic code

## Acceptance Criteria

- Hook executes successfully on target event
- Hook handles invalid/malformed input gracefully
- No security vulnerabilities
- Hook follows dispatcher pattern (for new hook logic)

Files in this skill

  • SKILL.md1.4 KB
  • references/hooks.md34.8 KB
  • references/input-patterns.md12.8 KB
  • skill-report.json9.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.