Claude CodeTemplates
Blog
1200+ Templates

Claude CodeTemplates

The minimal library for developers.
Browse skills, agents, commands, and integrations.

Instant Install
Open Source
Community Driven

hooks

(44)
hook

agents-md-loader

Automatically injects the contents of AGENTS.md into the session context at startup to enforce project-specific agent behaviors and configurations.

automation
npx claude-code-templates@latest --hook=automation/agents-md-loader.json --yes
hook

build-on-change

Automatically detects and executes the appropriate build command for Node.js, Make, Rust, Maven, or Gradle projects immediately after a file edit.

automation
npx claude-code-templates@latest --hook=automation/build-on-change.json --yes
hook

dependency-checker

Automatically runs security audits and checks for outdated packages whenever dependency files such as package.json, requirements.txt, or Cargo.toml are modified.

automation
npx claude-code-templates@latest --hook=automation/dependency-checker.json --yes
hook

deployment-health-monitor

Monitors Vercel deployment health by tracking build statuses and calculating success rates, automatically alerting on failures or critical stability issues. Provides real-time insights into active queues and recent deployment history to streamline troubleshooting.

automation
npx claude-code-templates@latest --hook=automation/deployment-health-monitor.json --yes
hook

discord-detailed-notifications

Sends rich Discord embed notifications at the start and end of a session, tracking project details, duration, and memory usage via the DISCORD_WEBHOOK_URL.

automation
npx claude-code-templates@latest --hook=automation/discord-detailed-notifications.json --yes
hook

discord-error-notifications

Sends rich Discord alerts when Bash commands exceed 30 seconds or when Claude Code pauses to wait for user input.

automation
npx claude-code-templates@latest --hook=automation/discord-error-notifications.json --yes
hook

discord-notifications

Sends a timestamped notification to your Discord server via webhook whenever Claude Code or a subagent completes a task.

automation
npx claude-code-templates@latest --hook=automation/discord-notifications.json --yes
hook

simple-notifications

Triggers native desktop notifications on macOS and Linux to alert you immediately whenever a Claude Code tool finishes executing.

automation
npx claude-code-templates@latest --hook=automation/simple-notifications.json --yes
hook

slack-detailed-notifications

Sends rich Slack notifications at both the start and conclusion of Claude Code sessions to track project context, execution duration, and memory usage using a webhook.

automation
npx claude-code-templates@latest --hook=automation/slack-detailed-notifications.json --yes
hook

slack-error-notifications

Sends Slack notifications when Bash commands exceed 30 seconds or when Claude Code pauses for user input, allowing you to monitor long-running tasks and pending permissions.

automation
npx claude-code-templates@latest --hook=automation/slack-error-notifications.json --yes
hook

slack-notifications

Sends timestamped notifications to a designated Slack channel whenever Claude Code or a subagent completes a task. Requires a valid `SLACK_WEBHOOK_URL` environment variable to function.

automation
npx claude-code-templates@latest --hook=automation/slack-notifications.json --yes
hook

telegram-detailed-notifications

Automatically sends detailed Telegram notifications for Claude Code session starts and stops, including project context, runtime duration, and memory usage statistics.

automation
npx claude-code-templates@latest --hook=automation/telegram-detailed-notifications.json --yes
hook

telegram-error-notifications

Automatically sends Telegram notifications for Bash operations exceeding 30 seconds and alerts you when Claude pauses for user input or permissions.

automation
npx claude-code-templates@latest --hook=automation/telegram-error-notifications.json --yes
hook

telegram-notifications

Delivers timestamped Telegram notifications to your specified chat whenever Claude Code or a subagent completes a task. Requires configured environment variables for your bot token and chat ID.

automation
npx claude-code-templates@latest --hook=automation/telegram-notifications.json --yes
hook

vercel-auto-deploy

Monitors source code modifications to automatically trigger environment-specific Vercel deployments, initiating production builds for the main branch and preview deployments for staging or development environments.

automation
npx claude-code-templates@latest --hook=automation/vercel-auto-deploy.json --yes
hook

vercel-environment-sync

Automatically monitors and validates `.env` file modifications for formatting errors and security risks like weak secrets, ensuring local configurations are compliant before synchronizing with Vercel.

automation
npx claude-code-templates@latest --hook=automation/vercel-environment-sync.json --yes
hook

change-tracker

Automatically appends a timestamped record to `~/.claude/changes.log` whenever a file is created or modified by the agent.

development tools
npx claude-code-templates@latest --hook=development-tools/change-tracker.json --yes
hook

command-logger

Logs every tool usage event to a local file with precise timestamps and file paths to facilitate auditing and debugging.

development tools
npx claude-code-templates@latest --hook=development-tools/command-logger.json --yes
hook

debug-window

Automatically opens a live-tailing debug log window when running in debug mode, providing real-time visibility into session activity with optional persistence after the session ends.

development tools
npx claude-code-templates@latest --hook=development-tools/debug-window.json --yes
hook

file-backup

Automatically preserves original file content by creating a timestamped copy in a .backups directory immediately before any edit operation takes place.

development tools
npx claude-code-templates@latest --hook=development-tools/file-backup.json --yes
Page 1 of 3

Utility Commands

Analytics

Track template usage patterns and generate reports.

npx claude-code-templates@latest --analytics

Health Check

Verify your environment setup and dependencies.

npx claude-code-templates@latest --health-check

Activity Logs

View real-time usage logs and interaction history.

npx claude-code-templates@latest --chats
New

Plugin Manager

Manage configurations and installed extensions.

npx claude-code-templates@latest --plugins
Claude CodeTemplates

The minimal template library for developers.
Open source and community driven.

Templates

SkillsAgentsCommandsHooksMCP

Resources

BlogAll Templates

© 2026 Open Source.

Built with by Senpai