corgi agent hooks enable
corgi agent hooks enable
Notify when a Claude session here asks for permission or finishes
Synopsis
Writes two Claude Code hooks into .claude/settings.local.json (local to this
machine, never committed): one for permission prompts and questions, one for a
finished turn. Both call corgi agent hook, which tells the corgi
daemon, which sends the same notification as a restart — including the phone
push when notifyUrl is set.
Covers every Claude session in the directory, not just supervised ones.
corgi agent hooks enable [flags]
Options
-h, --help help for enable
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi agent hooks - Get notified when a session in this workspace needs you