Skip to content
Development
Command

/check-toolsearch

检查 ToolSearch(WebSearch)是否可用

From plugin
cc-use-exp
1.1k18 skills18 commands
> /plugin marketplace add doccker/cc-use-exp
> /plugin install cc-use-exp@cc-use-exp

Command definition

check-toolsearch.md
description: 检查 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 即可。
@doccker
Ships withcc-use-exp

保留你熟悉的 CLI/IDE,让 Claude Code、Gemini CLI、Codex、Cursor、GitHub Copilot 开箱即用 按费力度从低到高,用最少操作获得最大帮助 不是提示词集合,而是一套可维护的 AI 协作配置系统。

Stars on GitHub

Momentum

stars in total
1.1k
Star history of doccker/cc-use-exp on GitHub, a chart by star-history.com

Other commands on cc-use-exp.

cache-patch

cache-patch

Command

**参数说明**:`$ARGUMENTS` 由 Claude Code 自动传递,对应用户输入的参数部分(如 `/cache-patch status` 中的 `status`)。

@doccker@docckerInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command