BROWSE
HOOKS
Browse Codex hooks and installable hook packages.
51 RESULTS
Agents Md Loader
am-will
Automatically loads AGENTS.md configuration file content at session start to ensure Codex follows project-specific agent behavior. Only loads if AGENTS.md exists, otherwise passes empty context. Supports the universal AGENTS.md standard for cross-platform AI assistant compatibility.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/agents-md-loader --hookBuild On Change
am-will
Automatically trigger build processes when source files change. Detects common build tools and runs appropriate build commands.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/build-on-change --hookChange Logger
am-will
Log every file mutation to CSV for demo prep. Records timestamp, tool, file path, action, and details for Edit, MultiEdit, Write, and Bash operations. Output: .codex/critical_log_changes.csv
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/change-logger --hookDependency Checker
am-will
Advanced dependency analysis and security checking. Monitors for outdated packages, security vulnerabilities, and license compatibility.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/dependency-checker --hookDeployment Health Monitor
am-will
Monitor deployment status, error rates, and performance metrics, sending notifications for failed deployments or performance degradation. Tracks Vercel deployment health, monitors build success/failure rates, and provides alerts for deployment issues. Setup: Export 'export VERCEL_TOKEN=your_token' and 'export VERCEL_PROJECT_ID=your_project_id' (get from vercel.com/account/tokens and Vercel dashboard).
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/deployment-health-monitor --hookDiscord Detailed Notifications
am-will
Send detailed Discord notifications with session information when Codex finishes. Includes working directory, session duration, and system info with rich embeds. Requires DISCORD_WEBHOOK_URL environment variable.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/discord-detailed-notifications --hookDiscord Error Notifications
am-will
Send Discord notifications when Codex encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues with rich embeds. Requires DISCORD_WEBHOOK_URL environment variable.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/discord-error-notifications --hookDiscord Notifications
am-will
Send Discord notifications when Codex finishes working. Requires DISCORD_WEBHOOK_URL environment variable. Get webhook URL from Discord Server Settings -> Integrations -> Webhooks.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/discord-notifications --hookSimple Notifications
am-will
Send simple desktop notifications when Codex operations complete. Works on macOS and Linux systems.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/simple-notifications --hookSlack Detailed Notifications
am-will
Send detailed Slack notifications with session information when Codex finishes. Includes working directory, session duration, and system info. Requires SLACK_WEBHOOK_URL environment variable.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/slack-detailed-notifications --hookSlack Error Notifications
am-will
Send Slack notifications when Codex encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues. Requires SLACK_WEBHOOK_URL environment variable.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/slack-error-notifications --hookSlack Notifications
am-will
Send Slack notifications when Codex finishes working. Requires SLACK_WEBHOOK_URL environment variable. Get webhook URL from Slack App settings -> Incoming Webhooks.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/slack-notifications --hookTelegram Detailed Notifications
am-will
Send detailed Telegram notifications with session information when Codex finishes. Includes working directory, session duration, and system info. Requires TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/telegram-detailed-notifications --hookTelegram Error Notifications
am-will
Send Telegram notifications when Codex encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues. Requires TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/telegram-error-notifications --hookTelegram Notifications
am-will
Send Telegram notifications when Codex finishes working. Requires TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables. Get bot token from @BotFather, get chat ID by messaging the bot and visiting https://api.telegram.org/bot<TOKEN>/getUpdates
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/telegram-notifications --hookTelegram Pr Webhook
am-will
Send Telegram notification when a new PR is created via gh pr create. Includes PR URL and Vercel preview URL. Requires TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables. Optionally set VERCEL_PROJECT_NAME and VERCEL_TEAM_SLUG to construct the Vercel preview URL automatically.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/telegram-pr-webhook --hookVercel Auto Deploy
am-will
Automatically trigger Vercel deployments when code changes are committed, with environment-specific deployment strategies and rollback on failure. Setup: Export environment variables 'export VERCEL_TOKEN=your_token' and 'export VERCEL_PROJECT_ID=your_project_id' (get your token from vercel.com/account/tokens and project ID from your Vercel dashboard). Hook triggers on PostToolUse for Write, Edit, and MultiEdit operations affecting source code files.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/vercel-auto-deploy --hookVercel Environment Sync
am-will
Synchronize environment variables between local development and Vercel deployments, ensuring consistency across all environments. Detects changes to .env files and provides options to sync with Vercel, validates environment variable format, and ensures required variables are present. Setup: Export 'export VERCEL_TOKEN=your_token' (get from vercel.com/account/tokens).
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/automation/vercel-environment-sync --hookChange Tracker
am-will
Track file changes in a simple log. Records which files were modified and when for easy tracking of Codex activity.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/change-tracker --hookCommand Logger
am-will
Log all Codex commands to a file for audit and debugging purposes. Simple logging that records tool usage with timestamps.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/command-logger --hookDebug Window
am-will
Auto Debug Log Viewer. Opens a live-tailing debug log window when Codex starts with --debug or -d flag. The window closes automatically on session end. To keep the debug window open after session ends, set DEBUG_WINDOW_AUTO_CLOSE_DISABLE=1 in your settings.json. Tested on Intel Mac. Supports macOS, Linux, and Windows (Git Bash/Cygwin). Contributions from other platform users are welcome.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/debug-window --hookFile Backup
am-will
Automatically backup files before editing. Creates timestamped backups in a .backups directory when files are modified.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/file-backup --hookLint On Save
am-will
Automatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/lint-on-save --hookNextjs Code Quality Enforcer
am-will
Enforce Next.js best practices, proper file structure, component patterns, and TypeScript usage with automated code reviews and suggestions. Validates Next.js App Router conventions, Server/Client component patterns, proper imports, and TypeScript usage. Provides real-time feedback on code quality and adherence to Next.js best practices.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/nextjs-code-quality-enforcer --hookSmart Formatting
am-will
Smart code formatting based on file type. Automatically formats code using Prettier, Black, gofmt, rustfmt, and other language-specific formatters.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/smart-formatting --hookWorktree Ghostty
am-will
Worktree Ghostty Layout. Opens a 3-panel Ghostty layout when creating worktrees: Codex (left) | lazygit (top-right) / yazi (bottom-right). Creates worktrees in a sibling directory (../worktrees/<repo>/<name>/) and cleans up on removal. macOS only. Requires: jq, Ghostty terminal, lazygit, yazi. Ghostty keybindings required: super+d = new_split:right, super+shift+d = new_split:down.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/worktree-ghostty --hookAuto Git Add
am-will
Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/git-workflow/auto-git-add --hookSmart Commit
am-will
Intelligent git commit creation with automatic message generation and validation. Creates meaningful commits based on file changes.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/git-workflow/smart-commit --hookConventional Commits
am-will
Enforce conventional commit message format for all git commits. Validates commit messages follow the pattern: type(scope): description. Supported types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert. Ensures consistent commit history for changelog generation and semantic versioning.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/git/conventional-commits --hookPrevent Direct Push
am-will
Prevent direct pushes to protected branches (main, develop). Blocks git push commands targeting main or develop branches to enforce Git Flow workflow. Requires using feature/release/hotfix branches and pull requests instead of direct commits to protected branches.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/git/prevent-direct-push --hookValidate Branch Name
am-will
Validate Git Flow branch naming conventions before checkout. Ensures branches follow the pattern: feature/*, release/v*.*.*, hotfix/*. Prevents creation of branches that don't follow Git Flow standards.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/git/validate-branch-name --hookDesktop Notification On Stop
am-will
Sends a native desktop notification when Codex finishes responding. Uses the Stop hook event so you get a single notification per response instead of one per tool call (which is very noisy with PostToolUse). Supports macOS (osascript) and Linux (notify-send). Useful when you switch to another window while Codex works — you'll get a notification when it's ready for your input.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/monitoring/desktop-notification-on-stop --hookLangsmith Tracing
am-will
Automatically send Codex conversation traces to LangSmith for monitoring and analysis. Prerequisites: jq (brew install jq on macOS or sudo apt-get install jq on Linux), curl and uuidgen (usually pre-installed), LangSmith account and API key. Configuration: install the matching LangSmith setting from the upstream template source, or manually add to `.codex/settings.local.json` the following environment variables: `TRACE_TO_LANGSMITH=true`, `CC_LANGSMITH_API_KEY=lsv2_pt_...`, `CC_LANGSMITH_PROJECT=project-name`, `CC_LANGSMITH_DEBUG=true` (optional). How it works: Runs in background on Stop event after each Codex response, reads conversation transcript, converts to LangSmith format, sends to LangSmith API, groups by `thread_id` for session continuity. Debugging: Check logs at `~/.codex/state/hook.log`. Privacy note: System prompts not included in traces.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/monitoring/langsmith-tracing --hookPerformance Budget Guard
am-will
Monitor bundle size and Core Web Vitals metrics during development, blocking deployments that exceed performance budgets with detailed reports. Automatically analyzes Next.js build output, checks bundle sizes against predefined budgets, and provides optimization recommendations. Hook triggers on PostToolUse for build-related operations and file changes that could affect performance.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/performance/performance-budget-guard --hookPerformance Monitor
am-will
Monitor system performance during Codex operations. Tracks CPU, memory usage, and execution time for performance optimization.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/performance/performance-monitor --hookFormat Javascript Files
am-will
Automatically format JavaScript/TypeScript files after any Edit operation using prettier. This hook runs 'npx prettier --write' on any .js, .ts, .jsx, or .tsx file that Codex modifies, ensuring consistent code formatting. Uses npx so prettier doesn't need to be globally installed. Includes error suppression so it won't fail if prettier is not available.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/post-tool/format-javascript-files --hookFormat Python Files
am-will
Automatically format Python files after any Edit operation using black formatter. This hook runs 'black' on any .py file that Codex modifies, ensuring consistent Python code formatting. Requires black to be installed ('pip install black'). The command includes error suppression (2>/dev/null || true) so it won't fail if black is not installed.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/post-tool/format-python-files --hookGit Add Changes
am-will
Automatically stage changes in git after file modifications for easier commit workflow. This hook runs 'git add' on any file that Codex edits or writes, automatically staging changes for the next commit. Includes error suppression so it won't fail in non-git repositories. Helps streamline the development workflow by preparing files for commit.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/post-tool/git-add-changes --hookRun Tests After Changes
am-will
Automatically run quick tests after code modifications to ensure nothing breaks. This hook executes 'npm run test:quick' silently after any Edit operation and provides feedback on test status. Helps catch breaking changes immediately during development. Only runs if package.json exists and the test:quick script is available.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/post-tool/run-tests-after-changes --hookBackup Before Edit
am-will
Create automatic backup of files before any Edit operation for safety. This hook creates a timestamped backup copy (filename.backup.timestamp) of any existing file before Codex modifies it. Provides a safety net to recover previous versions if needed. Only backs up existing files, includes error suppression to handle edge cases gracefully.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/pre-tool/backup-before-edit --hookConsole Log Cleaner
am-will
Warns about console.log statements when editing files on production branches (main/master). Helps prevent debug code from reaching production.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/pre-tool/console-log-cleaner --hookNotify Before Bash
am-will
Show notification before any Bash command execution for security awareness. This hook displays a simple echo message '🔔 About to run bash command...' before Codex executes any bash command, giving you visibility into when system commands are about to run. Useful for monitoring and auditing command execution.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/pre-tool/notify-before-bash --hookUpdate Search Year
am-will
Automatically adds current year to WebSearch queries when no year is specified. This hook intercepts WebSearch tool usage and appends the current year to queries that don't already contain a year, ensuring search results are current and relevant.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/pre-tool/update-search-year --hookPlan Gate
am-will
Planning gate that warns when editing production code without an approved specification. Checks for recent .spec.md files in the project directory (last 14 days). If no spec is found, shows a warning suggesting to create one first. Non-blocking (exit 0) — acts as a reminder, not a hard gate. Supports 16 programming languages. Part of the Spec-Driven Development (SDD) methodology where every implementation should be backed by an approved specification.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/quality-gates/plan-gate --hookScope Guard
am-will
Scope guard that detects files modified outside the declared scope of a specification. When a .spec.md file contains a 'Files to Create/Modify' section, this hook compares git-modified files against the declared list. Files outside scope trigger a warning (non-blocking). Automatically excludes test files, config files, infrastructure files, and documentation. Essential for Spec-Driven Development to prevent scope creep during implementation.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/quality-gates/scope-guard --hookTdd Gate
am-will
Test-Driven Development enforcement hook. Blocks editing production code files (.cs, .py, .ts, .go, .rs, .rb, .php, .java, .kt, .swift, .dart) unless a corresponding test file exists. Forces the TDD workflow: write tests first, then implement. Automatically skips config files, migrations, DTOs, test files themselves, and infrastructure files. Looks for test files with common naming patterns (MyClassTest.ext, my-class.test.ext, my_class_test.ext, test_my_class.ext). Inspired by pm-workspace's Spec-Driven Development methodology.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/quality-gates/tdd-gate --hookDangerous Command Blocker
am-will
Advanced protection against dangerous shell commands with multi-level security. Blocks catastrophic operations (rm -rf /, dd, mkfs), protects critical paths (.codex/, .git/, node_modules/), and warns about suspicious patterns. Features: catastrophic command blocking, critical path protection, smart pattern detection, and detailed safety messages.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/security/dangerous-command-blocker --hookFile Protection
am-will
Protect critical files from accidental modification. Prevents editing of important system files, configuration files, and production code.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/security/file-protection --hookSecret Scanner
am-will
Automatically detects hardcoded secrets before git commits. Scans for API keys from 30+ providers (Anthropic: sk-ant-..., OpenAI: sk-..., AWS: AKIA..., Stripe: sk_live_..., Google: AIza..., GitHub: ghp_..., Vercel, Supabase, Hugging Face: hf_..., Replicate: r8_..., Groq: gsk_..., Databricks: dapi..., GitLab, DigitalOcean, npm, PyPI, and more), tokens, passwords, private keys, and database credentials. Blocks commits containing secrets and suggests using environment variables instead.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/security/secret-scanner --hookSecurity Scanner
am-will
Scan code for security vulnerabilities and secrets after modifications. Uses multiple security tools to detect potential issues.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/security/security-scanner --hook