PluginBench
Skill
Official
Review
Audit score 70

search-strategy

anthropics/knowledge-work-plugins

Decompose questions into parallel source-specific searches and rank results by relevance.

What is search-strategy?

Search Strategy breaks natural language questions into targeted searches across multiple enterprise sources (chat, knowledge base, project tracker, etc.), translates queries into source-specific syntax, and ranks deduplicated results by relevance. Use it when you need to find information scattered across multiple systems and synthesize a coherent answer.

  • Classifies query type (decision, status, document, person, factual, temporal, exploratory) to determine search strategy
  • Extracts search components (keywords, entities, intent signals, constraints, negations) from natural language questions
  • Generates source-specific query variants with appropriate syntax for chat, wiki, project tracker, and other sources
  • Executes searches in parallel across all connected sources for fast results
  • Ranks results using weighted relevance scoring that varies by query type (keyword match, freshness, authority, completeness)
  • Handles ambiguity by asking focused clarifying questions only when genuinely distinct interpretations exist

How to install search-strategy

npx skills add https://github.com/anthropics/knowledge-work-plugins --skill search-strategy
Prerequisites
  • Connected sources (chat, knowledge base, project tracker, or other enterprise tools) configured via CONNECTORS.md
  • Access credentials and permissions for each source being searched
Claude Code
Cursor
Windsurf
Cline

How to use search-strategy

  1. 1.Provide a natural language question to the search strategy
  2. 2.The system classifies the query type and extracts search components (keywords, entities, intent signals, constraints)
  3. 3.Source-specific queries are generated using appropriate syntax for each connected source (semantic vs. keyword search)
  4. 4.Searches execute in parallel across all available sources
  5. 5.Results are ranked using relevance scores weighted by query type and authority hierarchy
  6. 6.Ambiguous queries trigger focused clarification questions before returning results
  7. 7.If sources are unavailable or return no results, fallback strategies broaden the query or note gaps
  8. 8.Synthesized results are returned ranked by relevance

Use cases

Good for
  • Finding decisions scattered across chat threads and meeting notes by decomposing 'What did we decide about X?' into semantic and keyword searches
  • Tracking project status by prioritizing recent activity in task trackers and chat while filtering by date and assignee
  • Locating specifications and policies by searching wikis and shared documents with authority-weighted ranking
  • Discovering who is working on a topic by searching task assignments and message authors across sources
  • Exploring what the organization knows about a topic by executing broad searches across all sources and synthesizing results
Who it's for
  • Enterprise knowledge workers searching across multiple disconnected systems
  • Teams needing to synthesize information from chat, wikis, task trackers, and document storage
  • Agents and assistants that need to answer questions requiring multi-source research
  • Organizations with complex information architecture where the same topic may be referenced differently across sources

search-strategy FAQ

When should I use semantic search vs. keyword search?

Use semantic search for conceptual questions where exact keywords are unknown ('What do we think about...') and exploratory queries. Use keyword search for known terms, project names, acronyms, exact phrases, and filter-heavy queries.

How does the system handle ambiguous queries?

It asks one focused clarifying question only when there are genuinely distinct interpretations that would produce very different results. It avoids asking for clarification when the query is clear enough to produce useful results or minor ambiguity can be resolved by returning results from multiple interpretations.

What happens when a source is unavailable or returns no results?

If a source is unavailable, it is skipped and remaining sources are searched. If a source returns no results, the system tries broader query terms, removes date filters, and tries alternate keywords. If all sources return nothing, it suggests query modifications to the user.

How are results ranked when they come from different sources?

Results are scored on keyword match, freshness, authority, and completeness with weights that vary by query type. Authority hierarchy depends on query type: for factual questions, official docs rank highest; for decisions, meeting notes rank highest; for status, task trackers rank highest.

Are searches executed sequentially or in parallel?

Searches execute in parallel across all sources. Total search time equals roughly the slowest single source, not the sum of all sources.

Full instructions (SKILL.md)

Source of truth, from anthropics/knowledge-work-plugins.


name: search-strategy description: Query decomposition and multi-source search orchestration. Breaks natural language questions into targeted searches per source, translates queries into source-specific syntax, ranks results by relevance, and handles ambiguity and fallback strategies. user-invocable: false

Search Strategy

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

The core intelligence behind enterprise search. Transforms a single natural language question into parallel, source-specific searches and produces ranked, deduplicated results.

The Goal

Turn this:

"What did we decide about the API migration timeline?"

Into targeted searches across every connected source:

~~chat:  "API migration timeline decision" (semantic) + "API migration" in:#engineering after:2025-01-01
~~knowledge base: semantic search "API migration timeline decision"
~~project tracker:  text search "API migration" in relevant workspace

Then synthesize the results into a single coherent answer.

Query Decomposition

Step 1: Identify Query Type

Classify the user's question to determine search strategy:

Query TypeExampleStrategy
Decision"What did we decide about X?"Prioritize conversations (~~chat, email), look for conclusion signals
Status"What's the status of Project Y?"Prioritize recent activity, task trackers, status updates
Document"Where's the spec for Z?"Prioritize Drive, wiki, shared docs
Person"Who's working on X?"Search task assignments, message authors, doc collaborators
Factual"What's our policy on X?"Prioritize wiki, official docs, then confirmatory conversations
Temporal"When did X happen?"Search with broad date range, look for timestamps
Exploratory"What do we know about X?"Broad search across all sources, synthesize

Step 2: Extract Search Components

From the query, extract:

  • Keywords: Core terms that must appear in results
  • Entities: People, projects, teams, tools (use memory system if available)
  • Intent signals: Decision words, status words, temporal markers
  • Constraints: Time ranges, source hints, author filters
  • Negations: Things to exclude

Step 3: Generate Sub-Queries Per Source

For each available source, create one or more targeted queries:

Prefer semantic search for:

  • Conceptual questions ("What do we think about...")
  • Questions where exact keywords are unknown
  • Exploratory queries

Prefer keyword search for:

  • Known terms, project names, acronyms
  • Exact phrases the user quoted
  • Filter-heavy queries (from:, in:, after:)

Generate multiple query variants when the topic might be referred to differently:

User: "Kubernetes setup"
Queries: "Kubernetes", "k8s", "cluster", "container orchestration"

Source-Specific Query Translation

~~chat

Semantic search (natural language questions):

query: "What is the status of project aurora?"

Keyword search:

query: "project aurora status update"
query: "aurora in:#engineering after:2025-01-15"
query: "from:<@UserID> aurora"

Filter mapping:

Enterprise filter~~chat syntax
from:sarahfrom:sarah or from:<@USERID>
in:engineeringin:engineering
after:2025-01-01after:2025-01-01
before:2025-02-01before:2025-02-01
type:threadis:thread
type:filehas:file

~~knowledge base (Wiki)

Semantic search — Use for conceptual queries:

descriptive_query: "API migration timeline and decision rationale"

Keyword search — Use for exact terms:

query: "API migration"
query: "\"API migration timeline\""  (exact phrase)

~~project tracker

Task search:

text: "API migration"
workspace: [workspace_id]
completed: false  (for status queries)
assignee_any: "me"  (for "my tasks" queries)

Filter mapping:

Enterprise filter~~project tracker parameter
from:sarahassignee_any or created_by_any
after:2025-01-01modified_on_after: "2025-01-01"
type:milestoneresource_subtype: "milestone"

Result Ranking

Relevance Scoring

Score each result on these factors (weighted by query type):

FactorWeight (Decision)Weight (Status)Weight (Document)Weight (Factual)
Keyword match0.30.20.40.3
Freshness0.30.40.20.1
Authority0.20.10.30.4
Completeness0.20.30.10.2

Authority Hierarchy

Depends on query type:

For factual/policy questions:

Wiki/Official docs > Shared documents > Email announcements > Chat messages

For "what happened" / decision questions:

Meeting notes > Thread conclusions > Email confirmations > Chat messages

For status questions:

Task tracker > Recent chat > Status docs > Email updates

Handling Ambiguity

When a query is ambiguous, prefer asking one focused clarifying question over guessing:

Ambiguous: "search for the migration"
→ "I found references to a few migrations. Are you looking for:
   1. The database migration (Project Phoenix)
   2. The cloud migration (AWS → GCP)
   3. The email migration (Exchange → O365)"

Only ask for clarification when:

  • There are genuinely distinct interpretations that would produce very different results
  • The ambiguity would significantly affect which sources to search

Do NOT ask for clarification when:

  • The query is clear enough to produce useful results
  • Minor ambiguity can be resolved by returning results from multiple interpretations

Fallback Strategies

When a source is unavailable or returns no results:

  1. Source unavailable: Skip it, search remaining sources, note the gap
  2. No results from a source: Try broader query terms, remove date filters, try alternate keywords
  3. All sources return nothing: Suggest query modifications to the user
  4. Rate limited: Note the limitation, return results from other sources, suggest retrying later

Query Broadening

If initial queries return too few results:

Original: "PostgreSQL migration Q2 timeline decision"
Broader:  "PostgreSQL migration"
Broader:  "database migration"
Broadest: "migration"

Remove constraints in this order:

  1. Date filters (search all time)
  2. Source/location filters
  3. Less important keywords
  4. Keep only core entity/topic terms

Parallel Execution

Always execute searches across sources in parallel, never sequentially. The total search time should be roughly equal to the slowest single source, not the sum of all sources.

[User query]
     ↓ decompose
[~~chat query] [~~email query] [~~cloud storage query] [Wiki query] [~~project tracker query]
     ↓            ↓            ↓              ↓            ↓
  (parallel execution)
     ↓
[Merge + Rank + Deduplicate]
     ↓
[Synthesized answer]