diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-11 22:47:56 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-11 22:47:56 +0200 |
| commit | 34f2672bb788868d29dd97cc7e1be5bcf20d9523 (patch) | |
| tree | 19b6ede5cf4d54ba536b61764d0f61793d2cda02 /internal/promptstore/default_prompts.go | |
| parent | 95af492ff0ebcc61c5ffaad978ec2ab2b4510a64 (diff) | |
fix: clarify prompt retrieval method in meta-prompts
Update update_prompt and delete_prompt meta-prompts to explicitly instruct
Claude to use "prompts/get" instead of vague "access via prompts capability".
This prevents Claude from incorrectly trying to use the resources API.
Changes:
- update_prompt: "use prompts/get to retrieve the current prompt"
- delete_prompt: "use prompts/get to retrieve the prompt and show details"
Fixes issue where Claude would try to access "plugin:hexai-prompts" resources
instead of using the correct prompts/get method on the hexai-prompts server.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/promptstore/default_prompts.go')
| -rw-r--r-- | internal/promptstore/default_prompts.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/promptstore/default_prompts.go b/internal/promptstore/default_prompts.go index d985500..bfa6640 100644 --- a/internal/promptstore/default_prompts.go +++ b/internal/promptstore/default_prompts.go @@ -104,7 +104,7 @@ Start by examining our conversation and asking your clarifying questions using t Text: `I want to update the existing prompt '{{prompt_name}}'. Please help me by: -1) First, show me the current prompt (you can access it via the prompts capability) +1) First, use prompts/get to retrieve the current prompt '{{prompt_name}}' and show me what exists 2) Ask me what changes I want to make (description, arguments, messages, tags) 3) If I reference content from our current conversation, help extract and template it 4) Show me a complete preview of the updated prompt with changes highlighted @@ -164,7 +164,7 @@ Start by fetching and showing me the current prompt, then ask clarifying questio Text: `I want to delete the existing prompt '{{prompt_name}}'. Please help me by: -1) First, show me the current prompt so I can confirm it's the right one +1) First, use prompts/get to retrieve the prompt '{{prompt_name}}' and show me its details so I can confirm it's the right one 2) Ask me to explicitly confirm the deletion 3) Only after I explicitly confirm, use the delete_prompt tool to delete it |
