Lifecycle hooks that report coding-agent activity to Galactic.
The galactic-claude-hooks plugin reports two events to the local Galactic
backend:
| Claude Code hook | Galactic event |
|---|---|
UserPromptSubmit |
start |
Stop |
stop |
Each request contains only the agent platform, the normalized event name, Claude's session ID, and the absolute project root used to place the session in Galactic's workspace UI. Prompts, transcripts, assistant output, and tool input are never sent.
claude plugin marketplace add idolaman/galactic-hooks
claude plugin install galactic-claude-hooks@galactic-hooks --scope userThe plugin expects Galactic's local backend at
http://127.0.0.1:17890/hooks/events. Set GALACTIC_HOOK_URL only when a
different endpoint is needed for local development.
The hook is intentionally macOS-only and uses the system Bash, plutil, and
curl binaries. Backend failures never interrupt Claude Code.
/bin/bash tests/send-event.test.sh