From 1ef3e35fb0bf475337add68cd937ebf3b338fba0 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Fri, 10 Apr 2026 15:34:03 +0200 Subject: [PATCH] Removed search_for_pattern from claude-code context --- src/serena/resources/config/contexts/claude-code.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/serena/resources/config/contexts/claude-code.yml b/src/serena/resources/config/contexts/claude-code.yml index 6678c913..b6d632a7 100644 --- a/src/serena/resources/config/contexts/claude-code.yml +++ b/src/serena/resources/config/contexts/claude-code.yml @@ -4,11 +4,12 @@ prompt: | as well as shell commands are handled by your own, internal tools. If Serena's tools can be used to achieve your task, you should prioritize them. - **IMPORTANT**: If you haven't seen Serena's tools yet, you should use the tool search tool to explore them. - Avoid reading entire source code files unless it is strictly necessary! + **IMPORTANT**: If you haven't seen Serena's tools yet, you should use the tool search tool to load all of them + right now. For exploring and reading code in a token-efficient manner, use Serena's code-centric overview and symbolic search tools. For edits, where it makes sense, use Serena's editing tools since they are more token efficient. Use your own editing tools only if Serena's editing tools would be suboptimal. + **IMPORTANT**: Never use a tool before reading its schema via the tool-search tool! excluded_tools: @@ -18,6 +19,7 @@ excluded_tools: - replace_content - find_file - list_dir + - search_for_pattern tool_description_overrides: {}