Development
Command
/check-toolsearch
检查 ToolSearch(WebSearch)是否可用
Install
> /plugin marketplace add doccker/cc-use-exp > /plugin install cc-use-exp@cc-use-exp
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/check-toolsearch
Context preview
What this command does when you run it.
检查 ToolSearch(WebSearch)是否可用
Command definition
check-toolsearch.mddescription: 检查 ToolSearch(WebSearch)是否可用
验证当前 Claude Code 环境是否支持 ToolSearch 工具。
执行步骤
1. 尝试调用 WebSearch
使用 WebSearch 工具搜索关键词 `Claude Code CLI`。
2. 获取本机版本
使用 Bash 执行 `claude --version` 获取用户当前安装的 Claude Code 版本号。
3. 判断结果
**如果搜索成功返回结果**:
✅ ToolSearch 可用
搜索功能正常,你的 Claude Code 已支持 WebSearch/ToolSearch。
好处:
- 大幅减少 token 占用(工具定义不再内嵌上下文)
- 模型表现更好(上下文更干净,注意力不被稀释)
- 对话轮次更多(同样的上下文窗口可以增加数轮对话)
当前 Claude Code 版本为 {claude --version 的输出}。**如果搜索失败或报错**:
❌ ToolSearch 不可用 可能原因: 1. 使用第三方中转地址,域名未通过白名单检查 2. Claude Code 版本不支持 解决方案: python tools/patch-toolsearch.py 或者 python3 tools/patch-toolsearch.py 脚本会自动检测安装位置并解除域名限制,执行后重启 claude 即可。
Ships withcc-use-exp
保留你熟悉的 CLI/IDE,让 Claude Code、Gemini CLI、Codex、Cursor、GitHub Copilot 开箱即用 按费力度从低到高,用最少操作获得最大帮助 不是提示词集合,而是一套可维护的 AI 协作配置系统。
Get the whole plugin
Stats
1,003
Stars
102
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
7mo ago
Created
Repo: doccker/cc-use-exp
Other commands on cc-use-exp.
- /cache-patch
**参数说明**:`$ARGUMENTS` 由 Claude Code 自动传递,对应用户输入的参数部分(如 `/cache-patch status` 中的 `status`)。
Open command - /commit-msg
分析未提交的代码变更,生成结构化的 commit message。
Open command - /design
技术设计(doc 文档框架 / checklist 质量检查)
Open command - /fix
问题修复(fix 快速修复 / debug 系统化调试)
Open command - /new-feature
新功能全流程(需求审问 → 设计 → 实现)
Open command - /optimize
系统优化扫描(full/ux/perf/code 四种模式)
Open command

