Skip to main content

corgi agent turn

corgi agent turn

One more turn for a session whose terminal is gone — claude -p --resume

Synopsis

The editor closed, the lid shut on a tab: the session's process is gone but its conversation is not. This runs one headless turn for it — claude -p --resume <id> <message> — in its own checkout, under its own account, so the conversation goes on and the phone's chat reads the answer. A session that still has a terminal is typed into (corgi agent send) and never resumed beside itself.

The turn runs with --permission-mode acceptEdits and nobody to ask; the log is under the agent dir, watch/runs/continue-<id>.log. With the workspace's headless switch on (corgi agent watch enable --headless), a message from the phone for a gone session does this on its own.

corgi agent turn <session> <message> [flags]

Options

-h, --help help for turn

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 the .corgi/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 - Keep Claude Code Remote Control running for your corgi workspaces
Auto generated by spf13/cobra on 20-Sep-2026