Skills anthropics knowledge-work-plugins Enterprise Search
search-strategy
- Use it when:
- You ask something whose answer is spread across your company's chat, email, documents, wiki and project tracker.
- It does:
- Classifies the question, such as a decision, status, document or person query, and writes keyword and semantic searches for each connected source.
- Ranks by:
- Keyword match, freshness, authority and completeness, weighted by query type, with wiki pages trusted over chat for policy questions.
- Falls back:
- Broadens terms and drops date filters when searches come back empty, and skips unavailable or rate-limited sources, noting the gap.
- Asks:
- One clarifying question, only when a query has genuinely different readings.
- Runs:
- On its own when needed; user-invocable: false hides it from the slash menu.
Skill 3 of 4 in the Enterprise Search bundle, after source-management and before knowledge-synthesis.
TL;DR
The query planning behind enterprise search, which turns one plain question into searches run in parallel across every connected source. It first classifies the question: a decision, a status check, a document, a person, a fact or policy, a date, or an open exploration, each favoring different sources. It extracts keywords, people and projects, time ranges, source hints and exclusions, writes several variants when a topic goes by different names, such as k8s for Kubernetes, and picks semantic search for conceptual questions and keyword search for exact terms and filters. It translates filters such as from:, in:, after: and type: into each tool's syntax, with examples for chat, wiki and project-tracker searches. Results are scored on keyword match, freshness, authority and completeness, with weights that change by query type, and merged into one answer. When a source is missing or returns nothing, it notes the gap and broadens the query step by step, dropping date filters first, and suggests changes if everything comes back empty.
Summarizes the skill at ab4cb1c.
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill search-strategy skills.sh pageSource on GitHubAll skills from anthropics/knowledge-work-plugins
- Total Downloads
- 5,400 on skills.sh, Nov 9, 2026
- Repo stars
- 35,234 anthropics/knowledge-work-plugins
- First seen
- Jan 31, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 71 |
| Sep 28 | 47 |
| Oct 5 | 37 |
| Oct 12 | 42 |
| Oct 19 | 48 |
| Oct 26 | 53 |
| Nov 2 | 49 |
| Nov 9 | 43 |
| Category |
Office files, notes and suites like Lark and Google Workspace. |
|---|---|
| Type |
A multi-step process the agent follows: interview, debug, run a TDD loop, review. |
| Effect |
Adds no side effects of its own. It shapes how the agent thinks, writes or reviews. Guidelines and routers are always effect:none, even when the task they support edits code. |
| Needs |
Needs an MCP server connected. |
| Publisher |
A verified publisher on skills.sh, or the company or maintainer behind the product the skill operates. |
| Topics |
SKILL.md
From anthropics/knowledge-work-plugins at ab4cb1c. Checked daily, last changed Nov 6, 2026.
Frontmatter
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: falseSearch 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 Type | Example | Strategy |
|---|---|---|
| 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:sarah |
from:sarah or from:<@USERID> |
in:engineering |
in:engineering |
after:2025-01-01 |
after:2025-01-01 |
before:2025-02-01 |
before:2025-02-01 |
type:thread |
is:thread |
type:file |
has: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:sarah |
assignee_any or created_by_any |
after:2025-01-01 |
modified_on_after: "2025-01-01" |
type:milestone |
resource_subtype: "milestone" |
Result Ranking
Relevance Scoring
Score each result on these factors (weighted by query type):
| Factor | Weight (Decision) | Weight (Status) | Weight (Document) | Weight (Factual) |
|---|---|---|---|---|
| Keyword match | 0.3 | 0.2 | 0.4 | 0.3 |
| Freshness | 0.3 | 0.4 | 0.2 | 0.1 |
| Authority | 0.2 | 0.1 | 0.3 | 0.4 |
| Completeness | 0.2 | 0.3 | 0.1 | 0.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:
- Source unavailable: Skip it, search remaining sources, note the gap
- No results from a source: Try broader query terms, remove date filters, try alternate keywords
- All sources return nothing: Suggest query modifications to the user
- 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:
- Date filters (search all time)
- Source/location filters
- Less important keywords
- 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]