Hooks
What code-forge runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add ggombee/code-forge --agent claude-codeShips with code-forge. Installing the plugin gets these hooks.
What fires, and when
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Runs session-init.sh.
PostToolUse
- Runs lint-fix.sh.
PreToolUse
- Runs guard.sh.
Stop
- Runs quality-gate.sh.
Notification
- Runs notify.sh.
SubagentStop
- Runs subagent-stop.sh.
PreCompact
- Runs pre-compact.sh.
PostCompact
- Runs >&2.
PermissionRequest
- Runs permission-guard.sh.
FileChanged
- Runs package-changed.sh.
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
- Runs auto-flow-trigger.sh.
Where it lives
- hooks/auto-flow-trigger.shGitHub
- hooks/bellows-log.shGitHub
- hooks/guard.shGitHub
- hooks/lint-fix.shGitHub
- hooks/notify.shGitHub
- hooks/package-changed.shGitHub
- hooks/permission-guard.shGitHub
- hooks/pre-compact.shGitHub
- hooks/quality-gate.shGitHub
- hooks/scope-type-check.shGitHub
- hooks/session-init.shGitHub
- hooks/skill-dedup.shGitHub
- hooks/subagent-stop.shGitHub
- hooks/write-guard.shGitHub
Showing the source of 6 of 14 scripts. Every one is linked above.
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
설치하면 Claude Code가 더 잘 동작합니다. 전문 에이전트, 슬래시 스킬, 스택 모듈을 제공하는 Claude Code 플러그인. 검증된 사고모델(GROUND→APPLY→VERIFY→ADAPT)이 모든 작업의 품질을 일관되게 유지합니다. (에이전트/스킬 개수는 디스크가 진실 — ls agents/.md | wc -l, ls skills//SKILL.md | wc -l) 현재 상태: 개인 GitHub 운영 중 (마켓플레이스 배포 4.10.0).

