Skip to content
Development
Hook

Hooks

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

From plugin
autoharness
4.4k1 skill2 agents4 hooks1 MCP
Install
> /plugin marketplace add tigerless-labs/autoharness
> /plugin install autoharness@autoharness

Ships with autoharness. 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.

  • PYTHONPATH=${CLAUDE_PLUGIN_ROOT}/src python3 -m autoharness.hook.dispatch

Stop

  • PYTHONPATH=${CLAUDE_PLUGIN_ROOT}/src python3 -m autoharness.hook.dispatch

PreToolUse

  • PYTHONPATH=${CLAUDE_PLUGIN_ROOT}/src python3 -m autoharness.hook.dispatch

SessionEnd

  • PYTHONPATH=${CLAUDE_PLUGIN_ROOT}/src python3 -m autoharness.hook.dispatch
Read hooks/hooks.json
Ships withautoharness

Autoharness — a self-learning skill layer for Claude Code — distills skills from your real sessions, updates them as you work, and prunes the ones that stop getting used. No daemon, no benchmark.

Get the whole plugin
Stats
4,434
Stars
319
Forks
Active
Maintenance
Python
Language
MIT
License
18d ago
Last commit
3mo ago
Created

Repo: tigerless-labs/autoharness