Skip to content
Development
Hook

Hooks

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

From plugin
agent-lint
562 commands1 hook
Install
> /plugin marketplace add 0xmariowu/AgentLint
> /plugin install agent-lint@agent-lint

Ships with agent-lint. 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.

  • missing=''; command -v jq >/dev/null 2>&1 || missing="$missing jq"; command -v node >/dev/null 2>&1 || missing="$missing node"; if [ -n "$missing" ]; then echo "[AgentLint] Missing:$missing — install before running /al"; else echo 'AgentLint ready'; fi
Read hooks/hooks.json

In the plugin's words

How agent-lint describes its own hook set.

AgentLint plugin hooks
Ships withagent-lint

The linter for your agent harness. Works with Claude Code, Codex, and Cursor.

Get the whole plugin
Stats
56
Stars
2
Forks
Maintained
Maintenance
Shell
Language
MIT
License
2mo ago
Last commit
5mo ago
Created

Repo: 0xmariowu/AgentLint