Claude Code hook
Workout Gate
Joke hook that blocks your prompt until you finish push-ups counted by webcam.
Install
/plugin marketplace add BotchetDig/workout-gategit clone https://github.com/BotchetDig/workout-gate.gitFrom the README
Workout Gate 🏋️ Your AI works hard, so should you. A Claude Code and Codex hook that blocks your prompt until you work out — push-ups or squats, counted live via webcam. When a challenge fires you pick your pain (say 6 push-ups *or* 9 squats). Random reps, session-persistent debt (no closing the tab to skip), streak stats, and three trigger modes. *Version française : README.fr.md · made by @Botchet* Requirements - Python 3.9–3.13 — including the macOS system Python 3.9, so there's no newer Python to install. - A webcam + an internet connection (first run downloads MediaPipe/OpenCV and a ~9 MB pose model). - macOS for the zero-config plugin onboarding — it pops the setup in a Terminal and triggers the camera-permission dialog. Linux/Windows work too; Claude just points you at bootstrap.sh to run once by hand. - git and python3 on your PATH. Install As a Claude Code plugin (CLI + desktop, recommended) Then start a new session (or run /reload-plugins) — nothing happens until you do. The plugin works in Claude Code CLI and desktop. Onboarding pops up in a Terminal window on its own — dependencies install, then a 30-second wizard (your max, trigger choice, a 2-pushup camera test). Until setup is done, prompts pass freely. The gate and /workout-gate:workout then work in every session, and plugin updates never break the install (the runtime lives in ~/.workout-gate/). Also works in Codex (CLI + desktop) The gate uses the same UserPromptSubmit hook in Codex — CLI and desktop. From Codex, open /plugins, add the BotchetDig/workout-gate marketplace if needed, then install workout-gate. Codex shows the hook review separately, so approve the plugin hooks once with /hooks before testing a prompt. Prefer terminal commands? After setup, wire it into all your Codex…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- BotchetDig/workout-gate
- Type
- Hooks
- Language
- Python
- License
- MIT
- Last updated
- 25 June 2026
FAQ
What is Workout Gate?
Joke hook that blocks your prompt until you finish push-ups counted by webcam. It is a hook for Claude Code, from BotchetDig/workout-gate on GitHub.
How do I install Workout Gate?
Run /plugin marketplace add BotchetDig/workout-gate inside Claude Code, then follow the setup in the README.
Is Workout Gate popular?
BotchetDig/workout-gate has 220 GitHub stars and 23 forks. It was last updated on 25 June 2026.
More hooks
Claude Code Pro Course
339justxor/claude-code-pro-course
Claude Code PRO — полный курс и гайд на русском: CLAUDE.md, settings, skills, subagents, hooks, MCP, плагины, CI. 8 лабораторных, библиотека промптов и готовый starter-kit. Здесь бесплатные курсы по chatgpt -
Dippy
245ldayton/Dippy
Less permission fatigue, more momentum. Dippy knows what’s safe to run and keeps Claude on track when plans change.
Claude Office
331W17ant/Claude-Office
A pixel art virtual office that visualizes your AI agents working in real-time. Claude Code hooks, WebSocket events, and isometric pixel art.
Plankton
377alexfazio/plankton
Write-time code quality enforcement system for Claude Code. Every file edit triggers automated formatting and linting through fast Rust-based linters and dedicated Claude instances that intelligently fix remaining violations
Probity
241nizos/probity
TDD enforcement and guardrail hooks for Claude Code, Codex and Copilot CLI from the TDD Guard author.
claude-ip-guard
227cso1z/claude-ip-guard
Hook plugin that checks the current IP before allowing Claude Code to run.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.