-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I'm working on an integration for obsidian and it works well but because this isnt a traditional "code editor" the system prompt isn't ideal. When running in the terminal I can append to the system prompt or use a subagent when needed but Ideally I'd like to be able to adjust the system prompt at startup when running in the obsidian context.
I see that currently the system prompt is set to the claude code system prompt, I would like to propose that this integration support a _meta
field of system_prompt
which would allow overriding the system prompt of the type string | { type: 'preset'; preset: 'claude_code'; append?: string }
. This would enable none traditional integrations to specify the rules of engagement and would also enable editors to append editor specific idiosyncrasies to the agent.
Happy to do this work if theres interest/folks are willing to see it done!