Claude Code Plugins

Community-maintained marketplace

Feedback

search_guidelines

@Lin-A1/myagent
2
0

|

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name search_guidelines
description 搜索工具使用规范。指导何时应该搜索、何时不应该搜索。 适用于:决策是否需要调用搜索工具。 **这是一个参考文档,不是可执行工具。**
executable false
related_tools websearch_service, deepsearch_service

When NOT to Search 🚫

  • General Knowledge: History, geography, basic science, common facts.
  • Coding & Algorithms: Writing standard algorithms (sorting, DFS/BFS), boilerplate code, or using standard libraries (Python stdlib, React hooks). TRUST YOUR TRAINING.
  • Creative Writing: Poems, stories, essays, brainstorming.
  • Logical Reasoning: Math problems, riddles, analysis of provided text.
  • Internal Context: Information already provided in the prompt or conversation history.vice

搜索工具使用规范

✅ 应该搜索的场景

1. 实时信息

  • 今日新闻、最新动态
  • 股票价格、汇率
  • 天气预报
  • 体育赛事结果
  • 最新版本号、发布日期

2. 具体事实验证

  • 具体的数字、日期、统计数据
  • 公司信息(成立时间、创始人、融资)
  • 产品规格、价格
  • 官方文档链接

3. 不熟悉的概念

  • 专有名词、缩写
  • 新技术、新产品
  • 特定领域术语
  • 人物、公司背景

4. 用户明确要求

  • "帮我查一下..."
  • "搜索..."
  • "最新的..."
  • "现在的..."

❌ 不应该搜索的场景

1. 通用知识

  • 编程语言基础语法
  • 常见设计模式
  • 基本数学概念
  • 广为人知的历史事件

2. 概念解释

  • "什么是 REST API"
  • "解释一下 async/await"
  • "面向对象的特点"

3. 代码编写

  • 写一个排序算法
  • 实现某个功能
  • 修复代码 bug
  • 代码重构建议

4. 创意任务

  • 写文章、写故事
  • 取名字
  • 提供建议和方案

5. 已有信息

  • 上一轮搜索已返回的内容
  • 用户在对话中提供的信息

🔄 搜索决策流程

用户提问
    │
    ▼
┌─────────────────────┐
│ 这是实时信息需求吗? │──── 是 ────→ 搜索
└─────────────────────┘
    │ 否
    ▼
┌─────────────────────┐
│ 涉及具体事实/数据?  │──── 是 ────→ 搜索
└─────────────────────┘
    │ 否
    ▼
┌─────────────────────┐
│ 是不熟悉的专有名词? │──── 是 ────→ 搜索
└─────────────────────┘
    │ 否
    ▼
┌─────────────────────┐
│ 用户明确要求搜索?   │──── 是 ────→ 搜索
└─────────────────────┘
    │ 否
    ▼
  直接回答(不搜索)

📝 搜索关键词技巧

好的关键词

  • 简短精准:3-8 个字
  • 包含核心概念
  • 避免语气词、助词

示例对比

❌ 差的关键词 ✅ 好的关键词
"请问一下现在苹果公司的股票价格是多少" "苹果 股价"
"我想知道 Python 3.12 有什么新特性" "Python 3.12 新特性"
"能不能帮我查一下北京今天的天气怎么样" "北京 天气"

⚠️ 搜索注意事项

  1. 避免重复搜索:如果上一轮已搜索过相同内容,直接使用结果
  2. 并行搜索:对比类问题可同时搜索多个关键词
  3. 切换工具:简单查询用 websearch,复杂研究用 deepsearch
  4. 结果验证:搜索结果需要判断可信度,优先使用权威来源