Skip to content
Automation
Hook

Hooks

What auto-harness runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add redker56/auto-harness --agent claude-code

Ships with auto-harness. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • Runs pretool.

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-start.

PreCompact

  • Runs pre-compact.

SubagentStart

  • Runs auto-harness:planner-clarify-agent.

SubagentStop

  • Runs auto-harness:planner-clarify-agent.
Read hooks/hooks.json
Ships withauto-harness

Auto-Harness is a Claude Code plugin for longer software tasks that need planning, implementation, QA, fixes, retests, and a final report. Give it a product brief.

Get the whole plugin, auto-invoked