New to Claude Skills? Learn how to install them →

anthropics on GitHub

Search

OfficialFree

Efficiently find documents and discussions across connected sources.

Get this skill

Free · Opens the source repo

What Search does

The Search skill enables users to perform comprehensive searches across multiple connected sources with a single query. By understanding the user's intent, the skill can decompose the query into targeted sub-queries that are executed in parallel across various platforms such as chat, email, cloud storage, project trackers, and CRMs. This capability is particularly useful for professionals who need to quickly locate decisions, documents, or discussions that may be scattered across different tools.

When a user initiates a search, the skill first checks which sources are connected and available for querying. It then analyzes the search query to extract important elements such as intent, entities, time constraints, and filters. This structured approach ensures that the search is not only efficient but also relevant to the user's needs. The results are synthesized and presented in a clear format, allowing users to quickly grasp the information they are looking for without sifting through unrelated data.

This skill is designed for teams and individuals who frequently work with multiple information sources and need a streamlined way to access their collective knowledge. Whether you're a project manager looking for past decisions, a developer searching for documentation, or a team member trying to recall a specific conversation, the Search skill can significantly enhance your productivity by reducing the time spent on information retrieval.

However, users must ensure that at least one source is connected for the skill to function effectively. If no sources are available, the skill will prompt users to connect their tools before performing a search. This makes it essential for users to set up their environment properly to take full advantage of the Search skill's capabilities.

When to use it

Use this skill when you need to find specific documents, discussions, or decisions across various connected tools in a single search.

When not to use it

This skill is not suitable for situations where only one source is connected, as it relies on multiple sources for comprehensive results.

What you can build with it

Finding a Past Decision

Quickly locate a decision made in a previous meeting by searching across chat and email.

Retrieving Project Documents

Search for specific documents related to a project across cloud storage and project tracking tools.

Reviewing Team Discussions

Synthesize information from various sources to gather insights from past team discussions.

How to install Search

View source

1. Install with the skills CLI

npx skills add anthropics/knowledge-work-plugins/search --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by anthropics

Search Command

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Search across all connected MCP sources in a single query. Decompose the user's question, run parallel searches, and synthesize results.

Instructions

1. Check Available Sources

Before searching, determine which MCP sources are available. Attempt to identify connected tools from the available tool list. Common sources:

  • ~~chat — chat platform tools
  • ~~email — email tools
  • ~~cloud storage — cloud storage tools
  • ~~project tracker — project tracking tools
  • ~~CRM — CRM tools
  • ~~knowledge base — knowledge base tools

If no MCP sources are connected:

To search across your tools, you'll need to connect at least one source.
Check your MCP settings to add ~~chat, ~~email, ~~cloud storage, or other tools.

Supported sources: ~~chat, ~~email, ~~cloud storage, ~~project tracker, ~~CRM, ~~knowledge base,
and any other MCP-connected service.

2. Parse the User's Query

Analyze the search query to understand:

  • Intent: What is the user looking for? (a decision, a document, a person, a status update, a conversation)
  • Entities: People, projects, teams, tools mentioned
  • Time constraints: Recency signals ("this week", "last month", specific dates)
  • Source hints: References to specific tools ("in ~~chat", "that email", "the doc")
  • Filters: Extract explicit filters from the query:
    • from: — Filter by sender/author
    • in: — Filter by channel, folder, or location
    • after: — Only results after this date
    • before: — Only results before this date
    • type: — Filter by content type (message, email, doc, thread, file)

3. Decompose into Sub-Queries

For each available source, create a targeted sub-query using that source's native search syntax:

~~chat:

  • Use available search and read tools for your chat platform
  • Translate filters: from: maps to sender, in: maps to channel/room, dates map to time range filters
  • Use natural language queries for semantic search when appropriate
  • Use keyword queries for exact matches

~~email:

  • Use available email search tools
  • Translate filters: from: maps to sender, dates map to time range filters
  • Map type: to attachment filters or subject-line searches as appropriate

~~cloud storage:

  • Use available file search tools
  • Translate to file query syntax: name contains, full text contains, modified date, file type
  • Consider both file names and content

~~project tracker:

  • Use available task search or typeahead tools
  • Map to task text search, assignee filters, date filters, project filters

~~CRM:

  • Use available CRM query tools
  • Search across Account, Contact, Opportunity, and other relevant objects

~~knowledge base:

  • Use semantic search for conceptual questions
  • Use keyword search for exact matches

4. Execute Searches in Parallel

Run all sub-queries simultaneously across available sources. Do not wait for one source before searching another.

For each source:

  • Execute the translated query
  • Capture results with metadata (timestamps, authors, links, source type)
  • Note any sources that fail or return errors — do not let one failure block others

5. Rank and Deduplicate Results

Deduplication:

  • Identify the same information appearing across sources (e.g., a decision discussed in ~~chat AND confirmed via email)
  • Group related results together rather than showing duplicates
  • Prefer the most authoritative or complete version

Ranking factors:

  • Relevance: How well does the result match the query intent?
  • Freshness: More recent results rank higher for status/decision queries
  • Authority: Official docs > wiki > chat messages for factual questions; conversations > docs for "what did we discuss" queries
  • Completeness: Results with more context rank higher

6. Present Unified Results

Format the response as a synthesized answer, not a raw list of results:

For factual/decision queries:

[Direct answer to the question]

Sources:
- [Source 1: brief description] (~~chat, #channel, date)
- [Source 2: brief description] (~~email, from person, date)
- [Source 3: brief description] (~~cloud storage, doc name, last modified)

For exploratory queries ("what do we know about X"):

[Synthesized summary combining information from all sources]

Found across:
- ~~chat: X relevant messages in Y channels
- ~~email: X relevant threads
- ~~cloud storage: X related documents
- [Other sources as applicable]

Key sources:
- [Most important source with link/reference]
- [Second most important source]

For "find" queries (looking for a specific thing):

[The thing they're looking for, with direct reference]

Also found:
- [Related items from other sources]

7. Handle Edge Cases

Ambiguous queries: If the query could mean multiple things, ask one clarifying question before searching:

"API redesign" could refer to a few things. Are you looking for:
1. The REST API v2 redesign (Project Aurora)
2. The internal SDK API changes
3. Something else?

No results:

I couldn't find anything matching "[query]" across [list of sources searched].

Try:
- Broader terms (e.g., "database" instead of "PostgreSQL migration")
- Different time range (currently searching [time range])
- Checking if the relevant source is connected (currently searching: [sources])

Partial results (some sources failed):

[Results from successful sources]

Note: I couldn't reach [failed source(s)] during this search.
Results above are from [successful sources] only.

Notes

  • Always search multiple sources in parallel — never sequentially
  • Synthesize results into answers, do not just list raw search results
  • Include source attribution so users can dig deeper
  • Respect the user's filter syntax and apply it appropriately per source
  • When a query mentions a specific person, search for their messages/docs/mentions across all sources
  • For time-sensitive queries, prioritize recency in ranking
  • If only one source is connected, still provide useful results from that source

Frequently asked questions about Search

Similar skills