Skip to content

Add Custom Arguments setting for Claude sessions - #97

Open
rtp4jc wants to merge 1 commit into
doctly:mainfrom
rtp4jc:custom-args
Open

rtp4jc wants to merge 1 commit into
doctly:mainfrom
rtp4jc:custom-args

Conversation

@rtp4jc

@rtp4jc rtp4jc commented Sep 22, 2026

Copy link
Copy Markdown

Thanks for making this project! I was looking for a way to customize settings like output style per session and found custom command line arguments were the best way to do so. I tried to configure it in switchboard, but saw it wasn't present. I could add that one field as a new option, but thought it might be good to contribute a more flexible customArg setting like the pre-launch commands.

This PR adds a "Custom Arguments" field under more options for Claude sessions and schedules. The text is appended to the claude launch command as raw shell, the same way pre-launch command is prepended (e.g. --settings '{"outputStyle": "Learning"}'). This should be backwards compatible with any existing configurations and schedules.

I tried to keep it as simple as possible and follow the existing patterns, but let me know if you want any additional preprocessing logic or guardrails or if you would prefer I just make it for a specific setting rather than a generic field for custom arguments.

Extra claude CLI arguments, appended to the launch command as raw shell
like the pre-launch command, e.g. --settings '{"outputStyle": "Learning"}'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant