pretooluse AI Agent Skills

Browse 42 skills related to pretooluse

Hook Development

72.7k
anthropicsanthropics

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

skill-developer

22.5k
langfuselangfuse

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

create-hooks

1.4k
glittercowboyglittercowboy

Expert guidance for creating, configuring, and using Claude Code hooks. Use when working with hooks, setting up event listeners, validating commands, automating workflows, adding notifications, or understanding hook types (PreToolUse, PostToolUse, Stop, SessionStart, UserPromptSubmit, etc).

132 days ago

hook-development

442
Fcakyon Claude Codex Settings Hook DevelopmentFcakyon Claude Codex Settings Hook Development

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

hook-creator

360
Greatsumini Cc System Hook CreatorGreatsumini Cc System Hook Creator

Create and configure Claude Code hooks for customizing agent behavior. Use when the user wants to (1) create a new hook, (2) configure automatic formatting, logging, or notifications, (3) add file protection or custom permissions, (4) set up pre/post tool execution actions, or (5) asks about hook events like PreToolUse, PostToolUse, Notification, etc.

132 days ago

tool-hooks-doctor

271
HeyvhuangHeyvhuang

Detect whether Claude Code evolution hooks are installed/enabled, and print a copy-paste fix. Use when you expect runs/evolution artifacts but nothing is being written. Triggers: hooks, evolution, runs/evolution, settings.json, PreToolUse, PostToolUse.

132 days ago

hooks-system

241
MadAppGangMadAppGang

Comprehensive lifecycle hook patterns for Claude Code workflows. Use when configuring PreToolUse, PostToolUse, UserPromptSubmit, Stop, or SubagentStop hooks. Covers hook matchers, command hooks, prompt hooks, validation, metrics, auto-formatting, and security patterns. Trigger keywords - "hooks", "PreToolUse", "PostToolUse", "lifecycle", "tool matcher", "hook template", "auto-format", "security hook", "validation hook".

orchestrationhookslifecycle+5
132 days ago

claude-code-bash-patterns

69
secondskysecondsky

Claude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encountering bash permissions, command failures, security guards, hook configurations.

132 days ago

hook-recipes

23
TibsfoxTibsfox

Curated collection of ready-to-use Claude Code hook recipes for safety, automation, formatting, logging, and context injection. Use when configuring hooks, setting up safety guards, automating workflows, or when user mentions 'hooks', 'PreToolUse', 'PostToolUse', 'guard', 'automation', 'claude hooks'.

132 days ago

claude-hooks

23
outfitter-devoutfitter-dev

This skill should be used when creating hooks, automating workflows, or when "PreToolUse", "PostToolUse", "hooks.json", "event handler", or "create hook" are mentioned.

132 days ago

hook-creator

20
DNYoussefDNYoussef

Create Claude Code hooks with proper schemas, RBAC integration, and performance requirements. Use when implementing PreToolUse, PostToolUse, SessionStart, or any of the 10 hook event types for automation, validation, or security enforcement.

132 days ago

Hook Development

19
ssdeanxssdeanx

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

Advanced Features 2025

19
JosiahSiegelJosiahSiegel

Advanced 2025 Claude Code plugin features. PROACTIVELY activate for: (1) Agent Skills with progressive disclosure (2) Hook automation (PreToolUse, PostToolUse, etc.) (3) MCP server integration (4) Repository-level configuration (5) Team plugin distribution (6) Context efficiency optimization Provides cutting-edge plugin capabilities and patterns.

132 days ago

create-hooks

16
cfircoocfircoo

Expert guidance for creating, configuring, and using Claude Code hooks. Use when working with hooks, setting up event listeners, validating commands, automating workflows, adding notifications, or understanding hook types (PreToolUse, PostToolUse, Stop, SessionStart, UserPromptSubmit, etc).

132 days ago

skill-developer

16
JNLeiJNLei

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

damage-control

16
cfircoocfircoo

Install, configure, and manage Claude Code security hooks that block dangerous commands and protect sensitive files. Use when setting up security protection, blocking destructive commands (rm -rf, git reset --hard), protecting sensitive paths (.env, credentials), or managing PreToolUse hooks.

132 days ago

skill-developer

14
NotMyselfNotMyself

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

hooks-development

14
terrylicaterrylica

Claude Code hooks development guide. TRIGGERS - create hook, PostToolUse, PreToolUse, Stop hook, hook lifecycle, decision block.

132 days ago

hook-development

14
basher83basher83

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

hooks-builder

11
mike-coulbournmike-coulbourn

Create event-driven hooks for Claude Code automation. Use this when you want to create hooks, automate tool validation, add pre/post-processing, enforce security policies, or configure settings.json hooks. Triggers include: create hook, build hook, PreToolUse, PostToolUse, event automation, tool validation, and security hook.

132 days ago

Context Optimizer

11
nahisahonahisaho

Context Optimizer is a developer utility that optimizes the context window for long-running sessions and frequent tool invocations, helping manage sessions more efficiently. It issues compression suggestions, reminders, and strong warnings triggered at 50/75/100 invocations and every 25 thereafter, and prompts users to save state via the session manager before compression. PostToolUse hooks after file edits run automatic checks per file extension (e.g., for .ts/.tsx run npx tsc --noEmit, prettier --check, grep to detect console.log), reporting issues and suggesting fixes. PreToolUse hooks prompt for confirmation for installs, builds, git operations, and destructive commands, and suggest using tmux or background execution. A Doc Blocker for Markdown creation asks whether documentation is necessary while considering an exception list. The /mode command injects dev/review/research modes and presents recommended tools and focus areas. Compliant with traceability requirements (REQ-CO-001–006), it improves development efficiency through context savings, safer operations, and automated checks.

132 days ago

hook-development

10
sjnimssjnims

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", "scoped hooks", "frontmatter hooks", "hook in skill", "hook in agent", "agent hook type", "async hooks", "once handler", "statusMessage", "hook decision control", "TeammateIdle hook", "TaskCompleted hook", or mentions hook events (PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, Stop, SubagentStop, SubagentStart, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification, TeammateIdle, TaskCompleted). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

hooks-configuration

10
laurigateslaurigates

Claude Code hooks configuration and development. Covers hook lifecycle events, configuration patterns, input/output schemas, and common automation use cases. Use when user mentions hooks, automation, PreToolUse, PostToolUse, SessionStart, SubagentStart, PermissionRequest, WorktreeCreate, WorktreeRemove, TeammateIdle, TaskCompleted, ConfigChange, or needs to enforce consistent behavior in Claude Code workflows.

132 days ago

claude-hooks-configuration

10
laurigateslaurigates

Set up Claude Code lifecycle hooks and event handlers in settings.json. Use when you want to trigger a script on session start, run a hook before or after tool calls (PreToolUse/PostToolUse), configure hook timeouts to prevent cancellation errors, or debug hooks that aren't firing correctly.

132 days ago

claude-code-bash-patterns

9
jackspacejackspace

Comprehensive knowledge for using the Bash tool in Claude Code effectively. This skill should be used when orchestrating CLI tools, configuring hooks, setting up automation workflows, managing git operations, handling multi-command patterns, or encountering Bash tool errors. Covers: PreToolUse hooks, command chaining patterns, git workflow automation, CLI tool integration, custom commands (.claude/commands/), security configurations, allowlisting, session persistence, output handling, error prevention, and troubleshooting common issues. Use when: setting up Claude Code hooks, configuring bash permissions, creating custom commands, automating git workflows, orchestrating multiple CLI tools, debugging bash command failures, implementing security guards, logging command execution, or preventing dangerous operations.

132 days ago

Latch

8
simotasimota

Claude Codeフック(PreToolUse/PostToolUse/Stop等のイベントシステム)の提案・設定・デバッグ・保守を担当。フックによるワークフロー自動化、品質ゲート、セキュリティ検証の導入が必要な時に使用。

132 days ago

claude-code-hooks

8
0xDarkMatter0xDarkMatter

Claude Code hook system for pre/post tool execution. Triggers on: hooks, PreToolUse, PostToolUse, hook script, tool validation, audit logging.

132 days ago

hooks-test

7
louloulinlouloulin

Test skill demonstrating hooks functionality. Shows PreToolUse, PostToolUse, and Stop hooks in action.

testinghooksdevelopment
132 days ago

claude-code:hook

7
bendruckerbendrucker

Use this skill when you need to configure, create, or troubleshoot Claude Code hooks. This includes setting up PreToolUse hooks, PostToolUse hooks, UserPromptSubmit hooks, debugging hook failures, or any automation within Claude Code. Examples include "I want to run tests before every file edit", "My hook isn't firing", "1 out of 2 hooks ran", or "How do I create a hook that formats JSON output with jq?"

132 days ago

skill-developer

5
agent-skills-hubagent-skills-hub

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

claude-agent-sdk

5
Daishiman Aiworkfloworchestrator Claude Agent SdkDaishiman Aiworkfloworchestrator Claude Agent Sdk

A skill specializing in implementing agent integrations using the Claude Agent SDK (@anthropic-ai/claude-agent-sdk) and directly using the Anthropic SDK (@anthropic-ai/sdk). It assists with the query() API, the Hooks system, Permission Control, Electron integration, streaming handling, and Direct SDK patterns. Anchors: • Claude Agent SDK Official Docs / Applicability: SDK API, Hooks, Permissions / Purpose: Implementations that follow official patterns • Anthropic SDK (@anthropic-ai/sdk) / Applicability: Direct SDK calls / Purpose: Simple main-process integration • Electron IPC Best Practices / Applicability: Main–Renderer communication / Purpose: Secure inter-process communication • TypeScript Handbook / Applicability: Type definitions, generics / Purpose: Type-safe SDK integration Trigger: Use when implementing agent features with the Claude Agent SDK, handling streaming from the query() API, implementing a Hooks system (PreToolUse/PostToolUse), integrating with Electron, designing Permission Control, integrating MCP, or using the Direct SDK integration pattern. claude-agent-sdk, query API, PreToolUse, PostToolUse, PermissionRequest, Electron IPC, MCP, streaming, permission control, @anthropic-ai/sdk, Direct SDK

132 days ago

Hook Development

5
troykellytroykelly

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

hook-creator

4
basher83basher83

This skill should be used when the user asks to "create a hook", "write hook config", "add hooks.json", "configure event hooks", "create PreToolUse hook", "add SessionStart hook", "implement hook validation", "set up event-driven automation", needs guidance on hooks.json structure, hook events (PreToolUse, PostToolUse, Stop, SessionStart, SessionEnd, UserPromptSubmit), or wants to automate workflows and implement event-driven behavior in Claude Code plugins.

132 days ago

skill-developer

4
DojoCodingLabsDojoCodingLabs

Create and manage Claude Code skills with auto-activation, progressive disclosure, and memory patterns. Use when creating skills, modifying skill-rules.json, understanding triggers (keywords, intent, file, content), working with hooks (UserPromptSubmit, PreToolUse, Stop), debugging activation, implementing guardrails, or building memory-aware skills that persist context across sessions. Covers 500-line rule, session tracking, enforcement levels (block, suggest, warn), plan-approval workflows, and best practices.

132 days ago

hook-development

4
OshanKHZOshanKHZ

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago

hook-creator

2
tygwantygwan

Create and configure Claude Code hooks for customizing agent behavior. Use when the user wants to (1) create a new hook, (2) configure automatic formatting, logging, or notifications, (3) add file protection or custom permissions, (4) set up pre/post tool execution actions, or (5) asks about hook events like PreToolUse, PostToolUse, Notification, etc.

132 days ago

hook-creator

1
tygwantygwan

Create and configure Claude Code hooks to customize agent behavior. Use this when the user wants to (1) create a new hook, (2) configure automatic formatting, logging, or notifications, (3) add file protection or custom permissions, (4) set up pre/post tool execution actions, or (5) ask about hook events such as PreToolUse, PostToolUse, Notification, etc.

132 days ago

skill-developer

aenabletreueaenabletreue

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

skill-developer

haniakrim21haniakrim21

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

skill-developer

oki3505Foki3505F

Create and manage Claude Code skills following Anthropic best practices. Use this guide when creating new skills, modifying .claude/skills/skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. It covers skill structure, YAML frontmatter conventions, trigger types (keywords, intent patterns, file-path globs, content regex patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

132 days ago

cc-dev-hooks

choru-kchoru-k

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, PermissionRequest, PostToolUseFailure, Stop, SubagentStop, SubagentStart, TeammateIdle, TaskCompleted, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code hooks with command, prompt, and agent hook types.

132 days ago

hook-development

pivoshenkopivoshenko

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

132 days ago
ClawiskillClawiskill
Network
Building with
?

Join Clawiskill today. The decentralized skill network for AI Agents.

Registry
70K+
Agent Joins
120K+
Explore Network