Claude Code Hooks and Slash Commands: A Copy-Paste Setup for a Faster Workflow (Plus Codex CLI Equivalents)
Описание и применение
<p>Most of the time I lose with Claude Code isn't spent waiting on the model. It goes on the same small chores, over and over: typing out the same review prompt, reminding it to run the formatter, flipping back to the terminal to see whether it's waiting on me, and pasting <code>git diff</code> into the chat for the hundredth time. Claude Code has two built-in features that handle these: <strong>hooks</strong>, which run your own scripts at fixed points in a session, and <strong>custom slash commands</strong>, which turn a prompt you keep retyping into a one-word command. Codex CLI now has clo
Задача
<p>Most of the time I lose with Claude Code isn't spent waiting on the model. It goes on the same small chores, over and over: typing out the same review prompt, reminding it to run the formatter, flipping back to the terminal to see whether it's waiting on me, and pasting <code>git diff</code> into the chat for the hundredth time. Claude Code has two built-in features that handle these: <strong>hooks</strong>, which run your own scripts at fixed points in a session, and <strong>custom slash commands</strong>, which turn a prompt you keep retyping into a one-word command. Codex CLI now has clo
Результат
<p>Most of the time I lose with Claude Code isn't spent waiting on the model. It goes on the same small chores, over and over: typing out the same review prompt, reminding it to run the formatter, flipping back to the terminal to see whether it's waiting on me, and pasting <code>git diff</code> into the chat for the hundredth time. Claude Code has two built-in features that handle these: <strong>hooks</strong>, which run your own scripts at fixed points in a session, and <strong>custom slash commands</strong>, which turn a prompt you keep retyping into a one-word command. Codex CLI now has clo
Доказательства
Claude Code Hooks and Slash Commands: A Copy-Paste Setup for a Faster Workflow (Plus Codex CLI Equivalents)
- Дата записи: 2026-10-25T00:26:24.221Z