authoring-tool-hook

Community

Build safe Claude Code hooks with confidence

Authorrocklambros
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you author Claude Code hooks that control runtime behavior, audit events, and enforce security policy without confusing hooks with ordinary configuration.

Core Features & Use Cases

  • Choose the right hook event for the job, including PreToolUse, PostToolUse, SessionStart, SessionEnd, UserPromptSubmit, Stop, SubagentStop, and Notification.
  • Write scripts that read JSON from stdin, return allow or block decisions on stdout, and register them in settings.json or a plugin manifest.
  • Use it when blocking dangerous Bash commands, logging tool activity, injecting session context, or handling external policy checks with explicit timeout, cache, and failure-mode rules.

Quick Start

Ask Claude to draft a PreToolUse hook that blocks risky Bash commands, then have it explain the JSON payload, the decision response, the registration path, and the security review steps.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: authoring-tool-hook
Download link: https://github.com/rocklambros/rcs/archive/main.zip#authoring-tool-hook

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.