Serena工具优化建议:节省Tokens
关于使用Serena的'大建议'——节省许多Tokens
问:是不是Serena里面的'list_dir,find_file,think_about_collected_information,think_about_task_adherence,think_about_whether_you_are_done,initial_instructions,onboarding,check_onboarding_performed,open_dashboard,write_memory,read_memory,edit_memory,list_memories,delete_memory,search_for_pattern'这些工具基本多余/无用?
答:由此可见,我们经常用的Serena里面不少工具基本无用/多余,包括一些完全不必要的思考提示,和基本没什么用的memory工具,还有几个和Claude Code内置工具完全重复的工具。其实算下来有用的就只有几个(有用的还没有无用的多)。
所以强烈建议打开'http://localhost:24282/dashboard/index.html',找到'excluded_tools'选项,在里面填写
excluded_tools: [list_dir,find_file,think_about_collected_information,think_about_task_adherence,think_about_whether_you_are_done,initial_instructions,onboarding,check_onboarding_performed,open_dashboard,write_memory,read_memory,edit_memory,list_memories,delete_memory,search_for_pattern]然后保存重启即可。当然也可以直接编辑配置文件':~/.serena/serena_config.yml'(记得保存并重启Serena)。
如果你还不知道什么是Serena?请看:
4 posts - 3
[](https:///t/topic/1496856) (author: HitC)
via - (author: HitC)
通过以上步骤,您可以有效地减少Serena工具的使用,从而节省许多Tokens。




评论已关闭