---
name: create-hook
slug: codex--create-hook
description: "Create Codex hooks. Use when you want to create a hook, write hooks.json, add hook scripts, or automate behavior around agent events."
collection: Codex built-in
category: Agent Workflow
license: Proprietary
source: https://developers.openai.com/codex
install: "Bundled with Codex \u2014 no separate install"
---

# create-hook

Create Codex hooks. Use when you want to create a hook, write hooks.json, add hook scripts, or automate behavior around agent events.

## Install

```bash
Bundled with Codex — no separate install
```

## Source and license

Codex built-in by OpenAI — Proprietary license.
Upstream: https://developers.openai.com/codex

## Notes

Listed by Plugsky. Skill text and behaviour belong to the upstream author.
If you redistribute it, keep the upstream license and attribution.
