Skip to content
Agent Orchestration
Hook

Hooks

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

From plugin
hello2cc
6881 agent11 hooks

Claude Code

> /plugin marketplace add hellowind777/hello2cc
> /plugin install hello2cc@hello2cc-local

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.

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" session-start

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.

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" route

SubagentStart

  • MatchesExplorenode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-context.mjs" explore
  • MatchesPlannode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-context.mjs" plan
  • Matchesgeneral-purposenode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-context.mjs" general

SubagentStop

  • MatchesExplorenode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.mjs"
  • MatchesPlannode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.mjs"
  • Matchesgeneral-purposenode "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.mjs"

TeammateIdle

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/teammate-idle.mjs"

TaskCompleted

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/task-lifecycle.mjs"

TaskCreated

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/task-lifecycle.mjs"

ConfigChange

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" config-change

PreToolUse

  • MatchesAgentnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-agent-model
  • MatchesTasknode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-agent-model
  • MatchesEnterWorktreenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-enter-worktree
  • MatchesTeamCreatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-team-create
  • MatchesTeamDeletenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-team-delete
  • MatchesTaskCreatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-task-create
  • MatchesTaskListnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-task-list
  • MatchesTaskGetnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-task-get
  • MatchesTaskUpdatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-task-update
  • MatchesToolSearchnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-tool-search
  • MatchesEnterPlanModenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-enter-plan-mode
  • MatchesExitPlanModenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-exit-plan-mode
  • MatchesAskUserQuestionnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-ask-user-question
  • MatchesSendMessagenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" pre-send-message

PostToolUse

  • MatchesTeamCreatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTeamDeletenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesAgentnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTasknode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesSendMessagenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTaskCreatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTaskListnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTaskGetnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesTaskUpdatenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesToolSearchnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesEnterPlanModenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesExitPlanModenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesAskUserQuestionnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use
  • MatchesWebSearchnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-use

PostToolUseFailure

  • MatchesAgentnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-failure
  • MatchesTasknode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-failure
  • MatchesEnterWorktreenode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-failure
  • MatchesWebSearchnode "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator.mjs" post-tool-failure
Read hooks/hooks.json
@hellowind777
Ships withhello2cc

Make third-party models inside Claude Code behave closer to a native Opus session. hello2cc does not replace your gateway, provider mapping, or account setup.

Stars on GitHub

Momentum

stars in total
688
Star history of hellowind777/hello2cc on GitHub, a chart by star-history.com

More plugins that ship hooks.

oh-my-claudecode

oh-my-claudecode

Splits a complex task across several specialized Claude Code agents working in parallel, then keeps going until the result is checked. You describe what you want in plain language instead of memorizing commands.

84 skills+441k
@yeachan-heo@yeachan-heo
Install Plugin
ouroboros

ouroboros

Turns a rough feature idea into a written spec through guided questions, then has the agent build it and checks the result against that spec. Instead of hand-checking whether the work is finished, you get an automatic evaluation gate that runs in your coding agent.

26 skills+36.4k
@q00@q00
Install Plugin
myclaude

myclaude

A plugin that runs coding tasks through multiple AI backends (Codex, Claude, Gemini, OpenCode) with a structured development workflow, parallel execution, browser automation and multi-session task checkpointing.

11 skills+32.8k
@stellarlinkco@stellarlinkco
Install Plugin
harmonist

harmonist

Coordinates AI agents with mechanical protocol enforcement, a workflow gate, memory validation and a session hook. Includes a catalog of specialist agents and has no runtime dependencies.

199 agents+12.2k
@gammalabtechnologies@gammalabtechnologies
Install Plugin
bernstein

bernstein

Bernstein is a Claude Code plugin for orchestrating AI agents. It adds skills to list and inspect agents, review and approve tasks, create tasks, track costs and budgets, and show alerts for failed or stalled work.

26 skills+41.2k
@sipyourdrink-ltd@sipyourdrink-ltd
Install Plugin
fablize

fablize

A Claude Code plugin that enforces finishing multi-step tasks with evidence and verification at each stage. It works as a procedure for Opus or any Claude model, not as chance.

1 skill+2891
@fivetaku@fivetaku
Install Plugin
super-board

super-board

Autonomous GitHub Project build → QA → review loop for Claude Code. One-line install.

10 skills7 hooks697
@erictechpro@erictechpro
Install Plugin
bkit

bkit

Runs a PDCA workflow with phase gating, spec checks, and delegation to sub-agents for planning, QA, and deployment. Fires at session start and on prompts, edits, task creation, and phase transitions.

44 skills+3604
@ww-w-ai@ww-w-ai
Install Plugin

Questions about the hooks in hello2cc.

Which coding agents can use the hooks in hello2cc?
The hooks in hello2cc install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.