# Setup Verify Hooks

> Installs Cursor stop/afterFileEdit verify hooks (format, lint, typecheck) from this skill's scripts/ template. Use when the user asks to add verify hooks or auto-verify on agent stop.

- Skill: `spencer1o1/setup-verify-hooks` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add spencer1o1/setup-verify-hooks`
- Raw SKILL.md: https://api.skillmd.com/api/skills/spencer1o1/setup-verify-hooks/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Spencer1O1 (https://skillmd.com/u/spencer1o1)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/spencer1o1/setup-verify-hooks

---


# Setup verify hooks

Copy from [`scripts/`](scripts/) next to this `SKILL.md`:

| File | → |
|------|---|
| `hooks.json` | `.cursor/hooks.json` (merge if present) |
| `after_file_edit.py` / `verify_stop.py` / `verify_lib.py` | `.cursor/hooks/` |
| `verify.config.json` | `.cursor/hooks/verify.config.json` |

Wire `verify.config.json` to this repo’s real format/lint/typecheck commands and path buckets. `chmod +x` on Unix. Confirm Hooks UI loads them. Smoke commands resolve — skip a full typecheck storm unless asked.

Behavior: edit → format + dirty flags; stop → checks + follow-up on failure.

