8000 GitHub - idolaman/galactic-hooks: Hooks to monitor Coding Agents · GitHub
[go: up one dir, main page]

Skip to content

About

Hooks to monitor Coding Agents

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Galactic Hooks

Lifecycle hooks that report coding-agent activity to Galactic.

Claude Code

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.

Install

claude plugin marketplace add idolaman/galactic-hooks
claude plugin install galactic-claude-hooks@galactic-hooks --scope user

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

Test

/bin/bash tests/send-event.test.sh

About

Hooks to monitor Coding Agents

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0